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

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

Deprecated. This can be replaced by a formula.

public class IsPositiveExpression
extends AbstractExpression

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

Author:
Thomas Morgner
See Also:
Serialized Form

Constructor Summary
IsPositiveExpression()
          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 positive 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

IsPositiveExpression

public IsPositiveExpression()
Deprecated. 
Default constructor.

Method Detail

getValue

public Object getValue()
Deprecated. 
Checks whether the column specified by the field name contains a positive 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.