Class DsSetNode

  • All Implemented Interfaces:
    IDsNode

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

      • DsSetNode

        public DsSetNode​(int p_iId,
                         String p_strId,
                         int p_iClassId,
                         String p_strName,
                         String p_strDesc,
                         int p_iPriority,
                         boolean p_bDeleted)
        Create a set node.
        Parameters:
        p_iId - The integer ID of the set
        p_strId - The ID of the set (normally a GUID).
        p_iClassId - The ID of the set's class.
        p_strName - The name.
        p_strDesc - The description.
        p_iPriority - The priority.
        p_bDeleted - true if the set 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.
      • hasMember

        public boolean hasMember()
        Returns:
        true if this container has members, or false otherwise.
      • getMembers

        public DsSetNode[] getMembers()
        Returns:
        An array that contains the member sets of this set (not null).