public class IsNullCriteria extends PredicateCriteria implements PredicateCriteria.Negatable
PredicateCriteria.Negatable
LanguageObject.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, toString
public 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.Negatable
public void acceptVisitor(LanguageVisitor visitor)
LanguageObject
acceptVisitor
in interface LanguageObject
visitor
- Visitor being usedpublic int hashCode()
public boolean equals(Object obj)
public Object clone()
clone
in interface LanguageObject
clone
in class PredicateCriteria
Copyright © 2018 JBoss by Red Hat. All rights reserved.