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
public class IsEmptyExpression extends AbstractExpression
Deprecated.Use a Formula InsteadChecks 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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description IsEmptyExpression()
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 value.Object
getValue()
Deprecated.Return the current expression value.void
setField(String field)
Deprecated.Defines the name of the field from where to read the value.-
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
-
getField
public String getField()
Deprecated.Returns the name of the field from where to read the value.- Returns:
- the field.
-
setField
public void setField(String field)
Deprecated.Defines the name of the field from where to read the value.- Parameters:
field
- the field.
-
getValue
public Object getValue()
Deprecated.Return the current expression value.The value depends (obviously) on the expression implementation.
- Returns:
- the value of the function.
-
-