public class JRFillDatasetRun extends Object implements JRDatasetRun
| Modifier and Type | Field and Description |
|---|---|
protected JRExpression |
connectionExpression |
protected JRFillDataset |
dataset |
protected JRExpression |
dataSourceExpression |
protected JRFillExpressionEvaluator |
expressionEvaluator |
protected BaseReportFiller |
filler |
protected JRDatasetParameter[] |
parameters |
protected JRExpression |
parametersMapExpression |
protected JRDatasetRun |
parentDatasetRun |
| Modifier | Constructor and Description |
|---|---|
protected |
JRFillDatasetRun(BaseReportFiller filler,
JRDatasetRun datasetRun,
JRFillDataset dataset) |
protected |
JRFillDatasetRun(BaseReportFiller filler,
JRFillExpressionEvaluator expressionEvaluator,
JRDatasetRun datasetRun,
JRFillDataset dataset) |
|
JRFillDatasetRun(JRBaseFiller filler,
JRDatasetRun datasetRun,
JRFillObjectFactory factory)
Construct an instance for a dataset run.
|
protected |
JRFillDatasetRun(JRBaseFiller filler,
JRFillExpressionEvaluator expressionEvaluator,
JRDatasetRun datasetRun,
JRFillObjectFactory factory) |
protected |
JRFillDatasetRun(JRDatasetRun datasetRun,
JRFillObjectFactory factory) |
|
JRFillDatasetRun(JRFillDatasetRun datasetRun,
JRFillCloneFactory factory) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
advanceDataset() |
protected void |
checkInterrupted() |
Object |
clone() |
protected void |
copyConnectionParameter(Map<String,Object> parameterValues) |
void |
copyReturnValues() |
protected void |
detail() |
void |
evaluate(JRFillElementDataset elementDataset,
byte evaluation)
Instantiates and iterates the sub dataset for a chart dataset evaluation.
|
JRExpression |
getConnectionExpression()
Returns the DB connection expression.
|
protected JRFillDataset |
getDataset() |
String |
getDatasetName()
Returns the sub dataset name.
|
JRExpression |
getDataSourceExpression()
Returns the data source expression.
|
JRDatasetParameter[] |
getParameters()
Returns the list of parameter values.
|
JRExpression |
getParametersMapExpression()
Returns the parameters map expression.
|
JRPropertiesHolder |
getParentProperties()
Returns the parent properties holder, whose properties are used as defaults
for this object.
|
JRPropertiesMap |
getPropertiesMap()
Returns this object's properties map.
|
List<ReturnValue> |
getReturnValues()
Returns the list of values to be copied from the subdataset.
|
UUID |
getUUID() |
protected void |
group() |
boolean |
hasProperties()
Checks whether the object has any properties.
|
protected void |
init() |
protected void |
initReturnValues(JRFillObjectFactory factory) |
protected void |
iterate() |
protected void |
saveReturnVariables() |
void |
setBand(JRFillBand band) |
protected final BaseReportFiller filler
protected final JRFillExpressionEvaluator expressionEvaluator
protected final JRDatasetRun parentDatasetRun
protected final JRFillDataset dataset
protected JRExpression parametersMapExpression
protected JRDatasetParameter[] parameters
protected JRExpression connectionExpression
protected JRExpression dataSourceExpression
public JRFillDatasetRun(JRBaseFiller filler, JRDatasetRun datasetRun, JRFillObjectFactory factory)
filler - the fillerdatasetRun - the dataset runfactory - the fill object factoryprotected JRFillDatasetRun(JRDatasetRun datasetRun, JRFillObjectFactory factory)
protected JRFillDatasetRun(JRBaseFiller filler, JRFillExpressionEvaluator expressionEvaluator, JRDatasetRun datasetRun, JRFillObjectFactory factory)
protected JRFillDatasetRun(BaseReportFiller filler, JRDatasetRun datasetRun, JRFillDataset dataset)
protected JRFillDatasetRun(BaseReportFiller filler, JRFillExpressionEvaluator expressionEvaluator, JRDatasetRun datasetRun, JRFillDataset dataset)
public JRFillDatasetRun(JRFillDatasetRun datasetRun, JRFillCloneFactory factory)
protected void initReturnValues(JRFillObjectFactory factory)
public void setBand(JRFillBand band)
public void evaluate(JRFillElementDataset elementDataset, byte evaluation) throws JRException
elementDataset - the chart datasetevaluation - the evaluation typeJRExceptionprotected void saveReturnVariables()
public void copyReturnValues()
protected void iterate()
throws JRException
JRExceptionprotected boolean advanceDataset()
throws JRException
JRExceptionprotected void checkInterrupted()
protected void group()
throws JRException,
JRScriptletException
JRExceptionJRScriptletExceptionprotected void init()
throws JRScriptletException,
JRException
JRScriptletExceptionJRExceptionprotected void detail()
throws JRScriptletException,
JRException
JRScriptletExceptionJRExceptionpublic String getDatasetName()
JRDatasetRungetDatasetName in interface JRDatasetRunpublic JRExpression getParametersMapExpression()
JRDatasetRunThe result of this expression is used as the parameters map when instantiating the dataset.
getParametersMapExpression in interface JRDatasetRunpublic JRDatasetParameter[] getParameters()
JRDatasetRungetParameters in interface JRDatasetRunpublic JRExpression getConnectionExpression()
JRDatasetRunThe result of this expression is used as the DB connection when instantiating the dataset.
getConnectionExpression in interface JRDatasetRunpublic JRExpression getDataSourceExpression()
JRDatasetRunThe result of this expression is used as the data source when instantiating the dataset.
getDataSourceExpression in interface JRDatasetRunprotected JRFillDataset getDataset()
public UUID getUUID()
getUUID in interface JRIdentifiablepublic Object clone()
clone in interface JRCloneableclone in class Objectpublic boolean hasProperties()
JRPropertiesHolderhasProperties in interface JRPropertiesHolderpublic JRPropertiesMap getPropertiesMap()
JRPropertiesHoldergetPropertiesMap in interface JRPropertiesHolderpublic JRPropertiesHolder getParentProperties()
JRPropertiesHoldergetParentProperties in interface JRPropertiesHoldernull if no parentpublic List<ReturnValue> getReturnValues()
JRDatasetRungetReturnValues in interface JRDatasetRunCopyright © 2017. All rights reserved.