Class ObjectPropertyReference

    • Constructor Detail

      • ObjectPropertyReference

        public ObjectPropertyReference​(EntityReference reference)
        Constructor which would raise exceptions if the source entity reference does not have the appropriate type or parent, etc.
        Parameters:
        reference - the raw reference to build this object reference from
      • ObjectPropertyReference

        protected ObjectPropertyReference​(EntityReference reference,
                                          EntityReference oldReference,
                                          EntityReference newReference)
        Clone an ObjectPropertyReference, but replace one of the parent in the chain by a new one.
        Parameters:
        reference - the reference that is cloned
        oldReference - the old parent that will be replaced
        newReference - the new parent that will replace oldReference in the chain
        Since:
        3.3M2
      • ObjectPropertyReference

        public ObjectPropertyReference​(String propertyName,
                                       ObjectReference objectReference)
        Builds a property reference for the passed property in the passed object.
        Parameters:
        propertyName - the name of the property to create reference for
        objectReference - the reference to the object whose property is
      • ObjectPropertyReference

        public ObjectPropertyReference​(EntityReference reference,
                                       EntityReference parent)
        Clone an ObjectPropertyReference, but use the specified parent for its new parent.
        Parameters:
        reference - the reference to clone
        parent - the new parent to use
        Since:
        10.8RC1
      • ObjectPropertyReference

        @Deprecated
        public ObjectPropertyReference​(String wiki,
                                       String space,
                                       String page,
                                       String objectName,
                                       String propertyName)
        Deprecated.
        Deprecated constructor.
        Parameters:
        wiki - the wiki of the document where the parent object of this property is
        space - the space of the document where the parent object of this property is
        page - the document where the parent object of this property is
        objectName - the name of the parent object of this property
        propertyName - the name of the property to refer to