|
|||||||||
| 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.BasicLegacyConstraint
Basic implementation.
This constraint type is provided for the sole purpose of aligning existing legacy code with the new search query framework, and will eventually be phased out.
| Constructor Summary | |
BasicLegacyConstraint(java.lang.String constraint)
Constructor. |
|
| Method Summary | |
boolean |
equals(java.lang.Object obj)
Compares this constraint to the specified object. |
java.lang.String |
getConstraint()
Gets the constraint. |
int |
hashCode()
|
BasicLegacyConstraint |
setConstraint(java.lang.String constraint)
Sets the constraint. |
java.lang.String |
toString()
Returns a string representation of this LegacyConstraint. |
| 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.Constraint |
getBasicSupportLevel, isInverse |
| Constructor Detail |
public BasicLegacyConstraint(java.lang.String constraint)
constraint - The non-null constraint as it appears in
the where-clause.
java.lang.IllegalArgumentException - When an invalid argument is supplied.| Method Detail |
public BasicLegacyConstraint setConstraint(java.lang.String constraint)
constraint - The non-null constraint as it appears in
the where-clause (may also not be empty string)
BasicLegacyConstraint instance.
java.lang.IllegalArgumentException - When an invalid argument is supplied.public java.lang.String getConstraint()
LegacyConstraint
getConstraint in interface LegacyConstraintpublic 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 BasicConstraintpublic int hashCode()
hashCode in interface ConstrainthashCode in class BasicConstraintpublic java.lang.String toString()
LegacyConstraintisInverse()
getConstraint()
toString in interface LegacyConstraint
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||