Class IsNegativeExpression
- java.lang.Object
-
- org.pentaho.reporting.engine.classic.core.function.AbstractExpression
-
- org.pentaho.reporting.engine.classic.core.function.numeric.IsNegativeExpression
-
- All Implemented Interfaces:
Serializable
,Cloneable
,Expression
public class IsNegativeExpression extends AbstractExpression
Deprecated.This can be replaced by a formula.Checks whether the column specified by the field name contains a negative number.- Author:
- Thomas Morgner
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description IsNegativeExpression()
Deprecated.Default constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description String
getField()
Deprecated.Returns the name of the field from where to read the number.Object
getValue()
Deprecated.Checks whether the column specified by the field name contains a negative number.void
setField(String field)
Deprecated.Defines the name of the field from where to read the number.-
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
-
getValue
public Object getValue()
Deprecated.Checks whether the column specified by the field name contains a negative number. Non-numeric values are not compared and result in Boolean.FALSE.- Returns:
- the value of the function.
-
getField
public String getField()
Deprecated.Returns the name of the field from where to read the number.- Returns:
- the field.
-
setField
public void setField(String field)
Deprecated.Defines the name of the field from where to read the number.- Parameters:
field
- the field.
-
-