java.lang.Object
org.odpi.openmetadata.frameworks.governanceaction.properties.CatalogTargetProperties
org.odpi.openmetadata.frameworks.governanceaction.properties.CatalogTarget
Direct Known Subclasses:
RequestedCatalogTarget

public class CatalogTarget extends CatalogTargetProperties
CatalogTarget contains the properties for one of the integration connector's catalog targets. Each integration connector is optionally linked via the CatalogTarget relationship to one or more elements that the integration connector is working on. The catalogTargetElement contains details of the entity that represents the catalog target. It is extracted from entity proxy two of the catalog target relationship.
  • Constructor Details

    • CatalogTarget

      public CatalogTarget()
      Default constructor
    • CatalogTarget

      public CatalogTarget(CatalogTarget template)
      Copy/clone constructor
      Parameters:
      template - object to copy
  • Method Details

    • getRelationshipGUID

      public String getRelationshipGUID()
      Return the unique identifier of the CatalogTarget relationship. This is useful if the values in this relationship need to be updated.
      Returns:
      string guid
    • setRelationshipGUID

      public void setRelationshipGUID(String relationshipGUID)
      Set up the unique identifier of the CatalogTarget relationship. This is useful if the values in this relationship need to be updated.
      Parameters:
      relationshipGUID - string guid
    • getCatalogTargetElement

      public ElementStub getCatalogTargetElement()
      Return details of the catalog target element. This is extracted from the entity proxy so the classification list may not be complete.
      Returns:
      element stub
    • setCatalogTargetElement

      public void setCatalogTargetElement(ElementStub catalogTargetElement)
      Set up details of the catalog target element. This is extracted from the entity proxy so the classification list may not be complete.
      Parameters:
      catalogTargetElement - element stub
    • toString

      public String toString()
      JSON-style toString
      Overrides:
      toString in class CatalogTargetProperties
      Returns:
      return string containing the property names and values
    • equals

      public boolean equals(Object objectToCompare)
      Return comparison result based on the content of the properties.
      Overrides:
      equals in class CatalogTargetProperties
      Parameters:
      objectToCompare - test object
      Returns:
      result of comparison
    • hashCode

      public int hashCode()
      Return hash code for this object
      Overrides:
      hashCode in class CatalogTargetProperties
      Returns:
      int hash code