org.pentaho.reporting.engine.classic.core.function.numeric
Class IsNegativeExpression

java.lang.Object
  extended by org.pentaho.reporting.engine.classic.core.function.AbstractExpression
      extended by org.pentaho.reporting.engine.classic.core.function.numeric.IsNegativeExpression
All Implemented Interfaces:
Serializable, Cloneable, Expression

Deprecated. This can be replaced by a formula.

public class IsNegativeExpression
extends AbstractExpression

Checks whether the column specified by the field name contains a negative number.

Author:
Thomas Morgner
See Also:
Serialized Form

Constructor Summary
IsNegativeExpression()
          Deprecated. Default constructor.
 
Method Summary
 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
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IsNegativeExpression

public IsNegativeExpression()
Deprecated. 
Default constructor.

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.