Package org.jfree.report.data
Class RunningExpressionSlot
- java.lang.Object
-
- org.jfree.report.data.RunningExpressionSlot
-
- All Implemented Interfaces:
java.lang.Cloneable,ExpressionSlot,ExpressionRuntime
public class RunningExpressionSlot extends java.lang.Object implements ExpressionSlot, ExpressionRuntime
Creation-Date: 25.11.2006, 15:18:58- Author:
- Thomas Morgner
-
-
Constructor Summary
Constructors Constructor Description RunningExpressionSlot(Expression expression, StaticExpressionRuntimeData runtimeData, PrecomputeNode precomputeNode)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadvance()java.lang.Objectclone()org.pentaho.reporting.libraries.base.config.ConfigurationgetConfiguration()intgetCurrentRow()ReportDatagetData()Returns the report data used in this section.DataRowgetDataRow()Returns the datarow.java.lang.ObjectgetDeclaringParent()ExpressiongetExpression()java.lang.StringgetName()ReportContextgetReportContext()ResourceBundleFactorygetResourceBundleFactory()java.lang.ObjectgetValue()booleanisDeepTraversing()booleanisPreserve()voidupdateDataRow(DataRow dataRow)
-
-
-
Constructor Detail
-
RunningExpressionSlot
public RunningExpressionSlot(Expression expression, StaticExpressionRuntimeData runtimeData, PrecomputeNode precomputeNode)
-
-
Method Detail
-
getExpression
public Expression getExpression()
-
getValue
public java.lang.Object getValue() throws DataSourceException- Specified by:
getValuein interfaceExpressionSlot- Throws:
DataSourceException
-
getName
public java.lang.String getName()
- Specified by:
getNamein interfaceExpressionSlot
-
getDataRow
public DataRow getDataRow()
Description copied from interface:ExpressionRuntimeReturns the datarow.- Specified by:
getDataRowin interfaceExpressionRuntime- Returns:
-
clone
public java.lang.Object clone() throws java.lang.CloneNotSupportedException- Specified by:
clonein interfaceExpressionSlot- Overrides:
clonein classjava.lang.Object- Throws:
java.lang.CloneNotSupportedException
-
updateDataRow
public void updateDataRow(DataRow dataRow)
- Specified by:
updateDataRowin interfaceExpressionSlot
-
getData
public ReportData getData()
Returns the report data used in this section. If subreports are used, this does not reflect the complete report data. All access to the report data must be properly synchronized. Failure to do so may result in funny results. Do not assume that the report data will be initialized on the current cursor positon.- Specified by:
getDatain interfaceExpressionRuntime- Returns:
- See Also:
ExpressionRuntime.getCurrentRow()
-
getDeclaringParent
public java.lang.Object getDeclaringParent()
- Specified by:
getDeclaringParentin interfaceExpressionRuntime
-
getConfiguration
public org.pentaho.reporting.libraries.base.config.Configuration getConfiguration()
- Specified by:
getConfigurationin interfaceExpressionRuntime
-
getResourceBundleFactory
public ResourceBundleFactory getResourceBundleFactory()
- Specified by:
getResourceBundleFactoryin interfaceExpressionRuntime
-
advance
public void advance() throws DataSourceException- Specified by:
advancein interfaceExpressionSlot- Throws:
DataSourceException
-
isDeepTraversing
public boolean isDeepTraversing()
- Specified by:
isDeepTraversingin interfaceExpressionSlot
-
getCurrentRow
public int getCurrentRow()
- Specified by:
getCurrentRowin interfaceExpressionRuntime
-
getReportContext
public ReportContext getReportContext()
- Specified by:
getReportContextin interfaceExpressionRuntime
-
isPreserve
public boolean isPreserve()
- Specified by:
isPreservein interfaceExpressionSlot
-
-