Professional Documents
Culture Documents
Case Study 1: Atm
Case Study 1: Atm
1
USECASE DIAGRAM FOR ATM MANAGEMENT SYSTEM:
<<include>>
view balance
transfer funds
2
CLASS DIAGRAM FOR ATM MANAGEMENT SYSTEM:
3
SEQUENCE DIAGRAM FOR VIEW BALANCE:
3: initialize screen
4: prompt pin
5: enter pin
6: open account
7: verify pin
8: prompt transaction
9: select transaction
10: compute funds available
4
COLLABORATION DIAGRAM FOR VIEW BALANCE:
Card
Reader
1: accept card 3: initialize screen
5: enter pin
9: select transaction
12: view balance
ATM
Machine
4: prompt pin
: Customer 8: prompt transaction
14: take card
7: verify pin
13: display balance
11: verify amount
6: open account
10: compute funds available
Receipt
Account Printer
5
SEQUENCE DIAGRAM FOR WITHDRAWL MONEY:
3: initialize screen
4: prompt pin
5: open account
6: enter pin
7: verify pin
8: prompt transaction
9: select withdraw transaction
10: prompt amount
6
COLLABORATION DIAGRAM FOR WITHDRAWL MONEY:
Card
Reader
1: accept card 3: initialize screen
9: select withdraw transaction
11: enter amount
ATM
Screen
4: prompt pin
: Customer 6: enter pin
8: prompt transaction
10: prompt amount
13: verify amount
14: withdraw amount
5: open account
7: verify pin
12: withdraw funds
Accoun 15: prompt cash
t 16: prompt receive
Receipt
printer
7
SEQUENCE DIAGRAM FOR DEPOSIT FUNDS:
3: initialize screen
4: prompt pin
5: enter pin
6: open account
7: verify pin
8: prompt transaction
9: select transaction
10: prompt "enter deposited amount"
8
COLLABORATION DIAGRAM FOR DEPOSIT FUNDS:
Card
Reader
3: initialize screen
1: accept card
5: enter pin
9: select transaction
11: enter the amount
12: place cash in machine
ATM
Screen
4: prompt pin
: Customer 8: prompt transaction
10: prompt "enter deposited amount"
16: take card
7: verify pin
15: prompt "balance updated"
Receipt
Printer
Accoun
t
9
SEQUENCE DIAGRAM FOR TRANSFER FUNDS:
3: initialize screen
4: prompt pin
5: enter pin
6: open account
7: verify pin
8: prompt transaction
9: select transaction
10
COLLABORATION DIAGRAM FOR TRANSACTION FUNDS:
Card
Reader
5: enter pin
9: select transaction
11: enter destination account no.
ATM
: Customer 4: prompt pin Screen
8: prompt transaction
10: prompt enter destination account no.
7: verify pin
6: open account
12: withdraw funds
13: transfer funds
14: prompt receipt
Accoun Receipt
t Printer
11
ACTIVITY DIAGRAM FOR VIEW BALANCE:
valid
enter
password
invalid
verify
password
eject card
check balance
show balance
12
ACTIVITY DIAGRAM FOR WITHDRAWL MONEY:
enter valid
password
invalid
verify
password
enter
password
check balance
amt withdraw>balance
eject card
despencing deducting
cash amount
show balance
13
ACTIVITY DIAGRAM FOR DEPOSIT MONEY:
valid
enter
password
invalid
verify
password
valid
select
transaction
invalid
enter amount
eject card No
Yes
display "money
deposited"
14
ACTIVITY DIAGRAM FOR TRANSFER FUNDS:
valid
enter
password
invalid
verify
password
valid
select transfer
transaction
invalid
No
display not
performed
eject card
display
performed
15
STATECHART DIAGRAM FOR ATM MANAGEMENT SYSTEM:
card inserted
H
Active
card removed
selecting
more transactions
processing
printing
16
COMPONENT DIAGRAM FOR ATM MANAGEMENT SYSTEM:
<<DLL>>
:index.jsp :Reade
r
:menu.jsp
Controller
:validate.jsp
:depos
it.jsp
ODBC JDBC Interface :withdrawl.jsp
<<Database>>
:password.
tbl
<<Database>> <<Database>>
:passowrd. :Account
tbl
17
reader.dll
index jsp
card reader
interface
home jsp
servlet
interface
validate
jsb
interface
transfer password
jsp
third
party db
gateway
interface
jdbc odbc
interface
ayth.bl
18
DEPLOYMENT DIAGRAM FOR ATM MANAGEMENT SYSTEM:
ATM
ATM Database
Server Third Party
Server
19