Académique Documents
Professionnel Documents
Culture Documents
System
transaction
<<include>>
<<extend>>
invalid card
user
insert card
retail institution
invalid pin
<<include>>
atm transaction
<<extend>>
<<include>>
pin validation
invalid login
bank employee
web merchant
online transaction
<<extend>>
<<include>>
<<include>>
login
<<include>>
logout
<<include>>
Bank Database
Client desktop is given to each of bank employees and they are provided
with account logins with a user id and a password. Every employee switches
on his desktop and login to his account through which he can communicate
with bank database.
An employee can have operations like withdrawal of money, giving
loans, furnishing the DD/cheque and customers may want to deposit money.
Bank employee is allowed to modify the database accordingly. And the
intended services are provided to the customers.
Flow of Events
2.2 Basic flow
1. Employee enters his username and password.
2. Bank Database validates the employee.
3. On success employee can withdraw or deposit money, issue loans and
DD/cheque to the customers.
2.3 Alternate Flow
If in the basic flow, the details specified by employee are invalid the he is
informed that his login is failed .Then the person is not employee of the bank and he
is not having authority to perform those actions.
2.4 Pre Conditions
The employee must possess a account login and password.
2.5 Post Conditions
The account database is modified after transaction. Employee issues dd/cheque
to user.
The person who ever logged in to the system or bank database has to logout
after all the work is over. The vendor provided for communication is now
closed from database.
Flow of Events
4.2 Basic flow
1. User clicks the logout
2. All the transactions he performed are reflected in the bank database.
The customer is requested to insert (swipe) card and the card is taken in and
kept inside for the whole transaction time. Once the transaction is over card
is spelled out
Flow of Events
8.2 Basic flow
1. Customer inserts card in ATM or Card reader
2. ATM or Card reader validates the card.
3. On success user can precede the transaction
8.3 Alternate Flow
If the card is invalid, ATM ejects the card or then it may be taken back from
Card reader and gives a receipt indicating the error number.
8.4 Pre Conditions
The User must possess an ATM card or else a debit/credit card.
8.5 Post Conditions
None.
The card inserted will be checked for validation. The card may not be
inserted properly or it may be out of date or it can be an invalid for specific
bank. In those situations it is requested for re-insert.
Flow of Events
9.2 Basic flow
1. Customer inserts card in ATM or swipes in Card reader.
2. ATM (Card reader) validates the card is invalid.
3. Customer must re-insert (swipe) the card again.
9.3 Alternate Flow
Even after reinserting the card, if the card is invalid ATM (Card reader) gives a
receipt indicating that the card is invalid.
9.4 Pre Conditions
The User must possess an ATM card or a credit/debit card.
9.5 Post Conditions
None.
After inserting the card and if it is checked for validation, the user is
requested for pin. The pin is itself present on magnetic strip on back of card and
it is checked with the entered one.
Flow of Events
10.2 Basic flow
1. Customer inserts card in ATM and enter his pin number.
2. ATM validates the pin.
3. On success user can precede the transaction
10.3 Alternate Flow
If the pin is invalid, ATM ejects the card and gives a receipt indicating
the error number.
10.4 Pre Conditions
The User must possess an ATM card.
10.5 Post Conditions
None.
The pin entered may be wrong in that case transaction is cancelled. The
customer is requested for re-inserting of card and re-entry of pin. The
number of wrong trials may be limited according to banks specifications.
Flow of Events
11.2 Basic flow
1. Customer inserts card in ATM and enter his pin number.
2. ATM founds that pin is invalid.
3. The customer requested to reinsert card or reenter the pin.
4. In case the number of trials exceeded, ATM blocks the card temporarily.
11.3 Alternate Flow
If customer enters a correct pin transaction proceeds further.
11.4 Pre Conditions
The User must possess an ATM card.
11.5 Post Conditions
The user should not enter the pin number more than the number of trials.
credit
+card
+pin
+amount
funds
+balance
+request()
card reader 1
0..* 0..*
debit
donation
+amount
draw amount
+amount
+feasibility()
0..*
+balance
0..*
1
pin validation
+pin
1 1
+feasible()
+drawamnt()
+dispensecash()
+process()
bank database
+profile
+log
+balance
+procesesrequest()
bank web page
+request()
1
client desktop
0..*
+amount
+amountadded
+profile
+balance
+log
+processrequest()
DD/cheque
retail instituition
network to bank
+validity()
+choice
+frontend
+cnctwithDB
1
+accno
+amount
ATM
+validity()
withdrawl
+accno
1..*
+feasibility()
+turnon()
+turnoff()
card validation
0..*
check bal
+cardholder
0..* 1 +cnctwithDB
+feasibility()
+amount
+feasibility()
0..*
1
0..*
+turnon()
+shutdwn()
1
1
employee console
+id&pswrd
logout
+logout()
0..*
0..*
deposit
+amount
+accno
loan
+amount
+feasibility()
+transfercash()
Sequence Diagrams
and
+processrequest()
1
+bankdetails
+loginform
1
1
login
+id
+pswrd
+validity()
0..*
transfer of amount
+amount
+toaccno
+feasibility()
Collaboration Diagrams
network to bank
transaction
1 : loginRequest()
2 : validity()
3 : profileRequest()
4 : display()
5 : transferRequest()
6 : transfer()
7 : succed()
8 : acknowledgement()
9 : transferRequest()
1 : login request()
customer console
network to bank
4 : display()
7 : succeed()
9 : transfer request()
2 : validity()
5 : transfer request()
3 : profile request()
8 : acknowledgement()
transaction
6 : transfer()
transaction
1 : login request()
2 : validity()
3 : menuChoice()
4 : proceedTransaction()
5 : accountInfo()
6 : succed()
7 : menuChoice()
8 : proceedTransaction()
1 : login request()
employee console
netwrk to bank db
8 : transaction proceed()
4 : proceed transaction()
5 : account info()
3 : choice menu()
2 : validity()
6 : succeed()
7 : choice menu()
transaction
front end
network to bank
1 : enterId&Pswrd()
2 : verify()
3 : validity()
4 : logout()
7 : loggedout()
5 : reqLogout()
6 : succeded()
desktop
2 : verify()
1 : enter id pwd()
front end
4 : logout()
network to bank
3 : validity()
5 : request logout()
7 : logged out()
6 : succeeded()
ATM transaction
sequence diagram
ntwrk to bank
transaction
1 : insert card()
2 : validation()
3 : verified()
4 : ChoiceMenu()
5 : selectservice()
6 : accountInfo()
7 : feasibility()
8 : give receipt()
9 : another transaction()
customer console
9 : another trans()
ntwrk to bank
8 : give receipt()
7 : feasibility()
3 : verified()
6 : account info()
4 : choice menu()
1 : insert card()
2 : validation()
5 : select service()
transaction
1 : insert card()
atm
network to bank
2 : validation()
3 : card valid()
4 : eject card()
customer panel
4 : eject card()
atm
1 : insert card()
3 : card valid()
2 : validation()
atm
network to bank
1 : enterpin()
2 : pin validation()
4 : choiceMenu()
3 : validity()
bank network
customer panel
1 : enter pin()
atm
2 : `pin validation()
4 : choice menu()
bank network
3 : validity()
retailer
card reader
network to bank
1 : gives card()
2 : insert card()
3 : validation()
4 : verified()
5 : enter amount()
customer
1 : give card()
retailer
card reader
2 : insert card()
5 : enter amount()
7 : give receipt()
3 : validation()
4 : verified()
bank network
Activity Diagrams
create account
furnish details
yes
choice menu
no
valid details
yes
submit
amount transfer
view details
finished
change pwd
employee login
no
valid login
yes
choice menu
passbook entry
deposit
withdraw
proceed transaction
issue dd/cheque
employee login
no
valid login
yes
choice menu
passbook entry
deposit
withdraw
issue dd/cheque
proceed transaction
insert card
no
card valid
yes
enter amount
no
sufficient bal
yes
proceed transaction
take receipt
finish
ATM machine
customer console
ATM transaction
Account info
Employee console
Card reader
Bank Database
Client desktop
Webpage
webmerchant transactrion
online transaction
Customer may be
ATM card holder,
credit/debit card holder or
an online user of
a Bank
Customer Console
Card Reader
ATM Machine
providing services of
ATM transaction
ATM Machine
Bank Database
Bank Database
keeping the details of
each and every account
Client Desktop
Client Desktop
providing services of
banking at desks
Web Page
Card reader
providing services of
credit/debit tranmsaction
Web Page
providing services of
online transaction
Employee Console
Each employee at
Bank given a desktop
and provided with own
id & password for login to
the Bank's Database