|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.pentaho.reporting.engine.classic.core.function.AbstractExpression
org.pentaho.reporting.engine.classic.core.function.IsEmptyExpression
public class IsEmptyExpression
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.
| Constructor Summary | |
|---|---|
IsEmptyExpression()
Deprecated. Default constructor. |
|
| Method Summary | |
|---|---|
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 |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IsEmptyExpression()
| Method Detail |
|---|
public String getField()
public void setField(String field)
field - the field.public Object getValue()
The value depends (obviously) on the expression implementation.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||