if ( IExtendedItemModel.EXTENSION_NAME_PROP.equals( prop.getName( ) ) ) { throw new PropertyValueException( element, IExtendedItemModel.EXTENSION_NAME_PROP, value, PropertyValueException.DESIGN_EXCEPTION_EXTENSION_SETTING_FORBIDDEN ); }
propName = StringUtil.trimString( propName );
	public void setProperty( ElementPropertyDefn prop, Object value )			throws SemanticException	{		if ( IExtendedItemModel.EXTENSION_NAME_PROP.equals( prop.getName( ) ) )		{			throw new PropertyValueException(					element,					IExtendedItemModel.EXTENSION_NAME_PROP,					value,					PropertyValueException.DESIGN_EXCEPTION_EXTENSION_SETTING_FORBIDDEN );		}		String mask = element.getPropertyMask( module, prop.getName( ) );		if ( DesignChoiceConstants.PROPERTY_MASK_TYPE_LOCK				.equalsIgnoreCase( mask ) )		{			throw new PropertyValueException( element, prop, value,					PropertyValueException.DESIGN_EXCEPTION_VALUE_LOCKED );		}		// Within child element, properties that can cause structure change are		// not allowed to set.		if ( element.isVirtualElement( ) && element instanceof Cell )		{			String propName = prop.getName( );			if ( Cell.COL_SPAN_PROP.equalsIgnoreCase( propName )					|| Cell.ROW_SPAN_PROP.equalsIgnoreCase( propName )					|| Cell.DROP_PROP.equalsIgnoreCase( propName )					|| Cell.COLUMN_PROP.equalsIgnoreCase( propName ) )			{				throw new PropertyValueException(						element,						prop,						value,						PropertyValueException.DESIGN_EXCEPTION_PROPERTY_CHANGE_FORBIDDEN );			}		}		value = validateValue( prop, value );		// Set the property.		if ( prop.isIntrinsic( ) )		{			setIntrinsicProperty( prop, value );		}		else		{			doSetProperty( prop, value );		}	}