001 package data; 002 003 /** 004 * An item in a {@link Currency}. 005 * 006 * <p>In addition to the contract of {@link CatalogItem}, CurrencyItems have a numeric value that is given 007 * in the smallest unit of their currency.</p> 008 * 009 * @author Steffen Zschaler 010 * @version 2.0 18/08/1999 011 * @since v0.5 012 */ 013 public interface CurrencyItem extends CatalogItem { 014 015 /** 016 * The value of a CurrencyItem must be a {@link NumberValue} given in the smallest unit of the item's 017 * currency. 018 * 019 * @override Always. 020 */ 021 public Value getValue(); 022 }