org.salespointframework.core.data.interfaces
Interface CurrencyItem

All Superinterfaces:
CatalogItem, java.lang.Comparable<java.lang.Object>, Nameable, SpItem
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
Version:
2.0 18/08/1999
Author:
Steffen Zschaler

Field Summary
 
Fields inherited from interface org.salespointframework.core.data.interfaces.CatalogItem
VALUE_PROPERTY
 
Fields inherited from interface org.salespointframework.core.data.interfaces.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 org.salespointframework.core.data.interfaces.CatalogItem
addValueListener, firePropertyChanged, getCatalog, getImage, removeValueListener, setImage
 
Methods inherited from interface org.salespointframework.core.data.interfaces.Nameable
addNameListener, addPropertyChangeListener, attach, detachNC, getName, removeNameListener, removePropertyChangeListener, setName
 
Methods inherited from interface java.lang.Comparable
compareTo
 
Methods inherited from interface org.salespointframework.core.data.interfaces.SpItem
getName
 

Method Detail

getValue

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