Interface IFolderTreeItem<KEYTYPE,​DATATYPE,​COLLTYPE extends Collection<DATATYPE>,​ITEMTYPE extends IFolderTreeItem<KEYTYPE,​DATATYPE,​COLLTYPE,​ITEMTYPE>>

  • Type Parameters:
    KEYTYPE - Key type
    DATATYPE - Value type
    COLLTYPE - Collection type consisting of value elements
    ITEMTYPE - the implementation item type
    All Superinterfaces:
    IBasicTreeItem<COLLTYPE,​ITEMTYPE>, com.helger.commons.traits.IGenericImplTrait<ITEMTYPE>, com.helger.commons.hierarchy.IHasChildren<ITEMTYPE>, com.helger.commons.hierarchy.IHasChildrenRecursive<ITEMTYPE>, com.helger.commons.hierarchy.IHasChildrenSorted<ITEMTYPE>, com.helger.commons.id.IHasID<KEYTYPE>, com.helger.commons.hierarchy.IHasParent<ITEMTYPE>, ITreeItemWithID<KEYTYPE,​COLLTYPE,​ITEMTYPE>
    All Known Implementing Classes:
    BasicFolderTreeItem, DefaultFolderTreeItem

    public interface IFolderTreeItem<KEYTYPE,​DATATYPE,​COLLTYPE extends Collection<DATATYPE>,​ITEMTYPE extends IFolderTreeItem<KEYTYPE,​DATATYPE,​COLLTYPE,​ITEMTYPE>>
    extends ITreeItemWithID<KEYTYPE,​COLLTYPE,​ITEMTYPE>
    This interface represents a single folder within a directory tree. Each folder has a list of file items (or leaves).
    Author:
    Philip Helger
    • Method Detail

      • getGlobalUniqueDataID

        @Nonnull
        KEYTYPE getGlobalUniqueDataID()
        Returns:
        The globally unique ID of this folder. This can e.g. be an aggregation of the ID with a separator and the parent's unique name.