1 package net.sourceforge.finmodel.account;
2
3 import net.sourceforge.finmodel.asset.Cash;
4
5 public class CashAccount extends AccountImpl {
6 static final long serialVersionUID = 1L;
7
8 /**
9 * Establishes an account with a zero balance.
10 */
11 public CashAccount() {
12 super( "CASH", Cash.getInstance());
13 }
14
15 /**
16 * Creates a new cash account (which doesn't accrue interest or anything.)
17 * Gives it the name provided.
18 * @param name Name of new account
19 */
20 public CashAccount(String name) {
21 super( name, Cash.getInstance());
22 }
23
24 }