Class GovernanceDelegation
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.GovernanceDelegation
- All Implemented Interfaces:
Serializable
GovernanceDelegation is used to show a relationship between different GovernanceDefinitions.
- See Also:
-
Field Summary
Fields inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.PropertyBase
CURRENT_AUDIT_HEADER_VERSION
-
Constructor Summary
ConstructorDescriptionDefault ConstructorGovernanceDelegation
(GovernanceDelegation template) Copy/clone Constructor - the resulting object.GovernanceDelegation
(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
setRationale
(String rationale) 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
-
GovernanceDelegation
public GovernanceDelegation()Default Constructor -
GovernanceDelegation
Copy/clone Constructor - the resulting object.- Parameters:
template
- object being copied
-
GovernanceDelegation
Copy/clone Constructor - the resulting object.- Parameters:
template
- object being copied
-
-
Method Details
-
getRationale
Return the description of why these two governance definitions are linked.- Returns:
- string description
-
setRationale
Set up the description of why these two governance definitions are linked.- Parameters:
rationale
- 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
-