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:
  • Constructor Details

    • GovernanceDefinitionGraph

      public GovernanceDefinitionGraph()
      Default Constructor
    • GovernanceDefinitionGraph

      public GovernanceDefinitionGraph(GovernanceDefinitionGraph template)
      Copy/clone constructor
      Parameters:
      template - object to copy
  • Method Details

    • 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:
      toString in class GovernanceDefinitionElement
      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:
      equals in class GovernanceDefinitionElement
      Parameters:
      objectToCompare - supplied object
      Returns:
      boolean result of comparison
    • hashCode

      public int hashCode()
      Return hash code based on properties.
      Overrides:
      hashCode in class GovernanceDefinitionElement
      Returns:
      int