Class SupportingDefinitionProperties

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

public class SupportingDefinitionProperties extends RelationshipProperties
SupportingDefinitionProperties provides a details of why a governance definition is supporting other governance definition.
See Also:
  • Constructor Details

    • SupportingDefinitionProperties

      public SupportingDefinitionProperties()
      Default constructor
    • SupportingDefinitionProperties

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

    • getRationale

      public String getRationale()
      Return the reason why the new definition supports the original definition.
      Returns:
      rationale
    • setRationale

      public void setRationale(String rationale)
      Set up the reason why the new definition supports the original definition.
      Parameters:
      rationale - rationale
    • 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