defaultValueExpr = ExpressionUtil.createParameterExpression( ( ( (OdaDataSetParameterHandle) modelParam ).getParamName( ) ) );
defaultValueExpr = ExpressionUtil.createJSParameterExpression( ( ( (OdaDataSetParameterHandle) modelParam ).getParamName( ) ) );
	private static void populateParameter( DataSetHandle modelDataSet, BaseDataSetDesign dteDataSet )	{		//dataset parameters definition		HashMap paramBindingCandidates = new HashMap( );		Iterator elmtIter = modelDataSet.parametersIterator( );		if ( elmtIter != null )		{			while ( elmtIter.hasNext( ) )			{				DataSetParameterHandle modelParam = ( DataSetParameterHandle ) elmtIter						.next( );				dteDataSet.addParameter( new ParameterAdapter( modelParam ) );				// collect input parameter default values as				// potential parameter binding if no explicit ones are				// defined for a parameter				if ( modelParam.isInput( ) )				{					String defaultValueExpr = null;					if ( modelParam instanceof OdaDataSetParameterHandle							&& ( (OdaDataSetParameterHandle) modelParam ).getParamName( ) != null )					{						defaultValueExpr = ExpressionUtil.createParameterExpression( ( ( (OdaDataSetParameterHandle) modelParam ).getParamName( ) ) );					}					else						defaultValueExpr = modelParam.getDefaultValue( );					if ( defaultValueExpr != null )						paramBindingCandidates.put( modelParam.getName( ),								defaultValueExpr );				}			}		}		// input parameter bindings		elmtIter = modelDataSet.paramBindingsIterator( );		if ( elmtIter != null )		{			while ( elmtIter.hasNext( ) )			{				ParamBindingHandle modelParamBinding = ( ParamBindingHandle ) elmtIter						.next( );				// replace default value of the same parameter, if defined				paramBindingCandidates.put( modelParamBinding.getParamName( ),						modelParamBinding.getExpression( ) );			}		}		// assign merged parameter bindings to the data set		if ( paramBindingCandidates.size( ) > 0 )		{			elmtIter = paramBindingCandidates.keySet( ).iterator( );			while ( elmtIter.hasNext( ) )			{				Object paramName = elmtIter.next( );				assert ( paramName != null && paramName instanceof String );				String expression = ( String ) paramBindingCandidates						.get( paramName );				dteDataSet.addInputParamBinding( new InputParamBindingAdapter(						( String ) paramName, expression ) );			}		}	}