SalesPoint Framework v3.1

data
Class AbstractCurrency.CurrencyItemData

java.lang.Object
  extended bydata.AbstractCurrency.CurrencyItemData
Enclosing class:
AbstractCurrency

protected class AbstractCurrency.CurrencyItemData
extends Object

Data container for names and values of CurrencyItems.


Constructor Summary
AbstractCurrency.CurrencyItemData(String name, int value)
          Constructor
 
Method Summary
 String getName()
          Returns the name of a CurrencyItem in this data container.
 int getValue()
          Returns the value of a CurrencyItem in this data container.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractCurrency.CurrencyItemData

public AbstractCurrency.CurrencyItemData(String name,
                                         int value)
Constructor

Parameters:
name - the name of the CurrencyItem.
value - the appropriate value of the CurrencyItem.
Method Detail

getName

public String getName()
Returns the name of a CurrencyItem in this data container.

Returns:
the name of the CurrencyItem.

getValue

public int getValue()
Returns the value of a CurrencyItem in this data container.

Returns:
the value of the CurrencyItem.

SalesPoint Framework v3.1