public abstract class PropertyValueComparison extends PropertyComparison
Constructor and Description |
---|
PropertyValueComparison(Property property,
java.lang.Object value)
Constructor
|
Modifier and Type | Method and Description |
---|---|
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
|
java.lang.Object |
getValue()
Gets the value to compare the property against
|
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
|
getProperty
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
accept
public PropertyValueComparison(Property property, java.lang.Object value)
property
- the property to comparevalue
- the value to compare the property againstpublic java.lang.Object getValue()
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