public class JRBaseDatasetRun extends java.lang.Object implements JRDatasetRun, java.io.Serializable
JRDatasetRun interface.| Modifier and Type | Field and Description |
|---|---|
protected JRExpression |
connectionExpression |
protected java.lang.String |
datasetName |
protected JRExpression |
dataSourceExpression |
protected JRDatasetParameter[] |
parameters |
protected JRExpression |
parametersMapExpression |
protected JRPropertiesMap |
propertiesMap |
protected java.util.List<ReturnValue> |
returnValues |
protected java.util.UUID |
uuid |
| Modifier | Constructor and Description |
|---|---|
protected |
JRBaseDatasetRun()
Creates an empty object.
|
protected |
JRBaseDatasetRun(JRDatasetRun datasetRun,
JRBaseObjectFactory factory)
Creates a copy of a dataset instantiation.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone() |
JRExpression |
getConnectionExpression()
Returns the DB connection expression.
|
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.List<ReturnValue> |
getReturnValues()
Returns the list of values to be copied from the subdataset.
|
java.util.UUID |
getUUID() |
boolean |
hasProperties()
Checks whether the object has any properties.
|
protected java.util.UUID uuid
protected java.lang.String datasetName
protected JRExpression parametersMapExpression
protected JRDatasetParameter[] parameters
protected JRExpression connectionExpression
protected JRExpression dataSourceExpression
protected JRPropertiesMap propertiesMap
protected java.util.List<ReturnValue> returnValues
protected JRBaseDatasetRun()
protected JRBaseDatasetRun(JRDatasetRun datasetRun, JRBaseObjectFactory factory)
datasetRun - the dataset instantiationfactory - the base object factorypublic java.util.UUID getUUID()
getUUID in interface JRIdentifiablepublic java.lang.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 JRDatasetRunpublic java.util.List<ReturnValue> getReturnValues()
JRDatasetRungetReturnValues in interface JRDatasetRunpublic java.lang.Object clone()
clone in interface JRCloneableclone in class java.lang.Objectpublic boolean hasProperties()
JRPropertiesHolderhasProperties in interface JRPropertiesHolderpublic JRPropertiesMap getPropertiesMap()
JRPropertiesHoldergetPropertiesMap in interface JRPropertiesHolderpublic JRPropertiesHolder getParentProperties()
JRPropertiesHoldergetParentProperties in interface JRPropertiesHoldernull if no parent© 2001-2010 Jaspersoft Corporation www.jaspersoft.com