Class DataFolderImpl

    • Constructor Detail

      • DataFolderImpl

        public DataFolderImpl()
        Constructor
    • Method Detail

      • getItems

        public Item[] getItems()
        Get the items
        Specified by:
        getItems in interface DataFolder
        Returns:
        the items as an array
      • getItem

        public Item getItem​(String strRoleName)
        Description copied from interface: DataFolder
        Get item contained in the DataFolder by role name
        Specified by:
        getItem in interface DataFolder
        Parameters:
        strRoleName - to search with
        Returns:
        an object implementing the Item interface
      • addItem

        public void addItem​(Item item)
        Description copied from interface: DataFolder
        Add an item to the collection
        Specified by:
        addItem in interface DataFolder
        Parameters:
        item - to be added
      • createItem

        public Item createItem()
        Description copied from interface: DataFolder
        Create an Item
        Specified by:
        createItem in interface DataFolder
        Returns:
        an object implementing Item