Bug 319902 Internal API Usage of the ODA framework components
data/org.eclipse.birt.report.data.oda.jdbc.dbprofile.ui/src/org/eclipse/birt/report/data/oda/jdbc/dbprofile/ui/internal/sqb/SQLQueryUtility.java
private static void updateParameterDesign( DataSetDesign dataSetDesign, final QueryStatement queryStmt )
    {
        if( dataSetDesign == null || queryStmt == null )
            return;
        
        
        
        
        List<ValueExpressionVariable> paramVars = StatementHelper.getAllVariablesInQueryStatement( queryStmt, false ); 
        if( paramVars.isEmpty() )
        {
            dataSetDesign.setParameters( null );
            if ( dataSetDesign.getPrivateProperties( ) != null )
			{
				dataSetDesign.getPrivateProperties( )
						.setProperty( PROP_PRIVATE_PARAMETERMETADATA,
								EMPTY_STRING );
			}
            return;
        }
 
        DataSetParameters dataSetParams =
            DesignFactory.eINSTANCE.createDataSetParameters();
        dataSetDesign.setParameters( dataSetParams );        
        
        Iterator<ValueExpressionVariable> paramVarsIter = paramVars.iterator(); 
        int index = 0;
		StringBuffer paramMdPropBuf = new StringBuffer( );
        while ( paramVarsIter.hasNext( ) )
		{