All Implemented Interfaces:
Serializable

public class ExternalIdentifier extends Referenceable
ExternalIdentifier stores information about an identifier for the asset that is used in an external system. This is used for correlating information about the asset across different systems.
See Also:
  • Field Details

    • identifier

      protected String identifier
    • description

      protected String description
    • usage

      protected String usage
    • source

      protected String source
    • keyPattern

      protected KeyPattern keyPattern
    • externalInstanceCreatedBy

      protected String externalInstanceCreatedBy
    • externalInstanceCreationTime

      protected Date externalInstanceCreationTime
    • externalInstanceLastUpdatedBy

      protected String externalInstanceLastUpdatedBy
    • externalInstanceLastUpdateTime

      protected Date externalInstanceLastUpdateTime
    • externalInstanceVersion

      protected long externalInstanceVersion
    • scope

      protected Referenceable scope
    • scopeDescription

      protected String scopeDescription
  • Constructor Details

    • ExternalIdentifier

      public ExternalIdentifier()
      Default constructor
    • ExternalIdentifier

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

    • getIdentifier

      public String getIdentifier()
      Return the external identifier for this asset.
      Returns:
      String identifier
    • setIdentifier

      public void setIdentifier(String identifier)
      Set up the external identifier for this asset.
      Parameters:
      identifier - String identifier
    • getDescription

      public String getDescription()
      Return the description of the external identifier.
      Returns:
      String text
    • setDescription

      public void setDescription(String description)
      Set up the description of the external identifier.
      Parameters:
      description - String text
    • getUsage

      public String getUsage()
      Return a description of how, where and when this external identifier is used.
      Returns:
      String usage description
    • setUsage

      public void setUsage(String usage)
      Set up a description of how, where and when this external identifier is used.
      Parameters:
      usage - String usage description
    • getSource

      public String getSource()
      Return details of the source system where this external identifier comes from.
      Returns:
      String server identifier
    • setSource

      public void setSource(String source)
      Set up details of the source system where this external identifier comes from.
      Parameters:
      source - String server identifier
    • getKeyPattern

      public KeyPattern getKeyPattern()
      Return the key pattern that is used with this external identifier.
      Returns:
      KeyPattern enum
    • setKeyPattern

      public void setKeyPattern(KeyPattern keyPattern)
      Set up the key pattern that is used with this external identifier.
      Parameters:
      keyPattern - KeyPattern enum
    • getExternalInstanceCreatedBy

      public String getExternalInstanceCreatedBy()
      Return the username of the person or process that created the instance in the external system.
      Returns:
      name
    • setExternalInstanceCreatedBy

      public void setExternalInstanceCreatedBy(String externalInstanceCreatedBy)
      Set up the username of the person or process that created the instance in the external system.
      Parameters:
      externalInstanceCreatedBy - name
    • getExternalInstanceCreationTime

      public Date getExternalInstanceCreationTime()
      Return the date/time when the instance in the external system was created.
      Returns:
      date
    • setExternalInstanceCreationTime

      public void setExternalInstanceCreationTime(Date externalInstanceCreationTime)
      Set up the date/time when the instance in the external system was created.
      Parameters:
      externalInstanceCreationTime - date
    • getExternalInstanceLastUpdatedBy

      public String getExternalInstanceLastUpdatedBy()
      Return the username of the person or process that last updated the instance in the external system.
      Returns:
      name
    • setExternalInstanceLastUpdatedBy

      public void setExternalInstanceLastUpdatedBy(String externalInstanceLastUpdatedBy)
      Set up the username of the person or process that last updated the instance in the external system.
      Parameters:
      externalInstanceLastUpdatedBy - name
    • getExternalInstanceLastUpdateTime

      public Date getExternalInstanceLastUpdateTime()
      Return the date/time that the instance in the external system was last updated.
      Returns:
      date
    • setExternalInstanceLastUpdateTime

      public void setExternalInstanceLastUpdateTime(Date externalInstanceLastUpdateTime)
      Set up the date/time that the instance in the external system was last updated.
      Parameters:
      externalInstanceLastUpdateTime - date
    • getExternalInstanceVersion

      public long getExternalInstanceVersion()
      Return the latest version of the element in the external system.
      Returns:
      long
    • setExternalInstanceVersion

      public void setExternalInstanceVersion(long externalInstanceVersion)
      Set up the latest version of the element in the external system.
      Parameters:
      externalInstanceVersion - long
    • getScope

      public Referenceable getScope()
      Return the scope of this external identifier. This depends on the key pattern. It may be a server definition, a reference data set or glossary term.
      Returns:
      Referenceable scope
    • setScope

      public void setScope(Referenceable scope)
      Set up the scope of this external identifier. This depends on the key pattern. It may be a server definition, a reference data set or glossary term.
      Parameters:
      scope - Referenceable object defining the scope of this external identifier.
    • getScopeDescription

      public String getScopeDescription()
      Return the text description of the scope for this external identifier.
      Returns:
      String scope description
    • setScopeDescription

      public void setScopeDescription(String scopeDescription)
      Set up the text description of the scope for this external identifier.
      Parameters:
      scopeDescription - String scope description
    • 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