Banking Example College of Alameda Copyright © 1998 Patrick McDermott
Bank Qs Is Previous Balance an Attribute? –Redundant? –Balance is also Σ of all History –Time Dependent—Missed Run Savings, Checking, CD, Credit Card –Same class ? –Subtype –Different class es Where’s Interest Rate
Procedural Bank Prepare Monthly Report Get Prior Balance Set New Balance Process Daily Items Process Monthly Items Add Deposit Subtract Withdrawal Calculate Interest Apply Bank Charges
O/O Bank Customer AccountWithdrawal Balance (as of) LoanDeposit