java.lang.Object
org.odpi.openmetadata.accessservices.governanceprogram.properties.RelationshipProperties
org.odpi.openmetadata.accessservices.governanceprogram.properties.PeerDefinitionProperties
All Implemented Interfaces:
Serializable

public class PeerDefinitionProperties extends RelationshipProperties
PeerDefinitionProperties provides a details of how two governance definitions are related.
See Also:
  • Constructor Details

    • PeerDefinitionProperties

      public PeerDefinitionProperties()
      Default constructor
    • PeerDefinitionProperties

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

    • getDescription

      public String getDescription()
      Return the reason why the governance definitions are related.
      Returns:
      description
    • setDescription

      public void setDescription(String description)
      Set up the reason why the governance definitions are related.
      Parameters:
      description - description
    • toString

      public String toString()
      JSON-style toString
      Overrides:
      toString in class RelationshipProperties
      Returns:
      return string containing the property names and 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 RelationshipProperties
      Parameters:
      objectToCompare - supplied object
      Returns:
      boolean result of comparison
    • hashCode

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