Class GovernanceDefinitionMetric
- java.lang.Object
-
- org.odpi.openmetadata.accessservices.governanceprogram.properties.ReferenceableProperties
-
- org.odpi.openmetadata.accessservices.governanceprogram.properties.GovernanceMetricProperties
-
- org.odpi.openmetadata.accessservices.governanceprogram.properties.GovernanceDefinitionMetric
-
- All Implemented Interfaces:
Serializable
public class GovernanceDefinitionMetric extends GovernanceMetricProperties
GovernanceDefinitionMetric defines the metric for a governance definition.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GovernanceDefinitionMetric()Default constructorGovernanceDefinitionMetric(GovernanceDefinitionMetric template)Copy/clone constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object objectToCompare)Compare the values of the supplied object with those stored in the current object.StringgetRationale()Return the rationale as to why this metric is a good measure of the activity associated with the governance definition.inthashCode()Return has code based on properties.voidsetRationale(String rationale)Set up the rationale as to why this metric is a good measure of the activity associated with the governance definition.StringtoString()JSON-style toString-
Methods inherited from class org.odpi.openmetadata.accessservices.governanceprogram.properties.GovernanceMetricProperties
getDescription, getDisplayName, getDomainIdentifier, getMeasurement, getTarget, setDescription, setDisplayName, setDomainIdentifier, setMeasurement, setTarget
-
Methods inherited from class org.odpi.openmetadata.accessservices.governanceprogram.properties.ReferenceableProperties
getAdditionalProperties, getExtendedProperties, getQualifiedName, getTypeName, setAdditionalProperties, setExtendedProperties, setQualifiedName, setTypeName
-
-
-
-
Constructor Detail
-
GovernanceDefinitionMetric
public GovernanceDefinitionMetric()
Default constructor
-
GovernanceDefinitionMetric
public GovernanceDefinitionMetric(GovernanceDefinitionMetric template)
Copy/clone constructor- Parameters:
template- object to copy
-
-
Method Detail
-
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:
toStringin classGovernanceMetricProperties- 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:
equalsin classGovernanceMetricProperties- Parameters:
objectToCompare- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()
Return has code based on properties.- Overrides:
hashCodein classGovernanceMetricProperties- Returns:
- int
-
-