|
|||||||||
| 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.BasicFieldValueInConstraint
Basic implementation.
| Constructor Summary | |
BasicFieldValueInConstraint(StepField field)
Constructor. |
|
| Method Summary | |
BasicFieldValueInConstraint |
addValue(java.lang.Object value)
Adds value. |
boolean |
equals(java.lang.Object obj)
Compares this constraint to the specified object. |
java.util.SortedSet |
getValues()
Gets the list of values that is specified for this constraint, the values being represented by strings. |
int |
hashCode()
|
java.lang.String |
toString()
Returns a string representation of this FieldValueInConstraint. |
| 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 BasicFieldValueInConstraint(StepField field)
field - The associated field.| Method Detail |
public BasicFieldValueInConstraint addValue(java.lang.Object value)
value - The value.
BasicFieldValueInConstraint instance.
java.lang.IllegalArgumentException - when an invalid argument is supplied.FieldValueInConstraint.getValues()public java.util.SortedSet getValues()
FieldValueInConstraintNumerical values are represented by strings using the standard floating point format. Integral numerical values, however, are represented by strings using the standard integer format, i.e. without the decimal point (e.g. "123" instead of "123.0").
getValues in interface FieldValueInConstraintpublic 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()
FieldValueInConstraintisInverse()
FieldConstraint#getField().getAlias()
isCaseSensitive()
getValues()
toString in interface FieldValueInConstraint
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||