public abstract class AbstractCompareExpression extends AbstractExpression
Modifier and Type | Field and Description |
---|---|
static String |
EQUAL
Deprecated.
A constant for an equals comparison.
|
static String |
GREATER
Deprecated.
A constant for greater than comparison.
|
static String |
GREATER_EQUAL
Deprecated.
A constant for greater than or equal comparison.
|
static String |
LOWER
Deprecated.
A constant for lower than comparison.
|
static String |
LOWER_EQUAL
Deprecated.
A constant for lower than or equal comparison.
|
static String |
NOT_EQUAL
Deprecated.
A constant for a not equals comparison.
|
Modifier and Type | Method and Description |
---|---|
String |
getCompareMethod()
Deprecated.
Returns the compare method that should be used in the expression evaluation.
|
String |
getField()
Deprecated.
Returns the name of the field from where to read the first operand.
|
Object |
getValue()
Deprecated.
Compares the value read from the data-row with the value supplied by the expression itself.
|
void |
setCompareMethod(String compareMethod)
Deprecated.
Defines the compare method that should be used in the expression evaluation.
|
void |
setField(String field)
Deprecated.
Defines the name of the field from where to read the first operand.
|
clone, getDataRow, getDependencyLevel, getInstance, getName, getReportConfiguration, getResourceBundleFactory, getRuntime, isActive, isDeepTraversing, isPreserve, setActive, setDependencyLevel, setName, setPreserve, setRuntime
public static final String EQUAL
public static final String NOT_EQUAL
public static final String LOWER
public static final String GREATER
public static final String LOWER_EQUAL
public static final String GREATER_EQUAL
public Object getValue()
public String getField()
public void setField(String field)
field
- the field name.public String getCompareMethod()
public void setCompareMethod(String compareMethod)
compareMethod
- the compare method.