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
    • scope

      protected Referenceable scope
    • scopeDescription

      protected String scopeDescription
  • Constructor Details

    • ExternalIdentifier

      public ExternalIdentifier()
      Default constructor
    • ExternalIdentifier

      public ExternalIdentifier(ExternalIdentifier templateExternalIdentifier)
      Copy/clone constructor.
      Parameters:
      templateExternalIdentifier - 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
    • 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