data
Class BasketEntryValues
java.lang.Object
|
+--data.BasketEntryValues
- public final class BasketEntryValues
- extends Object
A collection of convenience BasketEntryValues.
- Since:
- v2.0
- Version:
- 2.0 18/08/1999
- Author:
- Steffen Zschaler
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
ONLY_STOCK_ITEMS
public static final BasketEntryValue ONLY_STOCK_ITEMS
- A BasketEntryValue returning the value of a DataBasketEntry under the assumption that this describes a
StockItem movement. The value will be calculated by multiplying the number of items with the
default value of the associated CatalogItem.
To obtain the associated CatalogItem, the BasketEntryValue first tries to use the DataBasketEntries
destination and only if this is null
it will try its source. If both are null
or if an exception occurs, the BasketEntryValue will return 0.
ONLY_CATALOG_ITEMS
public static final BasketEntryValue ONLY_CATALOG_ITEMS
- A BasketEntryValue returning the value of a DataBasketEntry under the assumption that this describes a
CatalogItem movement. The value will be taken from the CatalogItem's
CatalogItem.getValue()
method.
COUNT_ITEMS
public static final BasketEntryValue COUNT_ITEMS
- A BasketEntryValue that returns 1 for each entry. You can use this BasketEntryValue to count entries that
match a given condition.
BasketEntryValues
public BasketEntryValues()