Class GovernanceResultsProperties

java.lang.Object
org.odpi.openmetadata.frameworks.openmetadata.properties.RelationshipProperties
org.odpi.openmetadata.frameworks.openmetadata.properties.governance.GovernanceResultsProperties

public class GovernanceResultsProperties extends RelationshipProperties
GovernanceResultsProperties defines the properties that link a metric to a data set that contains the measurements.
  • Constructor Details

    • GovernanceResultsProperties

      public GovernanceResultsProperties()
      Default constructor
    • GovernanceResultsProperties

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

    • getQuery

      public String getQuery()
      Return the query that explains how the results are extracted from the data set.
      Returns:
      string description
    • setQuery

      public void setQuery(String query)
      Set up the query that explains how the results are extracted from the data set.
      Parameters:
      query - 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