Class CompareFieldsExpression
- java.lang.Object
-
- org.pentaho.reporting.engine.classic.core.function.AbstractExpression
-
- org.pentaho.reporting.engine.classic.core.function.AbstractCompareExpression
-
- org.pentaho.reporting.engine.classic.core.function.CompareFieldsExpression
-
- All Implemented Interfaces:
Serializable
,Cloneable
,Expression
public class CompareFieldsExpression extends AbstractCompareExpression
Deprecated.Use a formula instead.Compares the values of two fields.- Author:
- Thomas Morgner
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.pentaho.reporting.engine.classic.core.function.AbstractCompareExpression
EQUAL, GREATER, GREATER_EQUAL, LOWER, LOWER_EQUAL, NOT_EQUAL
-
-
Constructor Summary
Constructors Constructor Description CompareFieldsExpression()
Deprecated.Default Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected Comparable
getComparable()
Deprecated.Returns the value of the other field.String
getOtherField()
Deprecated.Returns the name of the data-row column that holds the second value.void
setOtherField(String otherField)
Deprecated.Defines the name of the data-row column that holds the second value.-
Methods inherited from class org.pentaho.reporting.engine.classic.core.function.AbstractCompareExpression
getCompareMethod, getField, getValue, setCompareMethod, setField
-
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
-
-
-
-
Method Detail
-
getOtherField
public String getOtherField()
Deprecated.Returns the name of the data-row column that holds the second value.- Returns:
- the name of the other field.
-
setOtherField
public void setOtherField(String otherField)
Deprecated.Defines the name of the data-row column that holds the second value.- Parameters:
otherField
- the name of the other field.
-
getComparable
protected Comparable getComparable()
Deprecated.Returns the value of the other field. If the value is no comparable, this method returnsnull
instead.- Specified by:
getComparable
in classAbstractCompareExpression
- Returns:
- the value of the other field.
-
-