Class SupportingDefinitionProperties
- java.lang.Object
-
- org.odpi.openmetadata.accessservices.governanceprogram.properties.RelationshipProperties
-
- org.odpi.openmetadata.accessservices.governanceprogram.properties.SupportingDefinitionProperties
-
- All Implemented Interfaces:
Serializable
public class SupportingDefinitionProperties extends RelationshipProperties
SupportingDefinitionProperties provides a details of why a governance definition is supporting other governance definition.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SupportingDefinitionProperties()Default constructorSupportingDefinitionProperties(SupportingDefinitionProperties 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 reason why the new definition supports the original definition.inthashCode()Return has code based on properties.voidsetRationale(String rationale)Set up the reason why the new definition supports the original definition.StringtoString()JSON-style toString-
Methods inherited from class org.odpi.openmetadata.accessservices.governanceprogram.properties.RelationshipProperties
getEffectiveFrom, getEffectiveTo, getExtendedProperties, setEffectiveFrom, setEffectiveTo, setExtendedProperties
-
-
-
-
Constructor Detail
-
SupportingDefinitionProperties
public SupportingDefinitionProperties()
Default constructor
-
SupportingDefinitionProperties
public SupportingDefinitionProperties(SupportingDefinitionProperties template)
Copy/clone constructor- Parameters:
template- object to copy
-
-
Method Detail
-
getRationale
public String getRationale()
Return the reason why the new definition supports the original definition.- Returns:
- rationale
-
setRationale
public void setRationale(String rationale)
Set up the reason why the new definition supports the original definition.- Parameters:
rationale- rationale
-
toString
public String toString()
JSON-style toString- Overrides:
toStringin classRelationshipProperties- Returns:
- return string containing the property names and 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
-
-