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.Equals
as the operatorId andBoolean.TRUE
as value.SimpleCriterion
(String fieldName, OperatorBase operatorId, Object value) Constructor by parameters:SimpleCriterion
(String fieldName, Object value) CallsSimpleCriterion(String, OperatorBase, Object)
constructor, passingDefaultOperators.Equals
as 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.Equals
as the operatorId andBoolean.TRUE
as value.- Parameters:
fieldName
- - name of field to check
-
SimpleCriterion
CallsSimpleCriterion(String, OperatorBase, Object)
constructor, passingDefaultOperators.Equals
as 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 theDefaultOperators
class, such as IContains or GreaterThanvalue
- - value that will be used in checking
-