|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.jasperreports.engine.base.JRBaseDatasetRun
public class JRBaseDatasetRun
Base implementation of the JRDatasetRun
interface.
Field Summary | |
---|---|
protected JRExpression |
connectionExpression
|
protected java.lang.String |
datasetName
|
protected JRExpression |
dataSourceExpression
|
protected JRDatasetParameter[] |
parameters
|
protected JRExpression |
parametersMapExpression
|
protected JRPropertiesMap |
propertiesMap
|
protected java.util.UUID |
uuid
|
Constructor Summary | |
---|---|
protected |
JRBaseDatasetRun()
Creates an empty object. |
protected |
JRBaseDatasetRun(JRDatasetRun datasetRun,
JRBaseObjectFactory factory)
Creates a copy of a dataset instantiation. |
Method Summary | |
---|---|
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.UUID |
getUUID()
|
boolean |
hasProperties()
Checks whether the object has any properties. |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
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
Constructor Detail |
---|
protected JRBaseDatasetRun()
protected JRBaseDatasetRun(JRDatasetRun datasetRun, JRBaseObjectFactory factory)
datasetRun
- the dataset instantiationfactory
- the base object factoryMethod Detail |
---|
public java.util.UUID getUUID()
getUUID
in interface JRIdentifiable
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
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 |