PropertiesComparisonRule constructor
Creates a new validation rule and sets its arguments.
property1
a name of the first property to compare.operation
a comparison operation: '==' ('=', 'EQ'), '!= ' ('<>', 'NE'); '<'/'>' ('LT'/'GT'), '<='/'>=' ('LE'/'GE'); 'LIKE'.property2
a name of the second property to compare.
Implementation
PropertiesComparisonRule(String property1, String operation, String property2)
: _property1 = property1,
_property2 = property2,
_operation = operation;