|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
A constraint combining several child constraints, using either logical AND or OR.
This corresponds to a AND- or OR-expression in SQL SELECT-syntax.
| Field Summary | |
static int |
LOGICAL_AND
|
static int |
LOGICAL_OR
|
| Method Summary | |
boolean |
equals(java.lang.Object obj)
Compares this constraint to the specified object. |
java.util.List |
getChilds()
Gets the child constraints. |
int |
getLogicalOperator()
Gets the logical operator used to combine the child constraints. |
int |
hashCode()
|
java.lang.String |
toString()
Returns a string representation of this CompositeConstraint. |
| Methods inherited from interface org.mmbase.storage.search.Constraint |
getBasicSupportLevel, isInverse |
| Field Detail |
public static final int LOGICAL_AND
public static final int LOGICAL_OR
| Method Detail |
public java.util.List getChilds()
public int getLogicalOperator()
public boolean equals(java.lang.Object obj)
true if and only if the argument is a non-null
CompositeConstraint object representing the same constraint(s).
equals in interface Constraintobj - The object to compare with.
true if the objects are equal,
false otherwise.public int hashCode()
hashCode in interface Constraintpublic java.lang.String toString()
isInverse()
getLogicalOperator()
getChilds()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||