Bug 172273 Grid insert to masterpage dosen't display propertily [05]
Build Number: 2.2.0.v20070131-1050 Description: As the screenshot, insert a grid (3*3) in the master page.It can't be display propertily. Step to reproduce: 1. new a report and switch to masterpage 2. insert a grid (3*3) Actual result: Please refer to the screenshot, it's abnormal.
model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/api/olap/HierarchyHandle.java
* 
	 * @return a list of primary keys if set, otherwise null
	 */
	public List getPrimaryKeys( )
	{
		return getListProperty( PRIMARY_KEYS_PROP );
	}
	/**
	 * Gets the count of the level elements within this hierarchy.
	 * 
	 * @return count of the level elements if set, otherwise 0
	 */
	public int getLevelCount( )
	{
		return getPropertyHandle( LEVELS_PROP ).getContentCount( );
	}
	/**
	 * Gets the level handle by the name within this hierarchy.
	 * 
	 * @param levelName
	 *            name of the level to find
	 * @return the level within this hierarchy if found, otherwise null
	 */
	public LevelHandle getLevel( String levelName )
	{
		DesignElementHandle levelHandle = this.getModuleHandle( ).findCube(
				levelName );
		if ( levelHandle instanceof LevelHandle
				&& levelHandle.getContainer( ) == this )
			return (LevelHandle) levelHandle;