org.salespointframework.core.data
Class AbstractCurrency.CurrencyItemData

java.lang.Object
  extended by org.salespointframework.core.data.AbstractCurrency.CurrencyItemData
Enclosing class:
AbstractCurrency

protected class AbstractCurrency.CurrencyItemData
extends java.lang.Object

Data container for names and values of CurrencyItems.


Constructor Summary
AbstractCurrency.CurrencyItemData(java.lang.String name, int value)
          Constructor
AbstractCurrency.CurrencyItemData(java.lang.String name, int value, java.net.URI imagefile, Category category)
          Constructor
 
Method Summary
 Category getCategory()
          Returns the category of the item
 java.net.URI getImageFile()
          get the imagefile
 java.lang.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(java.lang.String name,
                                         int value,
                                         java.net.URI imagefile,
                                         Category category)
Constructor

Parameters:
name - the name of the CurrencyItem.
value - the appropriate value of the CurrencyItem.
uri - to image file

AbstractCurrency.CurrencyItemData

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

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

getName

public java.lang.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.

getImageFile

public java.net.URI getImageFile()
get the imagefile

Returns:

getCategory

public Category getCategory()
Returns the category of the item

Returns: