Class PeerDefinitionProperties
java.lang.Object
org.odpi.openmetadata.frameworks.openmetadata.properties.RelationshipProperties
org.odpi.openmetadata.frameworks.openmetadata.properties.actors.PeerDefinitionProperties
PeerDefinitionProperties provides a details of how two governance definitions are related.
-
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 governance definitions are related.int
hashCode()
Return hash code based on properties.void
setDescription
(String description) Set up the reason why the governance definitions are related.toString()
JSON-style toStringMethods inherited from class org.odpi.openmetadata.frameworks.openmetadata.properties.RelationshipProperties
getEffectiveFrom, getEffectiveTo, getExtendedProperties, setEffectiveFrom, setEffectiveTo, setExtendedProperties
-
Constructor Details
-
PeerDefinitionProperties
public PeerDefinitionProperties()Default constructor -
PeerDefinitionProperties
Copy/clone constructor- Parameters:
template
- object to copy
-
-
Method Details
-
getDescription
Return the reason why the governance definitions are related.- Returns:
- description
-
setDescription
Set up the reason why the governance definitions are related.- Parameters:
description
- description
-
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
-