Class GovernanceMetricProperties

java.lang.Object
org.odpi.openmetadata.accessservices.governanceprogram.properties.ReferenceableProperties
org.odpi.openmetadata.accessservices.governanceprogram.properties.GovernanceMetricProperties

public class GovernanceMetricProperties extends ReferenceableProperties
GovernanceMetricProperties stores information about the way activity associated with a governance definition is to be measured.
  • Constructor Details

    • GovernanceMetricProperties

      public GovernanceMetricProperties()
      Default constructor
    • GovernanceMetricProperties

      public GovernanceMetricProperties(GovernanceMetricProperties template)
      Copy/clone constructor.
      Parameters:
      template - element to copy
  • Method Details

    • getDomainIdentifier

      public int getDomainIdentifier()
      Return the identifier of the governance domain that this metric is managed by.
      Returns:
      int identifier
    • setDomainIdentifier

      public void setDomainIdentifier(int domainIdentifier)
      Set up the identifier of the governance domain that this metric is managed by.
      Parameters:
      domainIdentifier - int identifier
    • getDisplayName

      public String getDisplayName()
      Return the display name of this governance metric.
      Returns:
      String display name.
    • setDisplayName

      public void setDisplayName(String displayName)
      Set up the display name of this governance metric.
      Parameters:
      displayName - - string name
    • getDescription

      public String getDescription()
      Return the description of this governance metric.
      Returns:
      String resource description
    • setDescription

      public void setDescription(String description)
      Set up the description of this governance metric.
      Parameters:
      description - text
    • getMeasurement

      public String getMeasurement()
      Return the description of the measurements needed to support this metric.
      Returns:
      String measurement description
    • setMeasurement

      public void setMeasurement(String measurement)
      Set up the description of the measurements needed to support this metric.
      Parameters:
      measurement - String measurement description
    • getTarget

      public String getTarget()
      Return the description of the targets that the organization is aiming to achieve.
      Returns:
      String target description.
    • setTarget

      public void setTarget(String target)
      Set up the description of the targets that the organization is aiming to achieve.
      Parameters:
      target - String target description
    • toString

      public String toString()
      Standard toString method.
      Overrides:
      toString in class ReferenceableProperties
      Returns:
      print out of variables in a JSON-style
    • equals

      public boolean equals(Object objectToCompare)
      Compare the values of the supplied object with those stored in the current object.
      Overrides:
      equals in class ReferenceableProperties
      Parameters:
      objectToCompare - supplied object
      Returns:
      boolean result of comparison
    • hashCode

      public int hashCode()
      Uses the guid to create a hashcode.
      Overrides:
      hashCode in class ReferenceableProperties
      Returns:
      int hash code