Any help would be greatly appreciated! This is what I'm suppose to do
"We are going to create a banking application. The bank will keep track of bank accounts
and transactions associated with these accounts. Bank accounts will have an owner’s name, an
account number, a balance, and a set of transactions related to the account. Transactions will
store an ID, an amount, a reference to the account it applies to, a type (which could be “deposit”,
“withdrawal”, “earned interest”, or “overdrawn penalty”), and a “note” area where an English
description of the transaction can be placed. We will need to be able to make deposits and
withdrawals to accounts. Doing so should create an “audit trail” of transactions, so that the bank
can keep track of account activity (i.e., a new transaction should be created for each activity).
The bank needs to be able to create and delete accounts. It also needs to be able to apply
monthly interest to all of its accounts with a positive balance and add a monthly overdrawn
penalty to all accounts with a negative balance.
Transactions should be able to “undo” themselves, which is to say that the monetary
impact a given transaction has on an account should be reversible. In order to reverse the impact
of a transaction, another transaction should take place for the account that has the opposite effect.
So, for instance, if the transaction being reversed is an “earned interest” or a “deposit”, then the
compensating transaction should be a “withdrawal” transaction for the same amount that also
includes a phrase like “Reversal of transaction # <id of the transaction being reversed>”. If the
transaction being reversed is a “withdrawal” or an “overdrawn penalty”, then the compensating
transaction will be a “deposit” with the same style of note recording the ID of the transaction it is
being used to reverse."
UML Class Diagram
I just have no idea where to start.