Bug 152542 Supports user-specified link of an ODA Data Set Parameter to a BIRT Report Parameter
BIRT 2.1 currently supports a small subset of the ODA parameter metadata (oda.design.ParameterDefinition) specified by a custom ODA designer, by mapping them to a ROM DataSetParam. However, although most attributes defined in an oda parameter design are also supported in BIRT report parameter, their values are not carried over to the report parameter. Thus BIRT users have to manually repeat the parameter attributes when defining a report parameter. This enhancement shall allow users to specify an explicit link from a ROM input Data Set Parameter to a Report Parameter in the Data Set Editor. This way, related attributes already specified in an oda parameter can be automatically applied via a ROM oda DataSetParam to its linked report parameter.
model/org.eclipse.birt.report.model.adapter.oda/src/org/eclipse/birt/report/model/adapter/oda/ReportParameterAdapter.java
literalValue = ParameterValueUtil.toLiteralValue( value );
				setParam.setDefaultValue( literalValue );
			}
		}
	}
	/**
	 * Refreshes property values of the given report parameter by the given
	 * parameter definition and cached parameter definition. If values in cached
	 * parameter definition is null or values in cached parameter definition are
	 * not equal to values in parameter defnition, update values in given report
	 * parameter.
	 * 
	 * @param reportParam
	 *            the report parameter
	 * @param dataSetDesign
	 *            the data set design
	 * @throws SemanticException
	 *             if value in the data set design is invalid
	 */
	void updateLinkedReportParameter( ScalarParameterHandle reportParam,
			ParameterDefinition paramDefn, ParameterDefinition cachedParamDefn,
			String dataType ) throws SemanticException
	{
		if ( paramDefn == null )
			return;
		if ( isUpdatedReportParameter( reportParam, paramDefn, dataType ) )
		{
			return;
		}
		CommandStack cmdStack = reportParam.getModuleHandle( )