|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface StockItem
An item in a Stock.
StockItems describe actually available items. They refer to a CatalogItem and describe an item
of the CatalogItem's type that is actually available in a Shop's storage, on an order form etc.
Note that the name as obtained via Nameable.getName() is used as the StockItem's
key when inserting the StockItem in a Stock.
Stocks are a special form of StockItems.
| Field Summary |
|---|
| Fields inherited from interface org.salespointframework.core.data.interfaces.Nameable |
|---|
NAME_PROPERTY |
| Method Summary | |
|---|---|
java.lang.Object |
clone()
Clone the StockItem. |
CatalogItem |
getAssociatedItem(DataBasket db)
Get the CatalogItem that is associated to this StockItem. |
Stock |
getStock()
Get the Stock that contains this StockItem. |
| 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 |
| Method Detail |
|---|
Stock getStock()
CatalogItem getAssociatedItem(DataBasket db)
db - the DataBasket that is used for checking visibility.java.lang.Object clone()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||