Class GovernanceDefinitionMetricProperties

java.lang.Object
org.odpi.openmetadata.accessservices.governanceprogram.properties.RelationshipProperties
org.odpi.openmetadata.accessservices.governanceprogram.properties.GovernanceDefinitionMetricProperties

public class GovernanceDefinitionMetricProperties extends RelationshipProperties
GovernanceDefinitionMetricProperties defines the properties that link a metric to a governance definition.
  • Constructor Details

    • GovernanceDefinitionMetricProperties

      public GovernanceDefinitionMetricProperties()
      Default constructor
    • GovernanceDefinitionMetricProperties

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

    • getRationale

      public String getRationale()
      Return the rationale as to why this metric is a good measure of the activity associated with the governance definition.
      Returns:
      string description
    • setRationale

      public void setRationale(String rationale)
      Set up the rationale as to why this metric is a good measure of the activity associated with the governance definition.
      Parameters:
      rationale - string description
    • toString

      public String toString()
      JSON-style toString
      Overrides:
      toString in class RelationshipProperties
      Returns:
      string containing the 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 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