Bug 191637 Empty cube causes error
Comment removed as requested by the submitter - 2007-06-08 droy
data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/olap/data/impl/dimension/Dimension.java
public Level getDetailLevel( )
	{
		return (Level)(hierarchy.getLevels( )[hierarchy.getLevels( ).length - 1]);
	}
	
	
	/* (non-Javadoc)
	 * @see org.eclipse.birt.data.olap.data.api.IDimension#findAll()
	 */
	public IDiskArray findAll( ) throws IOException
	{
		IDiskArray result = new BufferedPrimitiveDiskArray( Constants.LIST_BUFFER_SIZE );
		int lastPos = length( ) - 1;
		for ( int i = 0; i <= lastPos; i++ )
		{
			result.add( new Integer(i) );
		}
		return result;
	}
	
	/* (non-Javadoc)
	 * @see org.eclipse.birt.data.olap.data.api.IDimension#getName()
	 */
	public String getName()
	{
		return name;
	}
	
	/* (non-Javadoc)
	 * @see org.eclipse.birt.data.olap.data.api.IDimension#getHierarchy()