Class GovernanceDefinitionMetricProperties
java.lang.Object
org.odpi.openmetadata.frameworks.openmetadata.properties.RelationshipProperties
org.odpi.openmetadata.frameworks.openmetadata.properties.governance.GovernanceDefinitionMetricProperties
GovernanceDefinitionMetricProperties defines the properties that link a metric to a governance definition.
-
Constructor Summary
ConstructorDescriptionDefault constructorCopy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionboolean
Compare the values of the supplied object with those stored in the current object.Return the rationale as to why this metric is a good measure of the activity associated with the governance definition.int
hashCode()
Return hash code based on properties.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.toString()
JSON-style toStringMethods inherited from class org.odpi.openmetadata.frameworks.openmetadata.properties.RelationshipProperties
getEffectiveFrom, getEffectiveTo, getExtendedProperties, setEffectiveFrom, setEffectiveTo, setExtendedProperties
-
Constructor Details
-
GovernanceDefinitionMetricProperties
public GovernanceDefinitionMetricProperties()Default constructor -
GovernanceDefinitionMetricProperties
Copy/clone constructor- Parameters:
template
- object to copy
-
-
Method Details
-
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
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
JSON-style toString- Overrides:
toString
in classRelationshipProperties
- Returns:
- string containing the properties and their values
-
equals
Compare the values of the supplied object with those stored in the current object.- Overrides:
equals
in classRelationshipProperties
- Parameters:
objectToCompare
- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()Return hash code based on properties.- Overrides:
hashCode
in classRelationshipProperties
- Returns:
- int
-