ModuleHandle module = setHandle.getModuleHandle( ); DataSetHandle target = module.findDataSet( value ); if ( target instanceof OdaDataSetHandle && target != setHandle ) new ModelOdaAdapter( ).updateDataSetHandle( valueQuery .getDataSetDesign( ), (OdaDataSetHandle) target, false ); }
	private void updateROMDyanmicList( DynamicValuesQuery valueQuery,			DynamicValuesQuery cachedValueQuery,			ScalarParameterHandle reportParam ) throws SemanticException	{		if ( valueQuery == null )			return;		String value = valueQuery.getDataSetDesign( ).getName( );		String cachedValue = cachedValueQuery == null ? null : cachedValueQuery				.getDataSetDesign( ).getName( );		if ( cachedValue == null || !cachedValue.equals( value ) )			reportParam.setDataSetName( value );		value = valueQuery.getValueColumn( );		cachedValue = cachedValueQuery == null ? null : cachedValueQuery				.getValueColumn( );		if ( cachedValue == null || !cachedValue.equals( value ) )			reportParam.setValueExpr( value );		value = valueQuery.getDisplayNameColumn( );		cachedValue = cachedValueQuery == null ? null : cachedValueQuery				.getDisplayNameColumn( );		if ( cachedValue == null || !cachedValue.equals( value ) )			reportParam.setLabelExpr( value );	}