public class BetweenCriteria extends PredicateCriteria implements PredicateCriteria.Negatable
PredicateCriteria.NegatableLanguageObject.Util| Constructor and Description |
|---|
BetweenCriteria()
Constructs a default instance of this class.
|
BetweenCriteria(Expression expression,
Expression lowerExpression,
Expression upperExpression)
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.
|
Expression |
getLowerExpression()
Get the lower expression.
|
Expression |
getUpperExpression()
Get the upper expression.
|
int |
hashCode()
Get hash code.
|
boolean |
isNegated()
Returns whether this criteria is negated.
|
void |
negate() |
void |
setExpression(Expression expression)
Set expression.
|
void |
setLowerExpression(Expression lowerExpression)
Set the lower expression.
|
void |
setNegated(boolean negationFlag)
Sets the negation flag for this criteria.
|
void |
setUpperExpression(Expression upperExpression)
Set the upper expression.
|
applyDemorgan, combineCriteria, combineCriteria, combineCriteria, getType, separateCriteriaByAnd, toStringpublic BetweenCriteria()
public BetweenCriteria(Expression expression, Expression lowerExpression, Expression upperExpression)
expression - The expression to be compared to nullpublic void setExpression(Expression expression)
expression - Expression to compare to the upper and lower valuespublic Expression getExpression()
public void setLowerExpression(Expression lowerExpression)
expression - the lower expressionpublic Expression getLowerExpression()
public void setUpperExpression(Expression upperExpression)
expression - the upper expressionpublic Expression getUpperExpression()
public boolean isNegated()
public void setNegated(boolean negationFlag)
negationFlag - true if this criteria contains a NOT; false otherwisepublic void acceptVisitor(LanguageVisitor visitor)
acceptVisitor in interface LanguageObjectvisitor - Visitor being usedpublic int hashCode()
public boolean equals(Object obj)
public Object clone()
clone in interface LanguageObjectclone in class PredicateCriteriapublic void negate()
negate in interface PredicateCriteria.NegatableCopyright © 2019. All rights reserved.