|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.pentaho.reporting.engine.classic.core.function.AbstractExpression
org.pentaho.reporting.engine.classic.core.function.AbstractCompareExpression
public abstract class AbstractCompareExpression
The base class for all expressions that compare a value read from the datarow with another value. This expression and all subclasses have been made obsolete by the Formula-Support.
The given field name is always used to retrieve the left hand operand of the comparison. The value supplied by the expression implementation is always the right hand operand.
Field Summary | |
---|---|
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. |
Method Summary | |
---|---|
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. |
Methods inherited from class org.pentaho.reporting.engine.classic.core.function.AbstractExpression |
---|
clone, getDataRow, getDependencyLevel, getInstance, getName, getReportConfiguration, getResourceBundleFactory, getRuntime, isActive, isDeepTraversing, isPreserve, setActive, setDependencyLevel, setName, setPreserve, setRuntime |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
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
Method Detail |
---|
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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |