Iterator iterator = dataSets.iterator( ); while ( iterator.hasNext( ) ) { DataSetHandle DataSetHandle = (DataSetHandle) iterator.next( ); list.add( DataSetHandle.getName( ) ); }
DataSetHandle DataSetHandle = (DataSetHandle) iterator.next( ); list.add( DataSetHandle.getQualifiedName( ) );
	public static String[] getDataSets( )	{		ArrayList list = new ArrayList( );		ModuleHandle handle = SessionHandleAdapter.getInstance( )				.getReportDesignHandle( );		SlotHandle dataSets = handle.getDataSets( );		if ( dataSets != null )		{			Iterator iterator = dataSets.iterator( );			while ( iterator.hasNext( ) )			{				DataSetHandle DataSetHandle = (DataSetHandle) iterator.next( );				list.add( DataSetHandle.getName( ) );			}		}		return (String[]) list.toArray( new String[0] );	}