if ( DesignElement.NAME_PROP.equalsIgnoreCase( propDefn
if ( IDesignElementModel.NAME_PROP.equalsIgnoreCase( propDefn
	public static Map collectPropertyValues( DesignElement element )	{		if ( element == null )			return Collections.EMPTY_MAP;		Map map = new HashMap( );		Module root = element.getRoot( );		ContentIterator contentIterator = new ContentIterator( element );		while ( contentIterator.hasNext( ) )		{			DesignElement content = (DesignElement) contentIterator.next( );			Long baseId = new Long( content.getBaseId( ) );			List values = (List) map.get( baseId );			if ( values == null )			{				values = new ArrayList( );				map.put( baseId, values );			}			List propDefns = null;			if ( content instanceof ExtendedItem )				propDefns = ( (ExtendedItem) content ).getExtDefn( )						.getProperties( );			else				propDefns = content.getPropertyDefns( );			for ( int i = 0; i < propDefns.size( ); i++ )			{				PropertyDefn propDefn = (PropertyDefn) propDefns.get( i );				if ( DesignElement.NAME_PROP.equalsIgnoreCase( propDefn						.getName( ) )						|| DesignElement.EXTENDS_PROP								.equalsIgnoreCase( propDefn.getName( ) ) )					continue;				if ( content instanceof ExtendedItem						&& ExtendedItem.EXTENSION_NAME_PROP								.equalsIgnoreCase( propDefn.getName( ) ) )					continue;				String propName = propDefn.getName( );				Object propValue = content.getLocalProperty( root, propName );				if ( propValue == null )					continue;				if ( StyledElement.STYLE_PROP.equals( propName ) )				{					ReferenceValue refValue = (ReferenceValue) propValue;					propValue = refValue.getName( );				}				values.add( new Property( propName, propValue ) );			}		}		return map;	}