Class OtherFieldCriterion
java.lang.Object
com.isomorphic.criteria.criterion.OtherFieldCriterion
- All Implemented Interfaces:
Criterion
Criterion for checking field value against other field value.
-
Constructor Summary
ConstructorsConstructorDescriptionOtherFieldCriterion(String fieldName, OperatorBase operatorId, String otherFieldName) Constructor by parameters:OtherFieldCriterion(String fieldName, String otherFieldName) CallsOtherFieldCriterion(String, OperatorBase, String)constructor, passingDefaultOperators.EqualsFieldas operatorId.OtherFieldCriterion(String fieldName, String operatorId, String otherFieldName) Constructor by parameters: -
Method Summary
Modifier and TypeMethodDescriptionGets other field name.voidsetOtherFieldName(String otherFieldName) Sets other field name.
-
Constructor Details
-
OtherFieldCriterion
Constructor by parameters:- Parameters:
fieldName- - name of field to checkoperatorId- - operator that determines checking logicotherFieldName- - name of field that will be used for checking
-
OtherFieldCriterion
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 IContainsField or GreaterThanField.otherFieldName- - name of field that will be used for checking
-
OtherFieldCriterion
CallsOtherFieldCriterion(String, OperatorBase, String)constructor, passingDefaultOperators.EqualsFieldas operatorId.- Parameters:
fieldName- - name of field to checkotherFieldName- - name of field that will be used for checking
-
-
Method Details
-
setOtherFieldName
Sets other field name.- Parameters:
otherFieldName- other field name.
-
getOtherFieldName
Gets other field name.- Returns:
- other field name.
-