Class IsEmptyExpression
java.lang.Object
org.pentaho.reporting.engine.classic.core.function.AbstractExpression
org.pentaho.reporting.engine.classic.core.function.IsEmptyExpression
- All Implemented Interfaces:
Serializable,Cloneable,Expression
Deprecated.
Use a Formula Instead
Checks whether a field is empty. A field is considered empty, if it contains the value 'null', or an string that is
empty or only consists of whitespaces or a number that evaluates to zero.
- Author:
- Thomas Morgner
- See Also:
-
Constructor Summary
Constructors -
Method Summary
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
-
Constructor Details
-
IsEmptyExpression
public IsEmptyExpression()Deprecated.Default constructor.
-
-
Method Details
-
getField
Deprecated.Returns the name of the field from where to read the value.- Returns:
- the field.
-
setField
Deprecated.Defines the name of the field from where to read the value.- Parameters:
field- the field.
-
getValue
Deprecated.Return the current expression value.The value depends (obviously) on the expression implementation.
- Returns:
- the value of the function.
-