SalesPoint Framework v3.1

data
Interface CurrencyItem

All Superinterfaces:
CatalogItem, Comparable, Nameable, Serializable
All Known Implementing Classes:
CurrencyItemImpl

public interface CurrencyItem
extends CatalogItem

An item in a Currency.

In addition to the contract of CatalogItem, CurrencyItems have a numeric value that is given in the smallest unit of their currency.

Since:
v0.5
Author:
Steffen Zschaler

Field Summary
 
Fields inherited from interface data.CatalogItem
VALUE_PROPERTY
 
Fields inherited from interface data.Nameable
NAME_PROPERTY
 
Method Summary
 Value getValue()
          The value of a CurrencyItem must be a NumberValue given in the smallest unit of the item's currency.
 
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
 

Method Detail

getValue

public Value getValue()
The value of a CurrencyItem must be a NumberValue given in the smallest unit of the item's currency.

Specified by:
getValue in interface CatalogItem
Override:
Always.

SalesPoint Framework v3.1