Object Trust Bank Problem
The
Object Trust Bank (OTB) offers it customers two different types
of accounts: checking or savings. An account is owned by either
an individual or corporation.
There are several differences between checking and savings
accounts. The customer can "attach" a savings account to a
checking account to provide overdraft protection for the
checking account, but not vice-versa.
A
customer can set up a checking account with OTB’s "EZ Payer"
feature. This feature lets the customer set up regular payments
like mortgage payments and car payments. Once set up, OTB
automatically executes the EZ Payer transaction on a specific
day for a given amount, deducting the amount from the customer’s
checking account. The "payee" on an EZ Payer transaction can be
either an individual or a corporation.
There are several basic types of transactions. Customer
initiated transactions include checks, deposits to savings or
checking, and savings account withdrawals. Bank initiated
transactions include EZ Payer transactions and service charges.
Whether an account is owned by an individual or corporation, the
account can have several authorized signers who must be
individuals. An authorized signer need not be the owner, but can
have a signing limit. A clerk may have a signing limit up to
$1,000, while the president of the company may have no signing
limit.
OTB
sets up an account when requested by a customer. Before
activating the account, the bank verifies the customer’s
identity and will not activate the account if it cannot verify
the customer. Once active, an account is subject to periodic
automatic service charge deductions.
A
customer may close an account at any time. OTB will
automatically close any account if its balance stays at zero for
60 consecutive days. If no transactions other than service
charges occur against an account for 90 consecutive days, the
account becomes inactive.
While an account is inactive the bank continues to deduct
service charges. Any other transactions will cause OTB to
reactivate the account. Any time an inactive account’s balance
falls to zero the bank automatically closes it. If an account
remains inactive for five years it becomes dormant. OTB does not
deduct service charges on dormant accounts. The bank reactivates
a dormant account if a transaction comes in for it. If an
account remains dormant for a year, it goes "escheat" which
means the bank closes it and transfers the money to the state.
OTB
keeps complete information on closed accounts on-line until the
end of the year after an account is closed. Then the bulk of the
information is placed on microfiche. Once on microfiche, only a
basic record giving the microfiche series number is kept
on-line. Seven years after an account is closed, the bank
discards the microfiche and the on-line record.
Draw an object diagram of this problem domain and a state
diagram for an Account
Return to Course
Description. |