public class GenericExpressionRuntime extends Object implements ExpressionRuntime
Constructor and Description |
---|
GenericExpressionRuntime() |
GenericExpressionRuntime(DataRow dataRow,
TableModel data,
int currentRow,
ProcessingContext processingContext) |
GenericExpressionRuntime(ExpressionRuntime runtime) |
GenericExpressionRuntime(TableModel data,
int currentRow,
ProcessingContext processingContext) |
Modifier and Type | Method and Description |
---|---|
Configuration |
getConfiguration()
Returns the report configuration that was used to initiate this processing run.
|
int |
getCurrentDataItem()
Returns the row number of the raw datasource that is currently accessed.
|
int |
getCurrentGroup() |
int |
getCurrentRow()
Where are we in the current processing.
|
TableModel |
getData()
Access to the tablemodel was granted using report properties, now direct.
|
DataFactory |
getDataFactory() |
DataRow |
getDataRow()
Returns the current data-row.
|
DataSchema |
getDataSchema() |
String |
getExportDescriptor()
The output descriptor is a simple string collections consisting of the following components:
exportclass/type/subtype
For example, the PDF export would be: pageable/pdf The StreamHTML export would return table/html/stream
|
int |
getGroupStartRow(int groupIndex) |
int |
getGroupStartRow(String groupName) |
ProcessingContext |
getProcessingContext()
Returns the current processing context.
|
ResourceBundleFactory |
getResourceBundleFactory()
Returns the resource-bundle factory of current processing context.
|
boolean |
isCrosstabActive()
A flag indicating that a crosstab is actively processed.
|
boolean |
isStructuralComplexReport()
A flag indicating that this report contains crosstabs.
|
public GenericExpressionRuntime()
public GenericExpressionRuntime(TableModel data, int currentRow, ProcessingContext processingContext)
public GenericExpressionRuntime(DataRow dataRow, TableModel data, int currentRow, ProcessingContext processingContext)
public GenericExpressionRuntime(ExpressionRuntime runtime)
public DataFactory getDataFactory()
getDataFactory
in interface ExpressionRuntime
public DataSchema getDataSchema()
getDataSchema
in interface ExpressionRuntime
public DataRow getDataRow()
ExpressionRuntime
getDataRow
in interface ExpressionRuntime
public Configuration getConfiguration()
ExpressionRuntime
getConfiguration
in interface ExpressionRuntime
public ResourceBundleFactory getResourceBundleFactory()
ExpressionRuntime
getResourceBundleFactory
in interface ExpressionRuntime
public TableModel getData()
getData
in interface ExpressionRuntime
public int getCurrentRow()
getCurrentRow
in interface ExpressionRuntime
public int getCurrentDataItem()
ExpressionRuntime
getCurrentDataItem
in interface ExpressionRuntime
public String getExportDescriptor()
getExportDescriptor
in interface ExpressionRuntime
public ProcessingContext getProcessingContext()
ExpressionRuntime
getProcessingContext
in interface ExpressionRuntime
public int getCurrentGroup()
getCurrentGroup
in interface ExpressionRuntime
public int getGroupStartRow(String groupName)
getGroupStartRow
in interface ExpressionRuntime
public int getGroupStartRow(int groupIndex)
getGroupStartRow
in interface ExpressionRuntime
public boolean isStructuralComplexReport()
ExpressionRuntime
isStructuralComplexReport
in interface ExpressionRuntime
public boolean isCrosstabActive()
ExpressionRuntime
isCrosstabActive
in interface ExpressionRuntime
Copyright © 2017 Hitachi Vantara. All rights reserved.