java.lang.Object
org.odpi.openmetadata.accessservices.assetcatalog.model.ElementOrigin
All Implemented Interfaces:
Serializable

public class ElementOrigin extends Object implements Serializable
The ElementOrigin object holds information about the origin of the retrieved element. This means information about the metadata server, the metadata collection ID and name, etc.
See Also:
  • Constructor Details

    • ElementOrigin

      public ElementOrigin()
  • Method Details

    • getSourceServer

      public String getSourceServer()
      Returns the name of the server
      Returns:
      String - the name of the server
    • getMetadataCollectionId

      public String getMetadataCollectionId()
      Returns the id of the metadata collection.
      Returns:
      String - the id of the metadata collection.
    • getMetadataCollectionName

      public String getMetadataCollectionName()
      Returns the name of the metadata collection.
      Returns:
      String - the name of the metadata collection.
    • getInstanceLicense

      public String getInstanceLicense()
      Returns the license for this instance.
      Returns:
      String - the license string.
    • getOriginCategory

      public ElementOriginCategory getOriginCategory()
      Returns the origin category
      Returns:
      the value from the enum representing the origin category
    • setSourceServer

      public void setSourceServer(String sourceServer)
      Set up the name of the server
      Parameters:
      sourceServer - - name of the server
    • setMetadataCollectionId

      public void setMetadataCollectionId(String metadataCollectionId)
      Set up the id of the metadata collection.
      Parameters:
      metadataCollectionId - - id of the metadata collection.
    • setMetadataCollectionName

      public void setMetadataCollectionName(String metadataCollectionName)
      Set up the name of the metadata collection.
      Parameters:
      metadataCollectionName - - name of the metadata collection.
    • setInstanceLicense

      public void setInstanceLicense(String instanceLicense)
      Set up the license string for this instance.
      Parameters:
      instanceLicense - - the license string.
    • setOriginCategory

      public void setOriginCategory(ElementOriginCategory originCategory)
      Set up the origin category of the element
      Parameters:
      originCategory - - the origin category value
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object