public class IsNullCriteria extends PredicateCriteria implements PredicateCriteria.Negatable
PredicateCriteria.NegatableLanguageObject.Util| Constructor and Description |
|---|
IsNullCriteria()
Constructs a default instance of this class.
|
IsNullCriteria(Expression expression)
Constructs an instance of this class with an expression
|
| 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)
Comparees this criteria to another object for equality
|
Expression |
getExpression()
Get expression.
|
int |
hashCode()
Get hash code.
|
boolean |
isNegated()
Returns whether this criteria is negated.
|
void |
negate() |
void |
setExpression(Expression expression)
Set expression.
|
void |
setNegated(boolean negationFlag)
Sets the negation flag for this criteria.
|
applyDemorgan, combineCriteria, combineCriteria, combineCriteria, getType, separateCriteriaByAnd, toStringpublic IsNullCriteria()
public IsNullCriteria(Expression expression)
expression - The expression to be compared to nullpublic void setExpression(Expression expression)
expression - Expression to compare to nullpublic Expression getExpression()
public boolean isNegated()
public void setNegated(boolean negationFlag)
negationFlag - true if this criteria contains a NOT; false otherwisepublic void negate()
negate in interface PredicateCriteria.Negatablepublic void acceptVisitor(LanguageVisitor visitor)
LanguageObjectacceptVisitor in interface LanguageObjectvisitor - Visitor being usedpublic int hashCode()
public boolean equals(Object obj)
public Object clone()
clone in interface LanguageObjectclone in class PredicateCriteriaCopyright © 2017 JBoss by Red Hat. All rights reserved.