PropertyType.ELEMENT_REF_TYPE );
IPropertyType.ELEMENT_REF_TYPE );
	public Object validateValue( Module module, PropertyDefn defn, Object value )			throws PropertyValueException	{		if ( value == null )		{			logger.log( Level.WARNING,					"The value of the structure property is null" ); //$NON-NLS-1$			return null;		}		if ( value instanceof String )		{			logger.log( Level.INFO,					"The value of the structure property is a string" ); //$NON-NLS-1$			String name = StringUtil.trimString( (String) value );			return StructureRefUtil.resolve( module, defn, name );		}		if ( value instanceof Structure )		{			logger					.log( Level.INFO,							"The value of the structure is a structure" ); //$NON-NLS-1$			Structure target = (Structure) value;			return StructureRefUtil.resolve( module, defn, target );		}		// Invalid property value.		logger.log( Level.INFO,				"The value of the structure property is invalid type" ); //$NON-NLS-1$		throw new PropertyValueException( value,				PropertyValueException.DESIGN_EXCEPTION_INVALID_VALUE,				PropertyType.ELEMENT_REF_TYPE );	}