SalesPoint Framework v3.1

data.ooimpl
Class EUROCurrencyImpl

java.lang.Object
  extended bydata.AbstractNameable
      extended bydata.ooimpl.CatalogItemImpl
          extended bydata.ooimpl.CatalogImpl
              extended bydata.AbstractCurrency
                  extended bydata.ooimpl.EUROCurrencyImpl
All Implemented Interfaces:
Catalog, CatalogItem, Cloneable, Comparable, Currency, DataBasketEntryDestination, DataBasketEntrySource, DataBasketKeys, ListenableCatalog, Nameable, NameContext, SelfManagingDBEDestination, SelfManagingDBESource, Serializable

public class EUROCurrencyImpl
extends AbstractCurrency

EURO-Implementation of AbstractCurrency

Author:
Thomas Medack
See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class data.AbstractCurrency
AbstractCurrency.CurrencyItemData
 
Field Summary
static String CENT_STCK_1
          Field string represents the mainkey for an added CurrencyItemImpl.
static String CENT_STCK_10
          Field string represents the mainkey for an added CurrencyItemImpl.
static String CENT_STCK_2
          Field string represents the mainkey for an added CurrencyItemImpl.
static String CENT_STCK_20
          Field string represents the mainkey for an added CurrencyItemImpl.
static String CENT_STCK_5
          Field string represents the mainkey for an added CurrencyItemImpl.
static String CENT_STCK_50
          Field string represents the mainkey for an added CurrencyItemImpl.
static String EURO_SCHEIN_10
          Field string represents the mainkey for an added CurrencyItemImpl.
static String EURO_SCHEIN_100
          Field string represents the mainkey for an added CurrencyItemImpl.
static String EURO_SCHEIN_20
          Field string represents the mainkey for an added CurrencyItemImpl.
static String EURO_SCHEIN_200
          Field string represents the mainkey for an added CurrencyItemImpl.
static String EURO_SCHEIN_5
          Field string represents the mainkey for an added CurrencyItemImpl.
static String EURO_SCHEIN_50
          Field string represents the mainkey for an added CurrencyItemImpl.
static String EURO_SCHEIN_500
          Field string represents the mainkey for an added CurrencyItemImpl.
static String EURO_STCK_1
          Field string represents the mainkey for an added CurrencyItemImpl.
static String EURO_STCK_2
          Field string represents the mainkey for an added CurrencyItemImpl.
 
Fields inherited from class data.ooimpl.CatalogImpl
m_lhListeners, m_nModCount
 
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
EUROCurrencyImpl(String name)
          Creates a new instance of EUROCurrencyImpl
EUROCurrencyImpl(String name, Locale locale)
          Creates a new instance of EUROCurrencyImpl
 
Method Summary
protected  AbstractCurrency.CurrencyItemData[] getCurrencyItemData()
          This abstract method allows the programmer to choose the names and values of the CurrencyItems (EURO, DM, ...).
 
Methods inherited from class data.AbstractCurrency
parse, toString
 
Methods inherited from class data.ooimpl.CatalogImpl
add, addCatalogChangeListener, checkNameChange, commitAdd, commitRemove, contains, createPeer, fireCanEditCatalogItem, fireCanRemoveCatalogItem, fireCatalogItemAddCommit, fireCatalogItemAdded, fireCatalogItemAddRollback, fireCatalogItemRemoveCommit, fireCatalogItemRemoved, fireCatalogItemRemoveRollback, fireCommitEditCatalogItem, fireEditingCatalogItem, fireRollbackEditCatalogItem, get, getEditableCopy, getEditingItemsContainer, getItemsContainer, getItemsLock, getNCMonitor, getShallowClone, getTemporaryAddedItemsContainer, getTemporaryRemovedItemsContainer, iterator, keySet, nameHasChanged, remove, remove, removeCatalogChangeListener, rollbackAdd, rollbackRemove, size, 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
 
Methods inherited from interface data.Catalog
add, contains, get, iterator, keySet, remove, remove, size
 
Methods inherited from interface data.CatalogItem
addValueListener, getCatalog, getValue, removeValueListener
 
Methods inherited from interface data.Nameable
addNameListener, addPropertyChangeListener, attach, detachNC, getName, removeNameListener, removePropertyChangeListener, setName
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Field Detail

CENT_STCK_1

public static String CENT_STCK_1
Field string represents the mainkey for an added CurrencyItemImpl.

1-Cent-Stueck


CENT_STCK_2

public static String CENT_STCK_2
Field string represents the mainkey for an added CurrencyItemImpl.

2-Cent-Stueck


CENT_STCK_5

public static String CENT_STCK_5
Field string represents the mainkey for an added CurrencyItemImpl.

5-Cent-Stueck


CENT_STCK_10

public static String CENT_STCK_10
Field string represents the mainkey for an added CurrencyItemImpl.

10-Cent-Stueck


CENT_STCK_20

public static String CENT_STCK_20
Field string represents the mainkey for an added CurrencyItemImpl.

20-Cent-Stueck


CENT_STCK_50

public static String CENT_STCK_50
Field string represents the mainkey for an added CurrencyItemImpl.

50-Cent-Stueck


EURO_STCK_1

public static String EURO_STCK_1
Field string represents the mainkey for an added CurrencyItemImpl.

1-Euro-Stueck


EURO_STCK_2

public static String EURO_STCK_2
Field string represents the mainkey for an added CurrencyItemImpl.

2-Euro-Stueck


EURO_SCHEIN_5

public static String EURO_SCHEIN_5
Field string represents the mainkey for an added CurrencyItemImpl.

5-Euro-Schein


EURO_SCHEIN_10

public static String EURO_SCHEIN_10
Field string represents the mainkey for an added CurrencyItemImpl.

10-Euro-Schein


EURO_SCHEIN_20

public static String EURO_SCHEIN_20
Field string represents the mainkey for an added CurrencyItemImpl.

20-Euro-Schein


EURO_SCHEIN_50

public static String EURO_SCHEIN_50
Field string represents the mainkey for an added CurrencyItemImpl.

50-Euro-Schein


EURO_SCHEIN_100

public static String EURO_SCHEIN_100
Field string represents the mainkey for an added CurrencyItemImpl.

100-Euro-Schein


EURO_SCHEIN_200

public static String EURO_SCHEIN_200
Field string represents the mainkey for an added CurrencyItemImpl.

200-Euro-Schein


EURO_SCHEIN_500

public static String EURO_SCHEIN_500
Field string represents the mainkey for an added CurrencyItemImpl.

500-Euro-Schein

Constructor Detail

EUROCurrencyImpl

public EUROCurrencyImpl(String name)
Creates a new instance of EUROCurrencyImpl


EUROCurrencyImpl

public EUROCurrencyImpl(String name,
                        Locale locale)
Creates a new instance of EUROCurrencyImpl

Method Detail

getCurrencyItemData

protected AbstractCurrency.CurrencyItemData[] getCurrencyItemData()
This abstract method allows the programmer to choose the names and values of the CurrencyItems (EURO, DM, ...). A complete list of data containers, which always contain pairs of name and value, has to be returned. The single CurrencyItems can be found in the Catalog (Currency) with those names.

Specified by:
getCurrencyItemData in class AbstractCurrency
Returns:
an Array of data containers that contain names and values of CurrencyItems to be added.

SalesPoint Framework v3.1