public class And extends ComposedConstraint
andSelect.setConstraint(Constraint),
Serialized FormConstraint.Type| Constructor and Description |
|---|
And()
Creates an empty And.
|
And(Constraint constraint)
Creates an And with the given sub constraint.
|
And(Constraint constraint1,
Constraint constraint2)
Creates an And combining the given constraints.
|
| Modifier and Type | Method and Description |
|---|---|
Constraint.Type |
getType()
The type of this constraint:
Constraint.Type.AND |
add, getConstraints, isEmpty, sizepublic And()
ComposedConstraint.add(Constraint) to add sub constraints.public And(@NotNull Constraint constraint)
ComposedConstraint.add(Constraint) to add more sub constraints.constraint - the first sub constraint used for the created Andpublic And(@NotNull Constraint constraint1, @NotNull Constraint constraint2)
constraint1 - the first constraint used for the created Andconstraint2 - the second constraint used for the created Andpublic Constraint.Type getType()
Constraint.Type.ANDCopyright © 2015 e-Spirit AG. All Rights Reserved. Build 5.1.408