public class BasicCompareFieldsConstraint extends BasicFieldCompareConstraint implements CompareFieldsConstraint, Serializable
modifiableEQUAL, GREATER, GREATER_EQUAL, LESS, LESS_EQUAL, LIKE, NOT_EQUAL, OPERATOR_DESCRIPTIONS, REGEXP| Constructor and Description |
|---|
BasicCompareFieldsConstraint(StepField field1,
StepField field2)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj)
Compares this constraint to the specified object.
|
StepField |
getField2()
Gets the second associated field.
|
int |
hashCode() |
String |
toString()
Returns a string representation of this CompareFieldsConstraint.
|
getOperator, getOperatorDescription, setOperatorgetField, getFieldName, isCaseSensitive, matches, setCaseSensitivegetBasicSupportLevel, isInverse, setInverse, setUnmodifiableclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetOperatorgetField, isCaseSensitive, matchesgetBasicSupportLevel, isInverse, setUnmodifiablepublic BasicCompareFieldsConstraint(StepField field1, StepField field2)
field1 - The associated field.field2 - The second associated field.IllegalArgumentException - when an invalid argument is supplied.public StepField getField2()
CompareFieldsConstraintgetField2 in interface CompareFieldsConstraintpublic boolean equals(Object obj)
Constrainttrue if and only if the argument is a non-null
Constraint object representing the same constraint(s).equals in interface Constraintequals in class BasicFieldCompareConstraintobj - The object to compare with.true if the objects are equal,
false otherwise.public int hashCode()
hashCode in interface ConstrainthashCode in class BasicFieldCompareConstraintpublic String toString()
CompareFieldsConstraintisInverse()
FieldConstraint#getField().getAlias()
isCaseSensitive()
getOperator()
#getField2().getAlias()
toString in interface CompareFieldsConstrainttoString in class BasicFieldCompareConstraintMMBase 1.9-SNAPSHOT - ${javadoctimestamp}