Class DsContainerNode

  • All Implemented Interfaces:
    IDsNode

    @Scriptable
    public final class DsContainerNode
    extends Object
    implements IDsNode
    • Constructor Detail

      • DsContainerNode

        public DsContainerNode​(int p_iId,
                               String p_strId,
                               int p_iClassId,
                               String p_strName,
                               String p_strDescr,
                               int p_iPriority,
                               boolean p_bDeleted)
        Create a container node.
        Parameters:
        p_iId - The integer ID of the container.
        p_strId - The ID of the container (normally a GUID).
        p_iClassId - The ID of the container's class.
        p_strName - The name.
        p_strDescr - The description.
        p_iPriority - The priority.
        p_bDeleted - true if the container is deleted, or false otherwise.
    • Method Detail

      • getGuid

        public String getGuid()
        Description copied from interface: IDsNode
        Get the unique identifier of this org-structure node.
        Specified by:
        getGuid in interface IDsNode
        Returns:
        The unique identifier of the org-structure node.
      • getId

        public int getId()
        Description copied from interface: IDsNode
        Get the integer identifier of this org-structure node.
        Specified by:
        getId in interface IDsNode
        Returns:
        The integer identifier of the org-structure node.
      • getClassId

        public int getClassId()
        Description copied from interface: IDsNode
        Get the class id of this org-structure node.
        Specified by:
        getClassId in interface IDsNode
        Returns:
        The class id.
      • getName

        public String getName()
      • getPath

        public String getPath()
      • getPathAsStringBuilder

        public StringBuilder getPathAsStringBuilder()
      • getDescription

        public String getDescription()
      • getPriority

        public int getPriority()
        Description copied from interface: IDsNode
        Get the priority of this org-structure node.
        Specified by:
        getPriority in interface IDsNode
        Returns:
        The priority.
      • isDeleted

        public boolean isDeleted()
        Specified by:
        isDeleted in interface IDsNode
        Returns:
        true if this org-structure node is deleted, or false otherwise.
      • hasParent

        public boolean hasParent()
        Specified by:
        hasParent in interface IDsNode
        Returns:
        true if this org-structure node has a parent, or false otherwise.
      • getParent

        public DsContainerNode getParent()
        Specified by:
        getParent in interface IDsNode
        Returns:
        The parent of this org-structure node, or null if this node has no parent.
      • hasContainer

        public boolean hasContainer()
        Returns:
        true if this container has child containers, or false otherwise.
      • getContainers

        public DsContainerNode[] getContainers()
        Returns:
        An array that contains the child containers of this container (not null).
      • hasSet

        public boolean hasSet()
        Returns:
        true if this container has child sets, or false otherwise.
      • getSets

        public DsSetNode[] getSets()
        Returns:
        An array that contains the child sets of this container (not null).