public abstract class ComposedConstraint extends Object implements Constraint
Constraint.Type
Constructor and Description |
---|
ComposedConstraint() |
Modifier and Type | Method and Description |
---|---|
void |
add(Constraint constraint)
Add a new sub constraint to this composed constraint.
|
List<Constraint> |
getConstraints()
Return an unmodifiable list of all sub contraints contained in this composed constraint.
|
boolean |
isEmpty()
Check if this is an empty constraint.
|
int |
size()
Returns the number of sub constraints.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getType
public List<Constraint> getConstraints()
public void add(@NotNull Constraint constraint)
public int size()
public boolean isEmpty()
isEmpty
in interface Constraint
true
if the constraint is empty, i.e. removing the constraint would not change the query result.Copyright © 2014 e-Spirit AG. All Rights Reserved. Build 5.0_BETA.500