Class GovernanceDefinitionGraph

    • Constructor Detail

      • GovernanceDefinitionGraph

        public GovernanceDefinitionGraph()
        Default Constructor
      • GovernanceDefinitionGraph

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

      • setElementHeader

        public void setElementHeader​(ElementHeader elementHeader)
        Set up the element header associated with the properties.
        Specified by:
        setElementHeader in interface MetadataElement
        Parameters:
        elementHeader - element header object
      • 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
        Overrides:
        toString in class Object
        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 Object
        Parameters:
        objectToCompare - supplied object
        Returns:
        boolean result of comparison
      • hashCode

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