org.salespointframework.core.data.interfaces
Interface StoringStock<T extends StockItem,CT extends CatalogItem>

All Superinterfaces:
java.lang.Cloneable, java.lang.Comparable<java.lang.Object>, DataBasketEntryDestination, DataBasketEntrySource, DatasourceChangeListener, ExternalModificationListener, Nameable, SpAggregate, SpItem, Stock<T,CT>, StockItem
All Known Implementing Classes:
StoringStockFilter, StoringStockImpl

public interface StoringStock<T extends StockItem,CT extends CatalogItem>
extends Stock<T,CT>, SpAggregate

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
Version:
2.0 18/08/1999
Author:
Steffen Zschaler

Field Summary
 
Fields inherited from interface org.salespointframework.core.data.interfaces.Nameable
NAME_PROPERTY
 
Method Summary
 
Methods inherited from interface org.salespointframework.core.data.interfaces.Stock
add, addStock, contains, contains, containsStock, countItems, fillStockWithValue, get, getCatalog, iterator, keySet, remove, remove, size, sumStock
 
Methods inherited from interface org.salespointframework.core.data.interfaces.StockItem
clone, getAssociatedItem, getStock
 
Methods inherited from interface java.lang.Comparable
compareTo
 
Methods inherited from interface org.salespointframework.core.data.interfaces.Nameable
addNameListener, addPropertyChangeListener, attach, detachNC, getName, removeNameListener, removePropertyChangeListener, setName
 
Methods inherited from interface org.salespointframework.core.data.interfaces.SpItem
getName
 
Methods inherited from interface org.salespointframework.core.data.events.DatasourceChangeListener
DatasourceChanged
 
Methods inherited from interface org.salespointframework.core.data.events.ExternalModificationListener
externalModificationOccurred