DesignElementHandle handle = design.getHandle( ); if ( handle instanceof ReportItemHandle ) {  IResultSet rset = context.getDataEngine( ) .getResultSet( );  rowData = new RowData( rset, (ReportItemHandle) handle ); }
IResultSet rset = context.getDataEngine( ) .getResultSet( );  rowData = new RowData( rset, (ReportItemHandle) handle ); return rowData;
	public IRowData getRowData( )	{		if ( rowData == null )		{			// see if the report element has query			Object objGen = content.getGenerateBy( );			if ( objGen instanceof ReportItemDesign )			{				ReportItemDesign design = (ReportItemDesign) objGen;				if ( design.getQuery( ) != null )				{					DesignElementHandle handle = design.getHandle( );					if ( handle instanceof ReportItemHandle )					{						// get the current data set						IResultSet rset = context.getDataEngine( )								.getResultSet( );						// using the handle and the rste to create the row data.						rowData = new RowData( rset, (ReportItemHandle) handle );					}				}			}		}		return rowData;	}