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
ConstructorsConstructorDescriptionDefault constructorCopy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionbooleanCompare the values of the supplied object with those stored in the current object.Return the reason why the new definition supports the original definition.inthashCode()Return hash code based on properties.voidsetRationale(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:
toStringin 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:
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
-