org.pentaho.reporting.engine.classic.core.function.bool
Class IsEmptyDataExpression

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

Deprecated. Use a formula instead or make proper use of the No-Data band.

public class IsEmptyDataExpression
extends AbstractExpression

An expression that checks, whether the current report has a non-empty datasource.

Author:
Thomas Morgner
See Also:
Serialized Form

Constructor Summary
IsEmptyDataExpression()
          Deprecated. Default Constructor.
 
Method Summary
 Object getValue()
          Deprecated. Checks whether the report has a data-source and wether the datasource is empty.
 
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

IsEmptyDataExpression

public IsEmptyDataExpression()
Deprecated. 
Default Constructor.

Method Detail

getValue

public Object getValue()
Deprecated. 
Checks whether the report has a data-source and wether the datasource is empty. A datasource is considered empty, if it contains no rows. The number of columns is not evaluated.

Returns:
the value of the function.