|
SalesPoint v3.3 API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object data.AbstractNameable data.ooimpl.CatalogItemImpl data.ooimpl.CurrencyItemImpl
public class CurrencyItemImpl
Pure Java implementation of the CurrencyItem
interface.
Field Summary |
---|
Fields inherited from class data.AbstractNameable |
---|
m_ncContext, m_pcsPropertyListeners |
Fields inherited from interface data.CatalogItem |
---|
VALUE_PROPERTY |
Fields inherited from interface data.Nameable |
---|
NAME_PROPERTY |
Fields inherited from interface data.DataBasketKeys |
---|
CATALOG_ITEM_MAIN_KEY, STOCK_ITEM_MAIN_KEY |
Constructor Summary | |
---|---|
CurrencyItemImpl(String sName,
int nValue)
Create a new CurrencyItemImpl. |
Method Summary | |
---|---|
CatalogItemImpl |
getShallowClone()
Get a shallow clone of the CatalogItem. |
String |
toString()
Return a String representation of the item. |
Methods inherited from class data.ooimpl.CatalogItemImpl |
---|
addValueListener, compareTo, equals, getCatalog, getInternalShallowClone, getValue, isEditable, removeValueListener, setValue |
Methods inherited from class data.AbstractNameable |
---|
addNameListener, addPropertyChangeListener, attach, detachNC, getName, removeNameListener, removePropertyChangeListener, setName |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface data.CurrencyItem |
---|
getValue |
Methods inherited from interface data.CatalogItem |
---|
addValueListener, getCatalog, removeValueListener |
Methods inherited from interface data.Nameable |
---|
addNameListener, addPropertyChangeListener, attach, detachNC, getName, removeNameListener, removePropertyChangeListener, setName |
Methods inherited from interface java.lang.Comparable |
---|
compareTo |
Constructor Detail |
---|
public CurrencyItemImpl(String sName, int nValue)
sName
- the name of the currency item.nValue
- the value of the item, expressed in the smallest unit of the associated currency.Method Detail |
---|
public CatalogItemImpl getShallowClone()
CatalogItemImpl
getShallowClone
in class CatalogItemImpl
public String toString()
CatalogItemImpl
toString
in class CatalogItemImpl
|
SalesPoint v3.3 API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |