|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.mmbase.storage.search.implementation.BasicConstraint
org.mmbase.storage.search.implementation.BasicFieldConstraint
org.mmbase.storage.search.implementation.BasicFieldValueBetweenConstraint
Basic implementation.
| Constructor Summary | |
BasicFieldValueBetweenConstraint(StepField field,
java.lang.Object lowerLimit,
java.lang.Object upperLimit)
Constructor. |
|
| Method Summary | |
boolean |
equals(java.lang.Object obj)
Compares this constraint to the specified object. |
java.lang.String |
getLowerLimit()
Gets the value of the lower limit of the range specified for this constraint, represented by a string. |
java.lang.String |
getUpperLimit()
Gets the value of the upper limit of the range specified for this constraint, represented by a string. |
int |
hashCode()
|
BasicFieldValueBetweenConstraint |
setLowerLimit(java.lang.Object lowerLimit)
Sets the lower limit property. |
BasicFieldValueBetweenConstraint |
setUpperLimit(java.lang.Object upperLimit)
Sets the upper limit property. |
java.lang.String |
toString()
Returns a string representation of this FieldValueBetweenConstraint. |
| Methods inherited from class org.mmbase.storage.search.implementation.BasicFieldConstraint |
getField, isCaseSensitive, setCaseSensitive |
| Methods inherited from class org.mmbase.storage.search.implementation.BasicConstraint |
getBasicSupportLevel, isInverse, setInverse |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.mmbase.storage.search.FieldConstraint |
getField, isCaseSensitive |
| Methods inherited from interface org.mmbase.storage.search.Constraint |
getBasicSupportLevel, isInverse |
| Constructor Detail |
public BasicFieldValueBetweenConstraint(StepField field,
java.lang.Object lowerLimit,
java.lang.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.
java.lang.IllegalArgumentException - when an invalid argument is supplied.| Method Detail |
public BasicFieldValueBetweenConstraint setLowerLimit(java.lang.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.
java.lang.IllegalArgumentException - when an invalid argument is supplied.public BasicFieldValueBetweenConstraint setUpperLimit(java.lang.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.
java.lang.IllegalArgumentException - when an invalid argument is supplied.public java.lang.String getLowerLimit()
FieldValueBetweenConstraintA numerical value is represented by a string using the standard floating point format. An integral numerical value, however, is represented by a string using the standard integer format, i.e. without the decimal point (e.g. "123" instead of "123.0").
getLowerLimit in interface FieldValueBetweenConstraintpublic java.lang.String getUpperLimit()
FieldValueBetweenConstraintA numerical value is represented by a string using the standard floating point format. An integral numerical value, however, is represented by a string using the standard integer format, i.e. without the decimal point (e.g. "123" instead of "123.0").
getUpperLimit in interface FieldValueBetweenConstraintpublic boolean equals(java.lang.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 BasicFieldConstraintpublic int hashCode()
hashCode in interface ConstrainthashCode in class BasicFieldConstraintpublic java.lang.String toString()
FieldValueBetweenConstraintisInverse()
FieldConstraint#getField().getAlias()
isCaseSensitive()
getValues()
getValues()
toString in interface FieldValueBetweenConstraint
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||