|
SalesPoint Framework v3.0 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--data.AbstractNameable | +--data.ooimpl.StockItemImpl | +--data.ooimpl.StockImpl | +--data.ooimpl.CountingStockImpl | +--data.ooimpl.MoneyBagImpl
Pure Java implementation of the MoneyBag
interface.
Fields inherited from class data.ooimpl.CountingStockImpl |
m_cclReferentialIntegrityListener |
Fields inherited from class data.ooimpl.StockImpl |
m_cclEditListener,
m_ciCatalog,
m_cinlCatalogItemNameListener,
m_dbCatalogValidator,
m_lhListeners,
m_sclEditCreatorListener |
Fields inherited from class data.AbstractNameable |
m_ncContext,
m_pcsPropertyListeners |
Constructor Summary | |
MoneyBagImpl(String sName,
CurrencyImpl ci)
Create a new MoneyBagImpl. |
Method Summary | |
String |
toString()
Return a String representation of the MoneyBag. |
Methods inherited from class data.ooimpl.CountingStockImpl |
add,
add,
addStock,
commitAdd,
commitRemove,
contains,
containsStock,
countItems,
createPeer,
get,
internalSetCatalog,
remove,
remove,
remove,
rollbackAdd,
rollbackRemove |
Methods inherited from class data.ooimpl.StockItemImpl |
equals,
getAssociatedItem,
getStock |
Methods inherited from class data.AbstractNameable |
addNameListener,
addPropertyChangeListener,
attach,
detachNC,
getName,
removeNameListener,
removePropertyChangeListener,
setName |
Methods inherited from class java.lang.Object |
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Constructor Detail |
public MoneyBagImpl(String sName, CurrencyImpl ci)
sName
- the name of the MoneyBag.ci
- the Currency associated to the MoneyBag.Method Detail |
public String toString()
In addition to the representation created by the super class this will calculate the total amount of this MoneyBag and append this in formatted form to the end of the representation.
|
SalesPoint Framework v3.0 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |