java.lang.Object
org.odpi.openmetadata.frameworks.openmetadata.metadataelements.ElementControlHeader
org.odpi.openmetadata.frameworks.openmetadata.metadataelements.ElementHeader
Direct Known Subclasses:
RelatedMediaReference

public class ExternalReference extends Referenceable
ExternalReference stores information about an link to an external resource that is relevant to this asset.
  • Field Summary

    Fields inherited from class org.odpi.openmetadata.frameworks.openmetadata.metadataelements.ElementControlHeader

    CURRENT_AUDIT_HEADER_VERSION
  • Constructor Summary

    Constructors
    Constructor
    Description
    Default constructor
    ExternalReference(ExternalReference templateExternalReference)
    Copy/clone constructor.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    equals(Object objectToCompare)
    Compare the values of the supplied object with those stored in the current object.
    Return the display name of this external reference.
    Return the description of the reference (with respect to this asset).
    Return the name of the organization that owns the resource that this external reference represents.
    Return the identifier given to this reference (with respect to this asset).
    Return the description of the resource that this external reference represents.
    Return the URI used to retrieve the resource that this external reference represents.
    Return the version of the resource that this external reference represents.
    int
    Hash of properties
    void
    setDisplayName(String displayName)
    Set up the display name of this external reference.
    void
    setLinkDescription(String linkDescription)
    Set up the description of the reference (with respect to the element this reference is linked to).
    void
    setOrganization(String organization)
    Set up the name of the organization that owns the resource that this external reference represents.
    void
    setReferenceId(String referenceId)
    Set up the identifier given to this reference (with respect to this asset).
    void
    setResourceDescription(String resourceDescription)
    Set up the description of the resource that this external reference represents.
    void
    Set up the URI used to retrieve the resource that this external reference represents.
    void
    setVersion(String version)
    Set up the version of the resource that this external reference represents.
    Standard toString method.

    Methods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.Referenceable

    getAdditionalProperties, getQualifiedName, setAdditionalProperties, setQualifiedName

    Methods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementBase

    getExtendedProperties, setExtendedProperties

    Methods inherited from class org.odpi.openmetadata.frameworks.openmetadata.metadataelements.ElementHeader

    getClassifications, getGUID, setClassifications, setGUID

    Methods inherited from class org.odpi.openmetadata.frameworks.openmetadata.metadataelements.ElementControlHeader

    getHeaderVersion, getOrigin, getStatus, getType, getVersions, setHeaderVersion, setOrigin, setStatus, setType, setVersions

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • ExternalReference

      public ExternalReference()
      Default constructor
    • ExternalReference

      public ExternalReference(ExternalReference templateExternalReference)
      Copy/clone constructor.
      Parameters:
      templateExternalReference - element to copy
  • Method Details

    • getReferenceId

      public String getReferenceId()
      Return the identifier given to this reference (with respect to this asset).
      Returns:
      String referenceId
    • setReferenceId

      public void setReferenceId(String referenceId)
      Set up the identifier given to this reference (with respect to this asset).
      Parameters:
      referenceId - String identifier
    • getLinkDescription

      public String getLinkDescription()
      Return the description of the reference (with respect to this asset).
      Returns:
      String link description.
    • setLinkDescription

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

      public String getDisplayName()
      Return the display name of this external reference.
      Returns:
      String display name.
    • setDisplayName

      public void setDisplayName(String displayName)
      Set up the display name of this external reference.
      Parameters:
      displayName - - string name
    • getURI

      public String getURI()
      Return the URI used to retrieve the resource that this external reference represents.
      Returns:
      String URI
    • setURI

      public void setURI(String uri)
      Set up the URI used to retrieve the resource that this external reference represents.
      Parameters:
      uri - String URI
    • getResourceDescription

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

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

      public String getVersion()
      Return the version of the resource that this external reference represents.
      Returns:
      String version identifier
    • setVersion

      public void setVersion(String version)
      Set up the version of the resource that this external reference represents.
      Parameters:
      version - String identifier
    • getOrganization

      public String getOrganization()
      Return the name of the organization that owns the resource that this external reference represents.
      Returns:
      String organization name
    • setOrganization

      public void setOrganization(String organization)
      Set up the name of the organization that owns the resource that this external reference represents.
      Parameters:
      organization - String name
    • toString

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

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

      public int hashCode()
      Hash of properties
      Overrides:
      hashCode in class Referenceable
      Returns:
      int