public class GreaterThan extends PropertyValueComparison
Constructor and Description |
---|
GreaterThan(Property property,
java.lang.Object value)
Constructor
|
Modifier and Type | Method and Description |
---|---|
void |
accept(Visitor visitor)
Accepts a visitor
|
Expression |
and(Expression expression)
Creates an And expression which will be a logical "and" of this expression
and the expression passed in as a parameter
|
Expression |
not()
Creates a Not expression which will be the logical "not" of this epxression
|
Expression |
or(Expression expression)
Creates an Or expression which will be a logical "or" of this expression
and the expression passed in as a parameter
|
java.lang.String |
toString() |
getValue
getProperty
public GreaterThan(Property property, java.lang.Object value)
property
- the property to comparevalue
- the value to compare the property againstpublic void accept(Visitor visitor)
visitor
- the visitorpublic java.lang.String toString()
toString
in class java.lang.Object
public Expression and(Expression expression)
and
in interface Expression
expression
- the other expressionpublic Expression or(Expression expression)
or
in interface Expression
expression
- the other expressionpublic Expression not()
not
in interface Expression