Class GovernanceLink

  • All Implemented Interfaces:
    java.io.Serializable

    public class GovernanceLink
    extends ElementStub
    GovernanceLink is used to show a relationship between different governance definitions of the same type.
    See Also:
    Serialized Form
    • Constructor Detail

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

      • getDescription

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

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

        public java.lang.String toString()
        JSON-style toString.
        Overrides:
        toString in class ElementStub
        Returns:
        list of properties and their values.
      • equals

        public boolean equals​(java.lang.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