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 void
advance()
java.lang.Object
clone()
org.pentaho.reporting.libraries.base.config.Configuration
getConfiguration()
int
getCurrentRow()
ReportData
getData()
Returns the report data used in this section.DataRow
getDataRow()
Returns the datarow.java.lang.Object
getDeclaringParent()
Expression
getExpression()
java.lang.String
getName()
ReportContext
getReportContext()
ResourceBundleFactory
getResourceBundleFactory()
java.lang.Object
getValue()
boolean
isDeepTraversing()
boolean
isPreserve()
void
updateDataRow(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:
getValue
in interfaceExpressionSlot
- Throws:
DataSourceException
-
getName
public java.lang.String getName()
- Specified by:
getName
in interfaceExpressionSlot
-
getDataRow
public DataRow getDataRow()
Description copied from interface:ExpressionRuntime
Returns the datarow.- Specified by:
getDataRow
in interfaceExpressionRuntime
- Returns:
-
clone
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
- Specified by:
clone
in interfaceExpressionSlot
- Overrides:
clone
in classjava.lang.Object
- Throws:
java.lang.CloneNotSupportedException
-
updateDataRow
public void updateDataRow(DataRow dataRow)
- Specified by:
updateDataRow
in 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:
getData
in interfaceExpressionRuntime
- Returns:
- See Also:
ExpressionRuntime.getCurrentRow()
-
getDeclaringParent
public java.lang.Object getDeclaringParent()
- Specified by:
getDeclaringParent
in interfaceExpressionRuntime
-
getConfiguration
public org.pentaho.reporting.libraries.base.config.Configuration getConfiguration()
- Specified by:
getConfiguration
in interfaceExpressionRuntime
-
getResourceBundleFactory
public ResourceBundleFactory getResourceBundleFactory()
- Specified by:
getResourceBundleFactory
in interfaceExpressionRuntime
-
advance
public void advance() throws DataSourceException
- Specified by:
advance
in interfaceExpressionSlot
- Throws:
DataSourceException
-
isDeepTraversing
public boolean isDeepTraversing()
- Specified by:
isDeepTraversing
in interfaceExpressionSlot
-
getCurrentRow
public int getCurrentRow()
- Specified by:
getCurrentRow
in interfaceExpressionRuntime
-
getReportContext
public ReportContext getReportContext()
- Specified by:
getReportContext
in interfaceExpressionRuntime
-
isPreserve
public boolean isPreserve()
- Specified by:
isPreserve
in interfaceExpressionSlot
-
-