Class GovernanceDefinitionMetricProperties
- java.lang.Object
-
- org.odpi.openmetadata.accessservices.governanceprogram.properties.RelationshipProperties
-
- org.odpi.openmetadata.accessservices.governanceprogram.properties.GovernanceDefinitionMetricProperties
-
- All Implemented Interfaces:
Serializable
public class GovernanceDefinitionMetricProperties extends RelationshipProperties
GovernanceDefinitionMetricProperties defines the properties that link a metric to a governance definition.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GovernanceDefinitionMetricProperties()Default constructorGovernanceDefinitionMetricProperties(GovernanceDefinitionMetricProperties 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.RelationshipProperties
getEffectiveFrom, getEffectiveTo, getExtendedProperties, setEffectiveFrom, setEffectiveTo, setExtendedProperties
-
-
-
-
Constructor Detail
-
GovernanceDefinitionMetricProperties
public GovernanceDefinitionMetricProperties()
Default constructor
-
GovernanceDefinitionMetricProperties
public GovernanceDefinitionMetricProperties(GovernanceDefinitionMetricProperties 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 classRelationshipProperties- 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 classRelationshipProperties- Parameters:
objectToCompare- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()
Return has code based on properties.- Overrides:
hashCodein classRelationshipProperties- Returns:
- int
-
-