Class SimpleCriterion
java.lang.Object
com.isomorphic.criteria.criterion.SimpleCriterion
- All Implemented Interfaces:
Criterion
Simple Criterion represented by key-value pairs with matching logic determined by operator.
-
Constructor Summary
ConstructorsConstructorDescriptionSimpleCriterion(String fieldName) CallsSimpleCriterion(String, OperatorBase, Object)constructor, passingDefaultOperators.Equalsas the operatorId andBoolean.TRUEas value.SimpleCriterion(String fieldName, OperatorBase operatorId, Object value) Constructor by parameters:SimpleCriterion(String fieldName, Object value) CallsSimpleCriterion(String, OperatorBase, Object)constructor, passingDefaultOperators.Equalsas the operatorId.SimpleCriterion(String fieldName, String operatorId, Object value) Constructor by parameters:
-
Constructor Details
-
SimpleCriterion
Constructor by parameters:- Parameters:
fieldName- - name of field to checkoperatorId- - operator that determines checking logicvalue- - value that will be used in checking
-
SimpleCriterion
CallsSimpleCriterion(String, OperatorBase, Object)constructor, passingDefaultOperators.Equalsas the operatorId andBoolean.TRUEas value.- Parameters:
fieldName- - name of field to check
-
SimpleCriterion
CallsSimpleCriterion(String, OperatorBase, Object)constructor, passingDefaultOperators.Equalsas the operatorId.- Parameters:
fieldName- - name of field to checkvalue- - value that will be used in checking
-
SimpleCriterion
Constructor by parameters:- Parameters:
fieldName- - name of field to checkoperatorId- - operator that determines checking logic. This is likely to be a member of theDefaultOperatorsclass, such as IContains or GreaterThanvalue- - value that will be used in checking
-