Class MCRBasket

java.lang.Object
org.mycore.frontend.basket.MCRBasket
All Implemented Interfaces:
Iterable<MCRBasketEntry>, Collection<MCRBasketEntry>, List<MCRBasketEntry>, Set<MCRBasketEntry>

public class MCRBasket extends Object implements List<MCRBasketEntry>, Set<MCRBasketEntry>
Implements a basket of entries. The basket has a type attribute that allows to distinguish multiple baskets within the same session. The basket implements the List and Set interfaces, it behaves like an ordered Set of entries. Entries already contained in the basket can not be re-added, each entry can be contained only once in the basket.
Author:
Frank Lützenkirchen