Class GovernanceDefinitionGraph
java.lang.Object
org.odpi.openmetadata.frameworks.openmetadata.metadataelements.GovernanceDefinitionElement
org.odpi.openmetadata.frameworks.openmetadata.metadataelements.GovernanceDefinitionGraph
- All Implemented Interfaces:
MetadataElement
GovernanceDefinitionGraph documents the linked governance definitions of the governance program.
-
Constructor Summary
ConstructorsConstructorDescriptionDefault ConstructorCopy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionbooleanCompare 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.inthashCode()Return hash code based on properties.voidsetChildren(List<RelatedElement> children) Set up the governance definitions that support this governance definition.voidsetExternalReferences(List<RelatedElement> externalReferences) Set up the details of the external references that have been linked to this governance definition.voidsetMetrics(List<RelatedElement> metrics) Set up the governance metrics that measure this governance definition.voidsetOthers(List<RelatedElement> others) Set details of other relationships.voidsetParents(List<RelatedElement> parents) Set up the list of governance definition that are requirements for this governance definition.voidsetPeers(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.frameworks.openmetadata.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:
toStringin 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:
equalsin classGovernanceDefinitionElement- Parameters:
objectToCompare- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()Return hash code based on properties.- Overrides:
hashCodein classGovernanceDefinitionElement- Returns:
- int
-