Class ExternalReferenceLinkProperties

  • All Implemented Interfaces:
    java.io.Serializable

    public class ExternalReferenceLinkProperties
    extends RelationshipProperties
    ExternalReferenceLinkProperties provides a structure for the properties that link an external reference to an object.
    See Also:
    Serialized Form
    • Constructor Detail

      • ExternalReferenceLinkProperties

        public ExternalReferenceLinkProperties()
        Default constructor
      • ExternalReferenceLinkProperties

        public ExternalReferenceLinkProperties​(ExternalReferenceLinkProperties template)
        Copy/clone constructor
        Parameters:
        template - object to copy
    • Method Detail

      • getLinkId

        public java.lang.String getLinkId()
        Return the identifier that this reference is to be known as with respect to the linked object.
        Returns:
        String identifier
      • setLinkId

        public void setLinkId​(java.lang.String linkId)
        Set up the identifier that this reference is to be known as with respect to the linked object.
        Parameters:
        linkId - String identifier
      • getLinkDescription

        public java.lang.String getLinkDescription()
        Return the description of the external reference with respect to the linked object.
        Returns:
        string
      • setLinkDescription

        public void setLinkDescription​(java.lang.String linkDescription)
        Set up the description of the external reference with respect to the linked object.
        Parameters:
        linkDescription - string
      • getPages

        public java.lang.String getPages()
        Return the page range for the reference.
        Returns:
        string
      • setPages

        public void setPages​(java.lang.String pages)
        Set up the page range for the reference.
        Parameters:
        pages - string
      • toString

        public java.lang.String toString()
        JSON-style toString.
        Overrides:
        toString in class RelationshipProperties
        Returns:
        list of properties and their values.
      • equals

        public boolean equals​(java.lang.Object objectToCompare)
        Equals method that returns true if containing properties are the same.
        Overrides:
        equals in class RelationshipProperties
        Parameters:
        objectToCompare - object to compare
        Returns:
        boolean result of comparison