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, waitgetTypepublic List<Constraint> getConstraints()
public void add(@NotNull Constraint constraint)
public int size()
public boolean isEmpty()
isEmpty in interface Constrainttrue if the constraint is empty, i.e. removing the constraint would not change the query result.Copyright © 2015 e-Spirit AG. All Rights Reserved. Build 5.1.408