Professional Documents
Culture Documents
UML Diagrams For ATM
UML Diagrams For ATM
Amalia Foka
CEID - University of Patras
Object Oriented Programming II (C++)
Fall 2010-2011
Requirements Document
User Interface
a
a
a
a
ATM session
ATM Session
1 View My Balance
2 Withdraw Cash
2 Withdraw Cash
2 Withdraw Cash
3 Deposit Funds
First the bank verifies the amount and then updates the
balance stored in the database.
ATM Session
Design Stage I
Actor
Design Stage II
Class diagrams
money, balance
"transaction"
"balance inquiry,"
"withdrawal" and
"deposit"
Candidate Classes
ATM
screen
keypad
cash dispenser
deposit slot
account
bank database
balance inquiry
withdrawal
deposit
Candidate Classes
ATM
Screen
Keypad
CashDispenser
DepositSlot
Account
BankDatabase,
BalanceInquiry
Withdrawal
Deposit
Multiplicity Types
hollow diamonds
Aggregation