001 package data;
002
003 /**
004 * Tag interface marking {@link CountingStock CountingStocks} that work together with
005 * {@link Currency Currencies}.
006 *
007 * @author Steffen Zschaler
008 * @version 2.0 18/08/1999
009 * @since v2.0
010 */
011 public interface MoneyBag extends CountingStock {
012
013 /**
014 * Tries to transfer money from this DataBasket into another one.
015 * @param mbDest the MoneyBag to transfer the money to
016 * @param db a transaction DataBasket
017 * @param nvAmount the amount of money to transfer
018 */
019 public void transferMoney(MoneyBag mbDest, DataBasket db, NumberValue nvAmount);
020 }