@Immutable public class SetCriteria extends Object implements Constraint, SetCriteria
| Constructor and Description |
|---|
SetCriteria(DynamicOperand left,
Collection<? extends StaticOperand> setOperands) |
SetCriteria(DynamicOperand left,
StaticOperand... setOperands) |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(Visitor visitor)
Accept the supplied visitor, which should call back to the visitor to complete the double-dispatch operation.
|
boolean |
equals(Object obj) |
DynamicOperand |
getOperand()
Get the dynamic operand specification for the left-hand side of the set criteria.
|
Collection<? extends StaticOperand> |
getValues()
Get the static operands for this set criteria.
|
int |
hashCode() |
DynamicOperand |
leftOperand()
Get the dynamic operand to which the set constraint applies
|
Collection<? extends StaticOperand> |
rightOperands()
Get the collection of static operands defining the constrained values.
|
String |
toString() |
public SetCriteria(DynamicOperand left, Collection<? extends StaticOperand> setOperands)
public SetCriteria(DynamicOperand left, StaticOperand... setOperands)
public final DynamicOperand leftOperand()
public final Collection<? extends StaticOperand> rightOperands()
public DynamicOperand getOperand()
SetCriteriagetOperand in interface SetCriteriapublic Collection<? extends StaticOperand> getValues()
SetCriteriagetValues in interface SetCriteriaCopyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.