Class ClassPropertyReference

    • Constructor Detail

      • ClassPropertyReference

        public ClassPropertyReference​(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
      • ClassPropertyReference

        protected ClassPropertyReference​(EntityReference reference,
                                         EntityReference oldReference,
                                         EntityReference newReference)
        Clone an ClassPropertyReference, 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
      • ClassPropertyReference

        public ClassPropertyReference​(String propertyName,
                                      DocumentReference classReference)
        Builds a property reference for the passed property in the passed object.
        Parameters:
        propertyName - the name of the property to create reference for
        classReference - the reference to the class whose property is
      • ClassPropertyReference

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

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