java.lang.Object
org.odpi.openmetadata.frameworks.connectors.properties.beans.PropertyBase
org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementControlHeader
org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementHeader
org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementStub
org.odpi.openmetadata.accessservices.governanceprogram.metadataelements.GovernanceLink
All Implemented Interfaces:
Serializable

public class GovernanceLink extends org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementStub
GovernanceLink is used to show a relationship between different governance definitions of the same type.
See Also:
  • Field Summary

    Fields inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.PropertyBase

    CURRENT_AUDIT_HEADER_VERSION
  • Constructor Summary

    Constructors
    Constructor
    Description
    Default Constructor
    Copy/clone Constructor - the resulting object.
    GovernanceLink(org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementStub template)
    Copy/clone Constructor - the resulting object.
  • 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 description of why these two governance definitions are linked.
    int
    Return hash code based on properties.
    void
    setDescription(String description)
    Set up the description of why these two governance definitions are linked.
    JSON-style toString.

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

    getUniqueName, setUniqueName

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

    getClassifications, getGUID, setClassifications, setGUID

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

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

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

    getHeaderVersion, setHeaderVersion

    Methods inherited from class java.lang.Object

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

    • GovernanceLink

      public GovernanceLink()
      Default Constructor
    • GovernanceLink

      public GovernanceLink(GovernanceLink template)
      Copy/clone Constructor - the resulting object.
      Parameters:
      template - object being copied
    • GovernanceLink

      public GovernanceLink(org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementStub template)
      Copy/clone Constructor - the resulting object.
      Parameters:
      template - object being copied
  • Method Details

    • getDescription

      public String getDescription()
      Return the description of why these two governance definitions are linked.
      Returns:
      string description
    • setDescription

      public void setDescription(String description)
      Set up the description of why these two governance definitions are linked.
      Parameters:
      description - string description
    • toString

      public String toString()
      JSON-style toString.
      Overrides:
      toString in class org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementStub
      Returns:
      list of properties and their values.
    • equals

      public boolean equals(Object objectToCompare)
      Compare the values of the supplied object with those stored in the current object.
      Overrides:
      equals in class org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementStub
      Parameters:
      objectToCompare - supplied object
      Returns:
      boolean result of comparison
    • hashCode

      public int hashCode()
      Return hash code based on properties.
      Overrides:
      hashCode in class org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementStub
      Returns:
      int