Class PageObjectPropertyReference

    • Constructor Detail

      • PageObjectPropertyReference

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

        protected PageObjectPropertyReference​(EntityReference reference,
                                              EntityReference oldReference,
                                              EntityReference newReference)
        Clone an ObjectPropertyReference, but replace one of the parent in the chain by a new one.
        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
      • PageObjectPropertyReference

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

        public PageObjectPropertyReference​(EntityReference reference,
                                           EntityReference parent)
        Clone an PageObjectPropertyReference, but use the specified parent for its new parent.
        reference - the reference to clone
        parent - the new parent to use