public class BasicFieldValueBetweenConstraint extends BasicFieldConstraint implements FieldValueBetweenConstraint, Serializable
modifiable| Constructor and Description |
|---|
BasicFieldValueBetweenConstraint(StepField field,
Object lowerLimit,
Object upperLimit)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj)
Compares this constraint to the specified object.
|
Object |
getLowerLimit()
Gets the value of the lower limit of the range specified for this
constraint.
|
Object |
getUpperLimit()
Gets the value of the upper limit of the range specified for this
constraint.
|
int |
hashCode() |
BasicFieldValueBetweenConstraint |
setLowerLimit(Object lowerLimit)
Sets the lower limit property.
|
BasicFieldValueBetweenConstraint |
setUpperLimit(Object upperLimit)
Sets the upper limit property.
|
String |
toString()
Returns a string representation of this FieldValueBetweenConstraint.
|
getField, getFieldName, isCaseSensitive, matches, setCaseSensitivegetBasicSupportLevel, isInverse, setInverse, setUnmodifiableclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetField, isCaseSensitive, matchesgetBasicSupportLevel, isInverse, setUnmodifiablepublic BasicFieldValueBetweenConstraint(StepField field, Object lowerLimit, Object upperLimit)
Depending on the field type, the limit values must be of type
String or Number.
field - The associated field.lowerLimit - The lower limit.upperLimit - The upper limit.IllegalArgumentException - when an invalid argument is supplied.public BasicFieldValueBetweenConstraint setLowerLimit(Object lowerLimit)
Depending on the field type, the value must be of type
String or Number.
lowerLimit - The non-null lower limit property value.BasicFieldValueBetweenConstraint instance.IllegalArgumentException - when an invalid argument is supplied.public BasicFieldValueBetweenConstraint setUpperLimit(Object upperLimit)
Depending on the field type, the value must be of type
String or Number.
upperLimit - The non-null upper limit property value.BasicFieldValueBetweenConstraint instance.IllegalArgumentException - when an invalid argument is supplied.public Object getLowerLimit()
FieldValueBetweenConstraintgetLowerLimit in interface FieldValueBetweenConstraintpublic Object getUpperLimit()
FieldValueBetweenConstraintgetUpperLimit in interface FieldValueBetweenConstraintpublic 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()
FieldValueBetweenConstraintisInverse()
FieldConstraint#getField().getAlias()
isCaseSensitive()
getValues()
getValues()
toString in interface FieldValueBetweenConstrainttoString in class BasicFieldConstraintMMBase 1.9-SNAPSHOT - ${javadoctimestamp}