Class WhereClauseCondition
- java.lang.Object
-
- de.hybris.platform.integrationservices.search.WhereClauseCondition
-
public class WhereClauseCondition extends java.lang.ObjectRepresents a where clause condition (e.g. code = 'abc'). It doesn't include the keyword 'WHERE' in the condition. The WhereClauseCondition can also store the conjunctive operator (AND, OR, etc.) to the next WhereClauseCondition.
-
-
Constructor Summary
Constructors Constructor Description WhereClauseCondition(java.lang.String condition)Stores the where clause condition without the conjunctive operator (AND, OR, etc) to the next WhereClauseConditionWhereClauseCondition(java.lang.String condition, ConjunctiveOperator operator)Stores the where clause condition with the conjunctive operator (AND, OR, etc) to the next WhereClauseCondition
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)java.lang.StringgetCondition()ConjunctiveOperatorgetConjunctiveOperator()java.lang.StringgetConjunctiveOperatorString()inthashCode()java.lang.StringtoString()WhereClauseConditionstoWhereClauseConditions()
-
-
-
Constructor Detail
-
WhereClauseCondition
public WhereClauseCondition(java.lang.String condition)
Stores the where clause condition without the conjunctive operator (AND, OR, etc) to the next WhereClauseCondition- Parameters:
condition- Where clause condition (e.g. code = 'abc')
-
WhereClauseCondition
public WhereClauseCondition(java.lang.String condition, ConjunctiveOperator operator)Stores the where clause condition with the conjunctive operator (AND, OR, etc) to the next WhereClauseCondition- Parameters:
condition- Where clause condition
-
-
Method Detail
-
getCondition
public java.lang.String getCondition()
-
getConjunctiveOperator
public ConjunctiveOperator getConjunctiveOperator()
-
getConjunctiveOperatorString
public java.lang.String getConjunctiveOperatorString()
-
toWhereClauseConditions
public WhereClauseConditions toWhereClauseConditions()
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-