|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||

public interface CompositeConstraint
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
Logical operator 'and' |
static String[] |
LOGICAL_OPERATOR_DESCRIPTIONS
Operator descriptions corresponding to the operator values: LOGICAL_AND, and LOGICAL_OR |
static int |
LOGICAL_OR
Logical operator 'or' |
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
Compares this constraint to the specified object. |
List<Constraint> |
getChilds()
Gets the child constraints. |
int |
getLogicalOperator()
Gets the logical operator used to combine the child constraints. |
int |
hashCode()
|
String |
toString()
Returns a string representation of this CompositeConstraint. |
| Methods inherited from interface org.mmbase.storage.search.Constraint |
|---|
getBasicSupportLevel, isInverse, setUnmodifiable |
| Field Detail |
|---|
static final int LOGICAL_AND
static final int LOGICAL_OR
static final String[] LOGICAL_OPERATOR_DESCRIPTIONS
LOGICAL_AND, and LOGICAL_OR
| Method Detail |
|---|
List<Constraint> getChilds()
int getLogicalOperator()
boolean equals(Object obj)
true if and only if the argument is a non-null
CompositeConstraint object representing the same constraint(s).
equals in interface Constraintequals in class Objectobj - The object to compare with.
true if the objects are equal,
false otherwise.int hashCode()
hashCode in interface ConstrainthashCode in class ObjectString toString()
isInverse()
getLogicalOperator()
getChilds()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||