Class SetCriterion
java.lang.Object
com.isomorphic.criteria.criterion.SetCriterion
- All Implemented Interfaces:
Criterion
Criterion for checking that field value matches to predefined set of values.
-
Constructor Summary
ConstructorsConstructorDescriptionSetCriterion(String fieldName, OperatorBase operatorId, Object[] values) Construct SetCriterion using parameters:SetCriterion(String fieldName, OperatorBase operatorId, Collection values) Construct SetCriterion using parameters:SetCriterion(String fieldName, String operatorId, Object[] values) Construct SetCriterion using parameters:SetCriterion(String fieldName, String operatorId, Collection values) Construct SetCriterion using parameters: -
Method Summary
Modifier and TypeMethodDescriptionGets collection of values.voidSets array of values to match.voidsetValues(Collection values) Sets collection of values to match.
-
Constructor Details
-
SetCriterion
Construct SetCriterion using parameters:- Parameters:
fieldName- field name.operatorId- operator id.values- collection of values to match.
-
SetCriterion
Construct SetCriterion using parameters:- Parameters:
fieldName- field name.operatorId- operator id.values- array of values to match.
-
SetCriterion
Construct SetCriterion using parameters:- Parameters:
fieldName- field name.operatorId- operator that determines checking logic. This is likely to be a member of theDefaultOperatorsclass, such as IContains or GreaterThan.values- collection of values to match.
-
SetCriterion
Construct SetCriterion using parameters:- Parameters:
fieldName- field name.operatorId- operator that determines checking logic. This is likely to be a member of theDefaultOperatorsclass, such as IContains or GreaterThan.values- array of values to match.
-
-
Method Details
-
setValues
Sets collection of values to match.- Parameters:
values- collection of values.
-
setValues
Sets array of values to match.- Parameters:
values- array of values.
-
getValues
Gets collection of values.- Returns:
- collection of values.
-