public class In extends Compare
Iterable<Object> as value.Select.setConstraint(Constraint),
Serialized FormConstraint.Type| Constructor and Description |
|---|
In(String attributeName,
Iterable<Object> values)
Creates a new In constraint for the attribute specified by given attributeName and
with the given value.
|
In(String attributeName,
Parameter parameter)
Creates a new In constraint for the attribute specified by given attributeName and parameter.
|
| Modifier and Type | Method and Description |
|---|---|
Constraint.Type |
getType()
The type of this constraint:
Constraint.Type.IN |
boolean |
isEmpty()
Check if this is an empty constraint.
|
getParameter, getValue, setParameter, setValuegetAttributeNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAttributeNamepublic In(@NotNull String attributeName, @NotNull Parameter parameter)
Iterable<Object> as parameter value in Select.setParameter(String,Object)Select.setParameter(String,Object)public boolean isEmpty()
isEmpty in interface ConstraintisEmpty in class AbstractConstrainttrue if the constraint is empty, i.e. removing the constraint would not change the query result.public Constraint.Type getType()
Constraint.Type.INgetType in interface ConstraintgetType in class AbstractConstraintCopyright © 2014 e-Spirit AG. All Rights Reserved. Build 5.0_BETA.500