this.queryIDs.put( query, item );
this.queryIDs.put( query, String.valueOf( item.getID( ) ) );
		protected BaseQueryDefinition createQuery( ReportItemDesign item )		{			DataSetHandle dsHandle = ( (ReportItemHandle) item.getHandle( ) )					.getDataSet( );			if ( dsHandle == null )			{				// dataset reference error				String dsName = (String) ( (ReportItemHandle) item.getHandle( ) )						.getProperty( ReportItemHandle.DATA_SET_PROP );				if ( dsName != null && dsName.length( ) > 0 )				{					context.addException( item.getHandle( ),							new EngineException(									MessageConstants.UNDEFINED_DATASET_ERROR,									dsName ) );				}			}			if ( dsHandle != null )			{				ReportItemHandle riHandle = (ReportItemHandle) item.getHandle( );				QueryDefinition query = new QueryDefinition( getParentQuery( ) );				query.setDataSetName( dsHandle.getQualifiedName( ) );				ArrayList bindings = createParamBindings( riHandle						.paramBindingsIterator( ) );				if ( bindings.size( ) > 0 )				{					query.getInputParamBindings( ).addAll( bindings );					IBaseTransform trans = getTransform( );					if ( trans != null )					{						for ( int i = 0; i < bindings.size( ); i++ )						{							IInputParameterBinding binding = (IInputParameterBinding) bindings									.get( i );							trans.getRowExpressions( ).add( binding.getExpr( ) );						}					}				}				this.queryIDs.put( query, item );				this.queries.add( query );				item.setQuery( query );				return query;			}			return null;		}