public interface CompositeConstraint extends Constraint
This corresponds to a AND- or OR-expression in SQL SELECT-syntax.
| Modifier and Type | Field and Description |
|---|---|
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'
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
getBasicSupportLevel, isInverse, setUnmodifiablestatic final int LOGICAL_AND
static final int LOGICAL_OR
static final String[] LOGICAL_OPERATOR_DESCRIPTIONS
LOGICAL_AND, and LOGICAL_ORList<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()
MMBase 1.9-SNAPSHOT - ${javadoctimestamp}