Class GovernanceLink
java.lang.Object
org.odpi.openmetadata.frameworks.openmetadata.metadataelements.ElementControlHeader
org.odpi.openmetadata.frameworks.openmetadata.metadataelements.ElementHeader
org.odpi.openmetadata.frameworks.openmetadata.metadataelements.ElementStub
org.odpi.openmetadata.frameworks.openmetadata.metadataelements.GovernanceLink
GovernanceLink is used to show a relationship between different governance definitions of the same type.
-
Field Summary
Fields inherited from class org.odpi.openmetadata.frameworks.openmetadata.metadataelements.ElementControlHeader
CURRENT_AUDIT_HEADER_VERSION -
Constructor Summary
ConstructorsConstructorDescriptionDefault ConstructorGovernanceLink(ElementStub template) Copy/clone Constructor - the resulting object.GovernanceLink(GovernanceLink template) Copy/clone Constructor - the resulting object. -
Method Summary
Modifier and TypeMethodDescriptionbooleanCompare the values of the supplied object with those stored in the current object.Return the description of why these two governance definitions are linked.inthashCode()Return hash code based on properties.voidsetDescription(String description) Set up the description of why these two governance definitions are linked.toString()JSON-style toString.Methods inherited from class org.odpi.openmetadata.frameworks.openmetadata.metadataelements.ElementStub
getUniqueName, setUniqueNameMethods inherited from class org.odpi.openmetadata.frameworks.openmetadata.metadataelements.ElementHeader
getClassifications, getGUID, setClassifications, setGUIDMethods inherited from class org.odpi.openmetadata.frameworks.openmetadata.metadataelements.ElementControlHeader
getHeaderVersion, getOrigin, getStatus, getType, getVersions, setHeaderVersion, setOrigin, setStatus, setType, setVersions
-
Constructor Details
-
GovernanceLink
public GovernanceLink()Default Constructor -
GovernanceLink
Copy/clone Constructor - the resulting object.- Parameters:
template- object being copied
-
GovernanceLink
Copy/clone Constructor - the resulting object.- Parameters:
template- object being copied
-
-
Method Details
-
getDescription
Return the description of why these two governance definitions are linked.- Returns:
- string description
-
setDescription
Set up the description of why these two governance definitions are linked.- Parameters:
description- string description
-
toString
JSON-style toString.- Overrides:
toStringin classElementStub- Returns:
- list of properties and their values.
-
equals
Compare the values of the supplied object with those stored in the current object.- Overrides:
equalsin classElementStub- Parameters:
objectToCompare- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()Return hash code based on properties.- Overrides:
hashCodein classElementStub- Returns:
- int
-