Class WhereClauseConditions
java.lang.Object
de.hybris.platform.integrationservices.search.WhereClauseConditions
Stores a list of
WhereClauseConditions in the same order as the original list-
Constructor Summary
ConstructorsConstructorDescriptionWhereClauseConditions(WhereClauseCondition... conditions) Creates a WhereClauseConditions with an array ofWhereClauseConditions.WhereClauseConditions(List<WhereClauseCondition> conditions) Creates a WhereClauseConditions with a collection ofWhereClauseConditions. -
Method Summary
Modifier and TypeMethodDescriptionbooleanGets a copy of the list ofWhereClauseConditioninthashCode()join(WhereClauseConditions otherWhereClauseConditions, ConjunctiveOperator operator) Joins theWhereClauseConditions from this WhereClauseConditions with those of the other WhereClauseConditions.toString()
-
Constructor Details
-
WhereClauseConditions
Creates a WhereClauseConditions with an array ofWhereClauseConditions. NullWhereClauseConditions are not included . Ifconditionsis null, an empty WhereClauseConditions is created.- Parameters:
conditions- Conditions to add to the WhereClauseConditions
-
WhereClauseConditions
Creates a WhereClauseConditions with a collection ofWhereClauseConditions. NullWhereClauseConditions are not included. Ifconditionsis null, an empty WhereClauseConditions is created.- Parameters:
conditions- Conditions to add to the WhereClauseConditions
-
-
Method Details
-
getConditions
Gets a copy of the list ofWhereClauseCondition- Returns:
- List of conditions
-
join
public WhereClauseConditions join(WhereClauseConditions otherWhereClauseConditions, ConjunctiveOperator operator) Joins theWhereClauseConditions from this WhereClauseConditions with those of the other WhereClauseConditions. The conjunctive operator connects the last WhereClauseCondition from this WhereClauseConditions with the first WhereClauseCondition from the other WhereClauseConditions. This operation does not change the original WhereClauseCondition list of this WhereClauseConditions.- Parameters:
otherWhereClauseConditions- The other WhereClauseConditions to join withoperator- The operator that connects the two WhereClauseConditions- Returns:
- The two WhereClauseConditions joined. If the
otherWhereClauseConditionsis null oroperatoris null/empty, this WhereClauseConditions is returned.
-
equals
-
hashCode
public int hashCode() -
toString
-