public class BasicFieldValueInConstraint extends BasicFieldConstraint implements FieldValueInConstraint, Serializable
modifiable| Constructor and Description |
|---|
BasicFieldValueInConstraint(StepField field)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
BasicFieldValueInConstraint |
addValue(Object value)
Adds value.
|
boolean |
equals(Object obj)
Compares this constraint to the specified object.
|
SortedSet<Object> |
getValues()
Gets the list of values that is specified for this constraint.
|
int |
hashCode() |
String |
toString()
Returns a string representation of this FieldValueInConstraint.
|
getField, getFieldName, isCaseSensitive, matches, setCaseSensitivegetBasicSupportLevel, isInverse, setInverse, setUnmodifiableclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetField, isCaseSensitive, matchesgetBasicSupportLevel, isInverse, setUnmodifiablepublic BasicFieldValueInConstraint(StepField field)
field - The associated field.public BasicFieldValueInConstraint addValue(Object value)
value - The value.BasicFieldValueInConstraint instance.IllegalArgumentException - when an invalid argument is supplied.FieldValueInConstraint.getValues()public SortedSet<Object> getValues()
FieldValueInConstraintgetValues in interface FieldValueInConstraintpublic 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 BasicFieldConstraintobj - The object to compare with.true if the objects are equal,
false otherwise.public int hashCode()
hashCode in interface ConstrainthashCode in class BasicFieldConstraintpublic String toString()
FieldValueInConstraintisInverse()
FieldConstraint#getField().getAlias()
isCaseSensitive()
getValues()
toString in interface FieldValueInConstrainttoString in class BasicFieldConstraintMMBase 1.9-SNAPSHOT - ${javadoctimestamp}