public class JRDesignDatasetRun extends JRBaseDatasetRun implements JRChangeEventsSupport
JRDatasetRun
to be used for report design.Modifier and Type | Field and Description |
---|---|
static String |
EXCEPTION_MESSAGE_KEY_DUPLICATE_PARAMETER |
static String |
PROPERTY_CONNECTION_EXPRESSION |
static String |
PROPERTY_DATA_SOURCE_EXPRESSION |
static String |
PROPERTY_DATASET_NAME |
static String |
PROPERTY_PARAMETERS |
static String |
PROPERTY_PARAMETERS_MAP_EXPRESSION |
static String |
PROPERTY_RETURN_VALUES |
connectionExpression, datasetName, dataSourceExpression, parameters, parametersMapExpression, propertiesMap, returnValues, uuid
Constructor and Description |
---|
JRDesignDatasetRun()
Creates an empty dataset instantiation.
|
Modifier and Type | Method and Description |
---|---|
void |
addParameter(JRDatasetParameter parameter)
Adds a parameter value.
|
void |
addReturnValue(ReturnValue returnValue)
Adds a return value to the subdataset run.
|
Object |
clone() |
JRPropertyChangeSupport |
getEventSupport()
Returns the property change support object for this instance.
|
JRDatasetParameter[] |
getParameters()
Returns the list of parameter values.
|
List<ReturnValue> |
getReturnValuesList()
Returns the list of values to be copied from the subdataset run into the main dataset.
|
JRDatasetParameter |
removeParameter(JRDatasetParameter parameter)
Removes a parameter value.
|
JRDatasetParameter |
removeParameter(String parameterName)
Removes a parameter value.
|
boolean |
removeReturnValue(ReturnValue returnValue)
Removes a return value from the subdataset run.
|
void |
setConnectionExpression(JRExpression connectionExpression)
Sets the connection expression.
|
void |
setDatasetName(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.
|
void |
setUUID(UUID uuid) |
getConnectionExpression, getDatasetName, getDataSourceExpression, getParametersMapExpression, getParentProperties, getPropertiesMap, getReturnValues, getUUID, hasProperties
public static final String EXCEPTION_MESSAGE_KEY_DUPLICATE_PARAMETER
public static final String PROPERTY_CONNECTION_EXPRESSION
public static final String PROPERTY_DATASET_NAME
public static final String PROPERTY_DATA_SOURCE_EXPRESSION
public static final String PROPERTY_PARAMETERS_MAP_EXPRESSION
public static final String PROPERTY_PARAMETERS
public static final String PROPERTY_RETURN_VALUES
public JRDesignDatasetRun()
public void addParameter(JRDatasetParameter parameter) throws JRException
parameter
- the parameter valueJRException
JRDatasetRun.getParameters()
public JRDatasetParameter removeParameter(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(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 void setUUID(UUID uuid)
public void addReturnValue(ReturnValue returnValue)
returnValue
- the return value to be added.public List<ReturnValue> getReturnValuesList()
ReturnValue
objectspublic boolean removeReturnValue(ReturnValue returnValue)
returnValue
- the return value to be removedtrue
if the return value was found and removedpublic Object clone()
clone
in interface JRCloneable
clone
in class JRBaseDatasetRun
public JRPropertyChangeSupport getEventSupport()
JRChangeEventsSupport
getEventSupport
in interface JRChangeEventsSupport
Copyright © 2021 TIBCO Software Inc.. All rights reserved.