data
Interface StoringStock<T extends StockItem,CT extends CatalogItem>
- All Superinterfaces:
- Cloneable, Comparable<Object>, DataBasketEntryDestination, DataBasketEntrySource, Nameable, Serializable, Stock<T,CT>, StockItem
- All Known Implementing Classes:
- StoringStockFilter, StoringStockImpl
public interface StoringStock<T extends StockItem,CT extends CatalogItem>
- extends Stock<T,CT>
Tag interface that identifies StoringStocks.
StoringStocks are Stocks that, in contrast to CountingStocks
, actually store a
record for each object in the Stock. An example of an application of StoringStock might be a car vendor.
For each red Porsche on sale there will be a distinct record in the car vendor's Stock, denoting, e.g.,
the car's chassis number, etc.
StoringStocks are also needed when building nested Stocks.
- Since:
- v0.5
- Author:
- Steffen Zschaler
Methods inherited from interface data.Stock |
add, addStock, contains, contains, containsStock, countItems, fillStockWithValue, get, getCatalog, iterator, keySet, remove, remove, size, sumStock |