Class GovernanceDefinitionGraph
- java.lang.Object
-
- org.odpi.openmetadata.accessservices.governanceprogram.metadataelements.GovernanceDefinitionGraph
-
- All Implemented Interfaces:
Serializable,MetadataElement
public class GovernanceDefinitionGraph extends Object implements Serializable, MetadataElement
GovernanceDefinitionGraph documents the linked governance definitions of the governance program.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GovernanceDefinitionGraph()Default ConstructorGovernanceDefinitionGraph(GovernanceDefinitionGraph template)Copy/clone constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object objectToCompare)Compare the values of the supplied object with those stored in the current object.List<GovernanceDelegation>getChildren()Return the governance definitions that support this governance definition.ElementHeadergetElementHeader()Return the element header associated with the properties.List<ExternalReferenceElement>getExternalReferences()Return details of the external references that have been linked to this governance definition.List<GovernanceDelegation>getMetrics()Return the governance metrics that measure this governance definition.List<GovernanceDelegation>getParents()Return the list of governance definitions that are requirements for this governance definition.List<GovernanceLink>getPeers()Return the list of peer governance definitions that are related to this governance definition.GovernanceDefinitionPropertiesgetProperties()Return the properties of this governance definition.inthashCode()Return has code based on properties.voidsetChildren(List<GovernanceDelegation> children)Set up the governance definitions that support this governance definition.voidsetElementHeader(ElementHeader elementHeader)Set up the element header associated with the properties.voidsetExternalReferneces(List<ExternalReferenceElement> externalReferences)Set up the details of the external references that have been linked to this governance definition.voidsetMetrics(List<GovernanceDelegation> metrics)Set up the governance metrics that measure this governance definition.voidsetParents(List<GovernanceDelegation> parents)Set up the list of governance definition that are requirements for this governance definition.voidsetPeers(List<GovernanceLink> peers)Set up the list of governance definitions that are related to this governance definition.voidsetProperties(GovernanceDefinitionProperties properties)Set up the properties of this governance definition.StringtoString()JSON-style toString
-
-
-
Constructor Detail
-
GovernanceDefinitionGraph
public GovernanceDefinitionGraph()
Default Constructor
-
GovernanceDefinitionGraph
public GovernanceDefinitionGraph(GovernanceDefinitionGraph template)
Copy/clone constructor- Parameters:
template- object to copy
-
-
Method Detail
-
getElementHeader
public ElementHeader getElementHeader()
Return the element header associated with the properties.- Specified by:
getElementHeaderin interfaceMetadataElement- Returns:
- element header object
-
setElementHeader
public void setElementHeader(ElementHeader elementHeader)
Set up the element header associated with the properties.- Specified by:
setElementHeaderin interfaceMetadataElement- Parameters:
elementHeader- element header object
-
getProperties
public GovernanceDefinitionProperties getProperties()
Return the properties of this governance definition.- Returns:
- properties bean
-
setProperties
public void setProperties(GovernanceDefinitionProperties properties)
Set up the properties of this governance definition.- Parameters:
properties- properties bean
-
getParents
public List<GovernanceDelegation> getParents()
Return the list of governance definitions that are requirements for this governance definition.- Returns:
- list of governance definition stubs
-
setParents
public void setParents(List<GovernanceDelegation> parents)
Set up the list of governance definition that are requirements for this governance definition.- Parameters:
parents- list of governance definition stubs
-
getPeers
public List<GovernanceLink> getPeers()
Return the list of peer governance definitions that are related to this governance definition.- Returns:
- list of governance definition stubs
-
setPeers
public void setPeers(List<GovernanceLink> peers)
Set up the list of governance definitions that are related to this governance definition.- Parameters:
peers- list of governance definition stubs
-
getChildren
public List<GovernanceDelegation> getChildren()
Return the governance definitions that support this governance definition.- Returns:
- list of governance definition stubs
-
setChildren
public void setChildren(List<GovernanceDelegation> children)
Set up the governance definitions that support this governance definition.- Parameters:
children- list of governance definition stubs
-
getMetrics
public List<GovernanceDelegation> getMetrics()
Return the governance metrics that measure this governance definition.- Returns:
- list of governance definition stubs
-
setMetrics
public void setMetrics(List<GovernanceDelegation> metrics)
Set up the governance metrics that measure this governance definition.- Parameters:
metrics- list of governance definition stubs
-
getExternalReferences
public List<ExternalReferenceElement> getExternalReferences()
Return details of the external references that have been linked to this governance definition.- Returns:
- list of links to external references
-
setExternalReferneces
public void setExternalReferneces(List<ExternalReferenceElement> externalReferences)
Set up the details of the external references that have been linked to this governance definition.- Parameters:
externalReferences- list of links to external references
-
toString
public String toString()
JSON-style toString
-
equals
public boolean equals(Object objectToCompare)
Compare the values of the supplied object with those stored in the current object.
-
-