Class GovernanceDefinitionGraph
- java.lang.Object
-
- org.odpi.openmetadata.accessservices.governanceprogram.metadataelements.GovernanceDefinitionElement
-
- org.odpi.openmetadata.accessservices.governanceprogram.metadataelements.GovernanceDefinitionGraph
-
- All Implemented Interfaces:
Serializable,MetadataElement
public class GovernanceDefinitionGraph extends GovernanceDefinitionElement
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<RelatedElement>getChildren()Return the governance definitions that support this governance definition.List<RelatedElement>getExternalReferences()Return details of the external references that have been linked to this governance definition.List<RelatedElement>getMetrics()Return the governance metrics that measure this governance definition.List<RelatedElement>getOthers()Return details of other relationshipsList<RelatedElement>getParents()Return the list of governance definitions that are requirements for this governance definition.List<RelatedElement>getPeers()Return the list of peer governance definitions that are related to this governance definition.inthashCode()Return has 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.StringtoString()JSON-style toString-
Methods inherited from class org.odpi.openmetadata.accessservices.governanceprogram.metadataelements.GovernanceDefinitionElement
getElementHeader, getProperties, getRelatedElement, setElementHeader, setProperties, setRelatedElement
-
-
-
-
Constructor Detail
-
GovernanceDefinitionGraph
public GovernanceDefinitionGraph()
Default Constructor
-
GovernanceDefinitionGraph
public GovernanceDefinitionGraph(GovernanceDefinitionGraph template)
Copy/clone constructor- Parameters:
template- object to copy
-
-
Method Detail
-
getParents
public List<RelatedElement> 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<RelatedElement> 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<RelatedElement> 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<RelatedElement> 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<RelatedElement> getChildren()
Return the governance definitions that support this governance definition.- Returns:
- list of governance definition stubs
-
setChildren
public void setChildren(List<RelatedElement> children)
Set up the governance definitions that support this governance definition.- Parameters:
children- list of governance definition stubs
-
getMetrics
public List<RelatedElement> getMetrics()
Return the governance metrics that measure this governance definition.- Returns:
- list of governance definition stubs
-
setMetrics
public void setMetrics(List<RelatedElement> metrics)
Set up the governance metrics that measure this governance definition.- Parameters:
metrics- list of governance definition stubs
-
getExternalReferences
public List<RelatedElement> getExternalReferences()
Return details of the external references that have been linked to this governance definition.- Returns:
- list of links to external references
-
setExternalReferences
public void setExternalReferences(List<RelatedElement> 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
-
getOthers
public List<RelatedElement> getOthers()
Return details of other relationships- Returns:
- details of other related elements
-
setOthers
public void setOthers(List<RelatedElement> others)
Set details of other relationships.- Parameters:
others- details of other related elements
-
toString
public String toString()
JSON-style toString- Overrides:
toStringin classGovernanceDefinitionElement- Returns:
- string containing the properties and their values
-
equals
public boolean equals(Object objectToCompare)
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 has code based on properties.- Overrides:
hashCodein classGovernanceDefinitionElement- Returns:
- int
-
-