Class GovernanceDefinitionMetricProperties
java.lang.Object
org.odpi.openmetadata.accessservices.governanceprogram.properties.RelationshipProperties
org.odpi.openmetadata.accessservices.governanceprogram.properties.GovernanceDefinitionMetricProperties
- All Implemented Interfaces:
Serializable
GovernanceDefinitionMetricProperties defines the properties that link a metric to a governance definition.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorCopy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionbooleanCompare 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.inthashCode()Return hash 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.toString()JSON-style toStringMethods inherited from class org.odpi.openmetadata.accessservices.governanceprogram.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:
toStringin 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:
equalsin classRelationshipProperties- Parameters:
objectToCompare- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()Return hash code based on properties.- Overrides:
hashCodein classRelationshipProperties- Returns:
- int
-