package data; import java.util.*; /** * An item in a {@link Currency}. * * <p>In addition to the contract of {@link CatalogItem}, CurrencyItems have a numeric value that is given * in the smallest unit of their currency.</p> * * @author Steffen Zschaler * @version 2.0 18/08/1999 * @since v0.5 */ public interface CurrencyItem extends CatalogItem { /** * The value of a CurrencyItem must be a {@link NumberValue} given in the smallest unit of the item's * currency. * * @override Always. */ public Value getValue(); }