Class AbstractEnterpriseUnit

    • Constructor Detail

      • AbstractEnterpriseUnit

        public AbstractEnterpriseUnit​(java.lang.String name)
        Creates unit of this name
        Parameters:
        name - enterprise unit name
    • Method Detail

      • setName

        public void setName​(java.lang.String name)
        Sets the unit's name
        Parameters:
        name - enterprise unit name
      • addChildNode

        public void addChildNode​(EnterpriseNode childNode)
        Adds the given node to this unit's child nodes.
        Parameters:
        childNode - NOT NULL
      • remove

        public boolean remove​(EnterpriseNode childNode)
        Removes the given child node from this unit's children.
        Parameters:
        childNode - dependent node
        Returns:
        true if the given node was one of this unit's child nodes and has been removed, otherwise false
      • getChildNodes

        public java.util.Collection<EnterpriseNodegetChildNodes()
        Returns the nodes below this node if any.
        Returns:
        collection of nodes, NEVER null