public abstract class ComparisonCondition extends Condition
Condition
that represents a comparison condition, which compares one expression to another expression or to a list of expressions. A ComparisonCondition
evaluates to true
, false
, or null
.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
EQ
A constant for the equal-to operator.
|
static java.lang.String |
GE
A constant for the greater-than-or-equal-to operator.
|
static java.lang.String |
GT
A constant for the greater-than operator.
|
static java.lang.String |
LE
A constant for the less-than-or-equal-to operator.
|
static java.lang.String |
LT
A constant for the less-than operator.
|
static java.lang.String |
NE
A constant for the not-equals operator.
|
static java.lang.String |
NE2
A constant for the less-than-or-greater-than operator.
|
static java.lang.String |
NE3
A constant for the carot-equals operator.
|
Modifier and Type | Method and Description |
---|---|
TypedExpression |
getLhsArgument()
Gets the expression that is the left-hand-side argument of this
ComprisonCondition . |
java.lang.String |
getOperator()
Gets the operator for this
ComparisonCondition . |
and, isCompositeObject, not, or
equals, equals, fromSyntax, fromSyntax, fromSyntax, fromSyntax, fromSyntax, isValid, toSyntax, toSyntax, toSyntax, toSyntax, toSyntax, toSyntax, visit
public static final java.lang.String LT
public static final java.lang.String LE
public static final java.lang.String GT
public static final java.lang.String GE
public static final java.lang.String EQ
public static final java.lang.String NE
public static final java.lang.String NE2
public static final java.lang.String NE3
public java.lang.String getOperator()
ComparisonCondition
. The constant fields of this class, such as LT
and EQ
, represent the operators.String
that contains the operator for this ComparisonCondition
.public TypedExpression getLhsArgument()
ComprisonCondition
.TypedExpression
that is the left-hand-side argument of this ComprisonCondition
.