Class SupportingDefinitionProperties
java.lang.Object
org.odpi.openmetadata.frameworks.openmetadata.properties.RelationshipProperties
org.odpi.openmetadata.frameworks.openmetadata.properties.governance.SupportingDefinitionProperties
SupportingDefinitionProperties provides a details of why a governance definition is supporting other 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 reason why the new definition supports the original definition.int
hashCode()
Return hash code based on properties.void
setRationale
(String rationale) Set up the reason why the new definition supports the original definition.toString()
JSON-style toStringMethods inherited from class org.odpi.openmetadata.frameworks.openmetadata.properties.RelationshipProperties
getEffectiveFrom, getEffectiveTo, getExtendedProperties, setEffectiveFrom, setEffectiveTo, setExtendedProperties
-
Constructor Details
-
SupportingDefinitionProperties
public SupportingDefinitionProperties()Default constructor -
SupportingDefinitionProperties
Copy/clone constructor- Parameters:
template
- object to copy
-
-
Method Details
-
getRationale
Return the reason why the new definition supports the original definition.- Returns:
- rationale
-
setRationale
Set up the reason why the new definition supports the original definition.- Parameters:
rationale
- rationale
-
toString
JSON-style toString- Overrides:
toString
in classRelationshipProperties
- Returns:
- return string containing the property names and 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
-