Sunteți pe pagina 1din 6

Assignment # 5

ONLINE BANK
MANAGEMENT SYSTEM
Class Diagram, Design Pattern
Submitted To:
Mam Anbreen Kausar
Submitted By:
Ali Raza

12024119-089

Usama Sarwar

12024119-111

Bilal Tariq

12024119-125

M. Tanveer

12024119-073

Rizwan Siddiq

12024119-116

Section:
B (CS) 7th
Department:
Computer Science

Class Diagram

Design Pattern:
Strategy Pattern for Payment

Strategy Pattern class diagram

Intent: This pattern is used to pay money through online by choosing algorithm from family of
algorithm at run time easily.
Problem: how the customer can easily choose the algorithm for money payment in internet
banking. Solution: for paying money through the internet banking, different types of payment
method are used to pay money through internet banking such as credit card bill payment, Bill
payment. Based on the customer needs they can choose any types of payment to pay bill or
money through internet and they can be used interchangeably
Solution: for paying money through the internet banking, different types of payment method are
used to pay money through internet banking such as credit card bill payment, Bill payment.
Based on the customer needs they can choose any types of payment to pay bill or money through
internet and they can be used interchangeably.

COMMUNICATION (MEDIATOR) PATTERN:


Context:
Whenever we need the communication which clients and the system communicates through the
server (admin) we use the mediator pattern. Through mediator we can do the communication.
Problem:
The discussion room is essential for all type of applications for that there is a need of mediator
pattern, which results in direct and immediate communication.
Solution:
Here the mediator pattern is used in order to implement the communication pattern where all the
clients communicate with the Server (admin) if they are registered with the server. In the internet
banking system we use the mediator pattern for implementing the chat applications where all the
clients with the admin in order to clarify any doubts.

Communication Pattern Class diagram

Information Expert:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27

Class
Administrator
Administrator
Administrator
PayBill
PayBill
PayBill
PayBill
PayBill
PayBill
PayBill
PayBill
FundsTransfer
FundsTransfer
FundsTransfer
FundsTransfer
FundsTransfer
FundsTransfer
FundsTransfer
ChequeServices
ChequeServices
ChequeServices
ViewAccountTransaction
ViewAccountTransaction
ViewAccountTransaction
Utility
Utility
Utility

Responsibilities
AccessToDatabase()
ViewAccount()
CancelAccount()
RegisteredPayment()
OpenPayment()
CreditCardPayment()
BillRegistration()
BillDeregistration()
Enquiry()
Cancel()
FuturePayment()
TransferFunds()
OwnAccounts()
3rdPartyAccounts()
AccountMaintenance()
Enquiry()
Cancel()
FutureTransfer()
ChequStatus()
StopCheque()
RequestforChequeBook()
AccountType()
TransactionType()
ViewTransaction()
ChangePassword()
CancelAtm()
UpdateProfile()

S-ar putea să vă placă și