public class SetCriteria extends AbstractSetCriteria
PredicateCriteria.NegatableLanguageObject.Util| Constructor and Description |
|---|
SetCriteria()
Constructs a default instance of this class.
|
SetCriteria(Expression expression,
Collection values)
Constructs an instance of this class with the membership expression and value expressions
|
| Modifier and Type | Method and Description |
|---|---|
void |
acceptVisitor(LanguageVisitor visitor)
Method for accepting a visitor.
|
Object |
clone()
Deep copy of object
|
boolean |
equals(Object obj)
Override equals() method.
|
int |
getNumberOfValues()
Returns the number of values in the set.
|
Collection |
getValues()
Returns the set of values.
|
int |
hashCode()
Get hash code.
|
boolean |
isAllConstants() |
void |
set(Expression expression,
Collection values)
Sets the membership expression and the set of value expressions
|
void |
setAllConstants(boolean allConstants) |
void |
setValues(Collection values)
Sets the values in the set.
|
getExpression, isNegated, negate, setExpression, setNegatedapplyDemorgan, combineCriteria, combineCriteria, combineCriteria, getType, separateCriteriaByAnd, toStringpublic SetCriteria()
public SetCriteria(Expression expression, Collection values)
expression - The membership expressionvalues - The set of value Expressionspublic int getNumberOfValues()
public Collection getValues()
public void setValues(Collection values)
values - The set of value Expressionspublic void set(Expression expression, Collection values)
expression - The membership expressionvalues - The set of value expressionspublic void acceptVisitor(LanguageVisitor visitor)
LanguageObjectvisitor - Visitor being usedpublic int hashCode()
public boolean equals(Object obj)
public Object clone()
clone in interface LanguageObjectclone in class AbstractSetCriteriapublic boolean isAllConstants()
public void setAllConstants(boolean allConstants)
Copyright © 2018 JBoss by Red Hat. All rights reserved.