SalesPoint Framework v3.0

data.ooimpl
Class CurrencyItemImpl

java.lang.Object
  |
  +--data.AbstractNameable
        |
        +--data.ooimpl.CatalogItemImpl
              |
              +--data.ooimpl.CurrencyItemImpl

public class CurrencyItemImpl
extends CatalogItemImpl
implements CurrencyItem

Pure Java implementation of the CurrencyItem interface.

Since:
v2.0
Version:
2.0 19/08/1999
Author:
Steffen Zschaler
See Also:
Serialized Form

Fields inherited from class data.AbstractNameable
m_ncContext, m_pcsPropertyListeners
 
Constructor Summary
CurrencyItemImpl(String sName, int nValue)
          Create a new CurrencyItemImpl.
 
Method Summary
 CatalogItemImpl getShallowClone()
           
 String toString()
           
 
Methods inherited from class data.ooimpl.CatalogItemImpl
addValueListener, compareTo, equals, getCatalog, 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
 

Constructor Detail

CurrencyItemImpl

public CurrencyItemImpl(String sName,
                        int nValue)
Create a new CurrencyItemImpl.
Parameters:
sName - the name of the currency item.
nValue - the value of the item, expressed in the smallest unit of the associated currency.
Method Detail

getShallowClone

public CatalogItemImpl getShallowClone()
Override:
Never.
Overrides:
getShallowClone in class CatalogItemImpl

toString

public String toString()
Override:
Never.
Overrides:
toString in class CatalogItemImpl

SalesPoint Framework v3.0