Class GovernanceLink
java.lang.Object
org.odpi.openmetadata.frameworks.connectors.properties.beans.PropertyBase
org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementControlHeader
org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementHeader
org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementStub
org.odpi.openmetadata.accessservices.governanceprogram.metadataelements.GovernanceLink
- All Implemented Interfaces:
Serializable
GovernanceLink is used to show a relationship between different governance definitions of the same type.
- See Also:
-
Field Summary
Fields inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.PropertyBase
CURRENT_AUDIT_HEADER_VERSION
-
Constructor Summary
ConstructorsConstructorDescriptionDefault ConstructorGovernanceLink
(GovernanceLink template) Copy/clone Constructor - the resulting object.GovernanceLink
(ElementStub template) Copy/clone Constructor - the resulting object. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Compare the values of the supplied object with those stored in the current object.Return the description of why these two governance definitions are linked.int
hashCode()
Return hash code based on properties.void
setDescription
(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.connectors.properties.beans.ElementStub
getUniqueName, setUniqueName
Methods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementHeader
getClassifications, getGUID, setClassifications, setGUID
Methods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementControlHeader
getOrigin, getStatus, getType, getVersions, setOrigin, setStatus, setType, setVersions
Methods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.PropertyBase
getHeaderVersion, setHeaderVersion
-
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:
toString
in classElementStub
- Returns:
- list of properties and their values.
-
equals
Compare the values of the supplied object with those stored in the current object.- Overrides:
equals
in classElementStub
- Parameters:
objectToCompare
- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()Return hash code based on properties.- Overrides:
hashCode
in classElementStub
- Returns:
- int
-