Class CompareNumberExpression
- 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.numeric.CompareNumberExpression
-
- All Implemented Interfaces:
Serializable
,Cloneable
,Expression
public class CompareNumberExpression extends AbstractCompareExpression
Deprecated.like all compare functions, using the formula support is easier.A function that compares a static number with a number read from a field.- 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 CompareNumberExpression()
Deprecated.Default constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected Comparable
getComparable()
Deprecated.Returns the static value to which the field's value is compared.double
getNumber()
Deprecated.Returns the static number value.void
setNumber(double number)
Deprecated.Sets the static number 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
-
getComparable
protected Comparable getComparable()
Deprecated.Returns the static value to which the field's value is compared.- Specified by:
getComparable
in classAbstractCompareExpression
- Returns:
- the static value.
-
getNumber
public double getNumber()
Deprecated.Returns the static number value.- Returns:
- the static number.
-
setNumber
public void setNumber(double number)
Deprecated.Sets the static number value.- Parameters:
number
- the static number.
-
-