|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.jasperreports.engine.fill.JRFillDatasetRun
public class JRFillDatasetRun
Class used to instantiate sub datasets.
Field Summary | |
---|---|
protected JRExpression |
connectionExpression
|
protected JRFillDataset |
dataset
|
protected JRExpression |
dataSourceExpression
|
protected JRBaseFiller |
filler
|
protected JRDatasetParameter[] |
parameters
|
protected JRExpression |
parametersMapExpression
|
protected JRDatasetRun |
parentDatasetRun
|
Constructor Summary | |
---|---|
protected |
JRFillDatasetRun(JRBaseFiller filler,
JRDatasetRun datasetRun,
JRFillDataset dataset)
|
|
JRFillDatasetRun(JRBaseFiller filler,
JRDatasetRun datasetRun,
JRFillObjectFactory factory)
Construct an instance for a dataset run. |
Method Summary | |
---|---|
protected boolean |
advanceDataset()
|
protected void |
checkInterrupted()
|
java.lang.Object |
clone()
|
protected void |
copyConnectionParameter(java.util.Map<java.lang.String,java.lang.Object> parameterValues)
|
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()
|
java.lang.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. |
java.util.UUID |
getUUID()
|
protected void |
group()
|
boolean |
hasProperties()
Checks whether the object has any properties. |
protected void |
init()
|
protected void |
iterate()
|
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected final JRBaseFiller filler
protected final JRDatasetRun parentDatasetRun
protected final JRFillDataset dataset
protected JRExpression parametersMapExpression
protected JRDatasetParameter[] parameters
protected JRExpression connectionExpression
protected JRExpression dataSourceExpression
Constructor Detail |
---|
public JRFillDatasetRun(JRBaseFiller filler, JRDatasetRun datasetRun, JRFillObjectFactory factory)
filler
- the fillerdatasetRun
- the dataset runfactory
- the fill object factoryprotected JRFillDatasetRun(JRBaseFiller filler, JRDatasetRun datasetRun, JRFillDataset dataset)
Method Detail |
---|
public void evaluate(JRFillElementDataset elementDataset, byte evaluation) throws JRException
elementDataset
- the chart datasetevaluation
- the evaluation type
JRException
protected void copyConnectionParameter(java.util.Map<java.lang.String,java.lang.Object> parameterValues)
protected void iterate() throws JRException
JRException
protected boolean advanceDataset() throws JRException
JRException
protected void checkInterrupted()
protected void group() throws JRException, JRScriptletException
JRException
JRScriptletException
protected void init() throws JRScriptletException, JRException
JRScriptletException
JRException
protected void detail() throws JRScriptletException, JRException
JRScriptletException
JRException
public java.lang.String getDatasetName()
JRDatasetRun
getDatasetName
in interface JRDatasetRun
public JRExpression getParametersMapExpression()
JRDatasetRun
The result of this expression is used as the parameters map when instantiating the dataset.
getParametersMapExpression
in interface JRDatasetRun
public JRDatasetParameter[] getParameters()
JRDatasetRun
getParameters
in interface JRDatasetRun
public JRExpression getConnectionExpression()
JRDatasetRun
The result of this expression is used as the DB connection when instantiating the dataset.
getConnectionExpression
in interface JRDatasetRun
public JRExpression getDataSourceExpression()
JRDatasetRun
The result of this expression is used as the data source when instantiating the dataset.
getDataSourceExpression
in interface JRDatasetRun
protected JRFillDataset getDataset()
public java.util.UUID getUUID()
getUUID
in interface JRIdentifiable
public java.lang.Object clone()
clone
in interface JRCloneable
clone
in class java.lang.Object
public boolean hasProperties()
JRPropertiesHolder
hasProperties
in interface JRPropertiesHolder
public JRPropertiesMap getPropertiesMap()
JRPropertiesHolder
getPropertiesMap
in interface JRPropertiesHolder
public JRPropertiesHolder getParentProperties()
JRPropertiesHolder
getParentProperties
in interface JRPropertiesHolder
null
if no parent
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |