Class GovernanceDefinitionGraph
java.lang.Object
org.odpi.openmetadata.accessservices.governanceprogram.metadataelements.GovernanceDefinitionElement
org.odpi.openmetadata.accessservices.governanceprogram.metadataelements.GovernanceDefinitionGraph
- All Implemented Interfaces:
Serializable
,MetadataElement
GovernanceDefinitionGraph documents the linked governance definitions of the governance program.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDefault ConstructorCopy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionboolean
Compare the values of the supplied object with those stored in the current object.Return the governance definitions that support this governance definition.Return details of the external references that have been linked to this governance definition.Return the governance metrics that measure this governance definition.Return details of other relationshipsReturn the list of governance definitions that are requirements for this governance definition.getPeers()
Return the list of peer governance definitions that are related to this governance definition.int
hashCode()
Return hash code based on properties.void
setChildren
(List<RelatedElement> children) Set up the governance definitions that support this governance definition.void
setExternalReferences
(List<RelatedElement> externalReferences) Set up the details of the external references that have been linked to this governance definition.void
setMetrics
(List<RelatedElement> metrics) Set up the governance metrics that measure this governance definition.void
setOthers
(List<RelatedElement> others) Set details of other relationships.void
setParents
(List<RelatedElement> parents) Set up the list of governance definition that are requirements for this governance definition.void
setPeers
(List<RelatedElement> peers) Set up the list of governance definitions that are related to this governance definition.toString()
JSON-style toStringMethods inherited from class org.odpi.openmetadata.accessservices.governanceprogram.metadataelements.GovernanceDefinitionElement
getElementHeader, getProperties, getRelatedElement, setElementHeader, setProperties, setRelatedElement
-
Constructor Details
-
GovernanceDefinitionGraph
public GovernanceDefinitionGraph()Default Constructor -
GovernanceDefinitionGraph
Copy/clone constructor- Parameters:
template
- object to copy
-
-
Method Details
-
getParents
Return the list of governance definitions that are requirements for this governance definition.- Returns:
- list of governance definition stubs
-
setParents
Set up the list of governance definition that are requirements for this governance definition.- Parameters:
parents
- list of governance definition stubs
-
getPeers
Return the list of peer governance definitions that are related to this governance definition.- Returns:
- list of governance definition stubs
-
setPeers
Set up the list of governance definitions that are related to this governance definition.- Parameters:
peers
- list of governance definition stubs
-
getChildren
Return the governance definitions that support this governance definition.- Returns:
- list of governance definition stubs
-
setChildren
Set up the governance definitions that support this governance definition.- Parameters:
children
- list of governance definition stubs
-
getMetrics
Return the governance metrics that measure this governance definition.- Returns:
- list of governance definition stubs
-
setMetrics
Set up the governance metrics that measure this governance definition.- Parameters:
metrics
- list of governance definition stubs
-
getExternalReferences
Return details of the external references that have been linked to this governance definition.- Returns:
- list of links to external references
-
setExternalReferences
Set up the details of the external references that have been linked to this governance definition.- Parameters:
externalReferences
- list of links to external references
-
getOthers
Return details of other relationships- Returns:
- details of other related elements
-
setOthers
Set details of other relationships.- Parameters:
others
- details of other related elements
-
toString
JSON-style toString- Overrides:
toString
in classGovernanceDefinitionElement
- Returns:
- string containing the properties and their values
-
equals
Compare the values of the supplied object with those stored in the current object.- Overrides:
equals
in classGovernanceDefinitionElement
- Parameters:
objectToCompare
- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()Return hash code based on properties.- Overrides:
hashCode
in classGovernanceDefinitionElement
- Returns:
- int
-