net.sf.jasperreports.engine.design
public class JRDesignDatasetRun extends JRBaseDatasetRun implements JRChangeEventsSupport
JRDatasetRun
to be used for report desing.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
PROPERTY_CONNECTION_EXPRESSION |
static java.lang.String |
PROPERTY_DATA_SOURCE_EXPRESSION |
static java.lang.String |
PROPERTY_DATASET_NAME |
static java.lang.String |
PROPERTY_PARAMETERS |
static java.lang.String |
PROPERTY_PARAMETERS_MAP_EXPRESSION |
connectionExpression, datasetName, dataSourceExpression, parameters, parametersMapExpression
Constructor and Description |
---|
JRDesignDatasetRun()
Creates an empty dataset instantiation.
|
Modifier and Type | Method and Description |
---|---|
void |
addParameter(JRDatasetParameter parameter)
Adds a parameter value.
|
java.lang.Object |
clone() |
JRPropertyChangeSupport |
getEventSupport()
Returns the property change support object for this instance.
|
JRDatasetParameter[] |
getParameters()
Returns the list of parameter values.
|
JRDatasetParameter |
removeParameter(JRDatasetParameter parameter)
Removes a parameter value.
|
JRDatasetParameter |
removeParameter(java.lang.String parameterName)
Removes a parameter value.
|
void |
setConnectionExpression(JRExpression connectionExpression)
Sets the connection expression.
|
void |
setDatasetName(java.lang.String datasetName)
Sets the sub dataset name.
|
void |
setDataSourceExpression(JRExpression dataSourceExpression)
Sets the data source expression.
|
void |
setParametersMapExpression(JRExpression parametersMapExpression)
Sets the parameters map expression.
|
getConnectionExpression, getDatasetName, getDataSourceExpression, getParametersMapExpression
public static final java.lang.String PROPERTY_CONNECTION_EXPRESSION
public static final java.lang.String PROPERTY_DATASET_NAME
public static final java.lang.String PROPERTY_DATA_SOURCE_EXPRESSION
public static final java.lang.String PROPERTY_PARAMETERS_MAP_EXPRESSION
public static final java.lang.String PROPERTY_PARAMETERS
public JRDesignDatasetRun()
public void addParameter(JRDatasetParameter parameter) throws JRException
parameter
- the parameter valueJRException
JRDatasetRun.getParameters()
public JRDatasetParameter removeParameter(java.lang.String parameterName)
parameterName
- the parameter namepublic JRDatasetParameter removeParameter(JRDatasetParameter parameter)
parameter
- the parameter valuepublic void setConnectionExpression(JRExpression connectionExpression)
connectionExpression
- the connection expressionJRDatasetRun.getConnectionExpression()
public void setDatasetName(java.lang.String datasetName)
datasetName
- the sub dataset nameJRDatasetRun.getDatasetName()
public void setDataSourceExpression(JRExpression dataSourceExpression)
dataSourceExpression
- the data source expressionJRDatasetRun.getDataSourceExpression()
public void setParametersMapExpression(JRExpression parametersMapExpression)
parametersMapExpression
- the parameters map expressionJRDatasetRun.getParametersMapExpression()
public JRDatasetParameter[] getParameters()
JRDatasetRun
getParameters
in interface JRDatasetRun
getParameters
in class JRBaseDatasetRun
public java.lang.Object clone()
clone
in interface JRCloneable
clone
in class JRBaseDatasetRun
public JRPropertyChangeSupport getEventSupport()
JRChangeEventsSupport
getEventSupport
in interface JRChangeEventsSupport
© 2001-2010 Jaspersoft Corporation www.jaspersoft.com