You are on page 1of 10

http://www.jntustuff.

com/

UML representation of

BANKING SYSTEM
http://www.jntustuff.com/

CLASS DIAGRAM

Bank
name
address

*
Branch
name
location
code
1
11
1

* 1..* 1..*
Employee * Customer
name name Deposit Withdrawal
designation accountno typeofaccount typeofwithdrawal
address accountno number
entermoneyintoac()
takemoneyfromac() deposit()
checkbalance() withdraw()
http://www.jntustuff.com/

OBJECT DIAGRAM

b:bank name:State Bank of


Hyderabad
address:Hyderabad

name:Narasaraopet
Location:Arundelpet br:branch
Code:14345

e:employee c:customer d:deposit w:withdrawal

name:Ramesh typeofaccount:Savin typeofwithdrawal:Cheque


name:Sai gs account acno:30122430541052
acno.:300140412002
designation:2332 acno:304205131460
address:NRT
http://www.jntustuff.com/

COMPONENT DIAGRAM

bank.exe branch.e contains list of


xe transactions in the
branch

contains
details of all
branches

employe
customer deposit.e withdraw e.exe
.exe xe al.exe

contains the process all


contains all contains the type
type of account transactions
customer of withdrawal and
information and amount
deposited account balance
http://www.jntustuff.com/

DEPLOYMENT DIAGRAM

<<processor>>
bank <<device>> contains all the
terminal bank
information

<<processor>> contains all the


<<device>>
branch details of the
raid
branch

<<processor>>
customer <<device>>
deposits and
raid terminal
withdraws
money

<<processor>>
employee <<device>>
process the
raid1
transactions
http://www.jntustuff.com/

USECASE DIAGRAM

enter bank
<<include>>

select typeof account types of accounts

<<include>>

Open an account Fill application


CUSTMER

deposit money

<<include>>

withdraw money check account balance

Check accountno

EMPLY
Check balance

Process transaction
http://www.jntustuff.com/

SEQUENCE DIAGRAM

c:customer b:branch d:deposit w:withdraw e:employee bk:bank

select branch

get application

fill details
open account

deposit money
check account no

process transaction

check balance

ask for withdrawal


check account no

issue money

get money
http://www.jntustuff.com/

COLLABORATION DIAGRAM

3: fill details bk:bank


4: open account
8: check balance

2: get application
c:customer

1: select branch

b:branch
12: get money

5: deposit money
7: process transaction
9: ask for withdrawal

6: check account no
10: check account no
11: issue money
w:withdraw

d:deposit

e:employee
http://www.jntustuff.com/

ACTIVITY DIAGRAM

Enter bank

Open an
account

Deposit money

Check balance

sufficient balance

Withdraw
money insufficient balance
http://www.jntustuff.com/

STATECHART DIAGRAM

idle

enter bank
active

open an
account

insufficient balance deposit


money

exit bank
Check
balance

sufficient balance

withdraw
money

You might also like