Class ExternalReferenceProperties

  • All Implemented Interfaces:
    java.io.Serializable

    public class ExternalReferenceProperties
    extends java.lang.Object
    implements java.io.Serializable
    ExternalReferenceProperties stores information about an link to an external resource that is relevant to a personal profile or a community.
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object objectToCompare)
      Compare the values of the supplied object with those stored in the current object.
      java.util.Map<java.lang.String,​java.lang.String> getAdditionalProperties()
      Return any additional properties associated with the element.
      java.util.Map<java.lang.String,​java.lang.Object> getExtendedProperties()
      Return any properties associated with the subclass of this element.
      java.lang.String getLinkDescription()
      Return the description of the reference (with respect to the element that this reference is linked to).
      java.lang.String getLinkId()
      Return the identifier given to this reference (with respect to this element).
      java.lang.String getOwningOrganization()
      Return the name of the organization that owns the resource that this external reference represents.
      java.lang.String getResourceDescription()
      Return the description of the resource that this external reference represents.
      java.lang.String getResourceDisplayName()
      Return the display name of this external reference.
      java.lang.String getResourceId()
      Return the fully qualified name.
      java.lang.String getResourceURL()
      Return the URL used to retrieve the resource that this external reference represents.
      java.lang.String getResourceVersion()
      Return the version of the resource that this external reference represents.
      java.lang.String getTypeName()
      Return the type name of the external reference = null for default.
      int hashCode()
      Uses the guid to create a hashcode.
      void setAdditionalProperties​(java.util.Map<java.lang.String,​java.lang.String> additionalProperties)
      Set up any additional properties associated with the element.
      void setExtendedProperties​(java.util.Map<java.lang.String,​java.lang.Object> additionalProperties)
      Set up any additional properties associated with the element.
      void setLinkDescription​(java.lang.String linkDescription)
      Set up the description of the reference (with respect to the element that this reference is linked to).
      void setLinkId​(java.lang.String linkId)
      Set up the identifier given to this reference (with respect to this element).
      void setOwningOrganization​(java.lang.String owningOrganization)
      Set up the name of the organization that owns the resource that this external reference represents.
      void setResourceDescription​(java.lang.String resourceDescription)
      Set up the description of the resource that this external reference represents.
      void setResourceDisplayName​(java.lang.String name)
      Set up the display name of this external reference.
      void setResourceId​(java.lang.String resourceId)
      Set up the fully qualified name.
      void setResourceURL​(java.lang.String url)
      Set up the URL used to retrieve the resource that this external reference represents.
      void setResourceVersion​(java.lang.String version)
      Set up the version of the resource that this external reference represents.
      void setTypeName​(java.lang.String typeName)
      Set up the type name of the external reference = null for default.
      java.lang.String toString()
      Standard toString method.
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • ExternalReferenceProperties

        public ExternalReferenceProperties()
        Default constructor
      • ExternalReferenceProperties

        public ExternalReferenceProperties​(ExternalReferenceProperties template)
        Copy/clone constructor.
        Parameters:
        template - element to copy
    • Method Detail

      • getLinkId

        public java.lang.String getLinkId()
        Return the identifier given to this reference (with respect to this element).
        Returns:
        linkId
      • setLinkId

        public void setLinkId​(java.lang.String linkId)
        Set up the identifier given to this reference (with respect to this element).
        Parameters:
        linkId - String name
      • getLinkDescription

        public java.lang.String getLinkDescription()
        Return the description of the reference (with respect to the element that this reference is linked to).
        Returns:
        String link description.
      • setLinkDescription

        public void setLinkDescription​(java.lang.String linkDescription)
        Set up the description of the reference (with respect to the element that this reference is linked to).
        Parameters:
        linkDescription - String description
      • getResourceId

        public java.lang.String getResourceId()
        Return the fully qualified name.
        Returns:
        String resourceId
      • setResourceId

        public void setResourceId​(java.lang.String resourceId)
        Set up the fully qualified name.
        Parameters:
        resourceId - String identifier
      • getResourceDisplayName

        public java.lang.String getResourceDisplayName()
        Return the display name of this external reference.
        Returns:
        String display name.
      • setResourceDisplayName

        public void setResourceDisplayName​(java.lang.String name)
        Set up the display name of this external reference.
        Parameters:
        name - - string name
      • getResourceDescription

        public java.lang.String getResourceDescription()
        Return the description of the resource that this external reference represents.
        Returns:
        String description
      • setResourceDescription

        public void setResourceDescription​(java.lang.String resourceDescription)
        Set up the description of the resource that this external reference represents.
        Parameters:
        resourceDescription - String description
      • getResourceURL

        public java.lang.String getResourceURL()
        Return the URL used to retrieve the resource that this external reference represents.
        Returns:
        String URL
      • setResourceURL

        public void setResourceURL​(java.lang.String url)
        Set up the URL used to retrieve the resource that this external reference represents.
        Parameters:
        url - String URL
      • getResourceVersion

        public java.lang.String getResourceVersion()
        Return the version of the resource that this external reference represents.
        Returns:
        String version identifier
      • setResourceVersion

        public void setResourceVersion​(java.lang.String version)
        Set up the version of the resource that this external reference represents.
        Parameters:
        version - String identifier
      • getOwningOrganization

        public java.lang.String getOwningOrganization()
        Return the name of the organization that owns the resource that this external reference represents.
        Returns:
        String organization name
      • setOwningOrganization

        public void setOwningOrganization​(java.lang.String owningOrganization)
        Set up the name of the organization that owns the resource that this external reference represents.
        Parameters:
        owningOrganization - String name
      • getTypeName

        public java.lang.String getTypeName()
        Return the type name of the external reference = null for default.
        Returns:
        string name
      • setTypeName

        public void setTypeName​(java.lang.String typeName)
        Set up the type name of the external reference = null for default.
        Parameters:
        typeName - string name
      • getExtendedProperties

        public java.util.Map<java.lang.String,​java.lang.Object> getExtendedProperties()
        Return any properties associated with the subclass of this element.
        Returns:
        map of property names to property values
      • setExtendedProperties

        public void setExtendedProperties​(java.util.Map<java.lang.String,​java.lang.Object> additionalProperties)
        Set up any additional properties associated with the element.
        Parameters:
        additionalProperties - map of property names to property values
      • getAdditionalProperties

        public java.util.Map<java.lang.String,​java.lang.String> getAdditionalProperties()
        Return any additional properties associated with the element.
        Returns:
        map of property names to property values
      • setAdditionalProperties

        public void setAdditionalProperties​(java.util.Map<java.lang.String,​java.lang.String> additionalProperties)
        Set up any additional properties associated with the element.
        Parameters:
        additionalProperties - map of property names to property values
      • toString

        public java.lang.String toString()
        Standard toString method.
        Overrides:
        toString in class java.lang.Object
        Returns:
        print out of variables in a JSON-style
      • equals

        public boolean equals​(java.lang.Object objectToCompare)
        Compare the values of the supplied object with those stored in the current object.
        Overrides:
        equals in class java.lang.Object
        Parameters:
        objectToCompare - supplied object
        Returns:
        boolean result of comparison
      • hashCode

        public int hashCode()
        Uses the guid to create a hashcode.
        Overrides:
        hashCode in class java.lang.Object
        Returns:
        int hash code