public class GovernanceLink extends ElementStub
GovernanceLink is used to show a relationship between different governance definitions of the same type.
  • 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(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 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 ElementStub
      Parameters:
      objectToCompare - supplied object
      Returns:
      boolean result of comparison
    • hashCode

      public int hashCode()
      Return hash code based on properties.
      Overrides:
      hashCode in class ElementStub
      Returns:
      int