+ All Categories
Home > Documents > OOAD Lab Record

OOAD Lab Record

Date post: 29-Oct-2014
Category:
Upload: kavinhariharasudhan-sankaralingam
View: 832 times
Download: 61 times
Share this document with a friend
Popular Tags:
14
PONDICHERRY CENTRAL UNIVERSITY DEPARTMENT OF COMPUTER SCIENCE PONDICHERRY ATM MANAGEMNET SYSTEM SOFTWARE ENGINERING PROJECT REPORT SUBMITTED TO, SUBMITTED BY, Mrs.S.SHIVSATYA Navneet Prakash
Transcript
Page 1: OOAD Lab Record

PONDICHERRY CENTRAL UNIVERSITY

DEPARTMENT OF COMPUTER SCIENCE

PONDICHERRY

ATM MANAGEMNET SYSTEM

SOFTWARE ENGINERING PROJECT REPORT

SUBMITTED TO, SUBMITTED BY,

Mrs.S.SHIVSATYA Navneet Prakash

Sr. Lecturer Amit Priyadarshi

Dept. of Computer Science Ajay Panwar

Page 2: OOAD Lab Record

MODELING THE UML DIAGRAM FOR BANKING

ATM SYSTEM

Problem Statement

Here our main intention is to design a prototype of the ATM Management System. For this we need to collect all the requirements related to the system. After collecting all the requirements we develop a Use Case Diagram for the ATM Management System.

Use Case Diagram for the ATM Management System Prototype

Page 3: OOAD Lab Record

The above use case diagram depicts that the customers of the ATM System can have saving and current accounts. The ATM System allows customers to withdraw cash after it validates the ATM card and PIN of customers. The ATM system also enables the customers to change PIN and obtain a transaction summary.

After designing the Use Case Diagram we have to design Sequence Diagram for all the use cases.

Sequence diagram for Cash Withdrawal Saving:

Sequence Diagram for Change PIN:

Page 4: OOAD Lab Record

Sequence Diagram for Transaction Summary:

After designing Sequence Diagram we will develop Collaboration diagram for all the use cases:

Collaboration diagram for Cash Withdrawal Saving:

Page 5: OOAD Lab Record

Collaboration diagram for Change PIN:

Collaboration diagram for Transaction diagram:

Page 6: OOAD Lab Record

After designing Collaboration Diagram we will develop Activity Diagram.

Activity Diagram for the ATM System:

After all this diagram we to model the static view of the prototype, the manager needs to create the following diagrams:

Page 7: OOAD Lab Record

Class diagram Object diagram

Solution

To model the static view of the prototype of the ATM System, we need to perform the following steps.

1. Identify the classes for prototype.

2. Identify the attribute of classes and their visibility to other classes.

3. Identify the operations and their visibility to the other classes.

4. Identify the relationship among the classes.

5. Identify the interface and their relationship.

6. Create a class diagram in Jude.

7. Create an object diagram in Jude.

Identify Classes

ATMCard

BankCustomer

Transaction

Account

SavingAccount

CurrentAccount

Identify the Attributes and their visibility of classes

Page 8: OOAD Lab Record

Class Attribute Visiblity

ATMCard PIN

CardNumber

AccountNo

Private

Private

Private

BankCustomer CustomerName

Address

PhoneNumber

email

Card AccountNo

Private

Private

Private

Private

Private

Transaction Date

Amount

Deposit

trans_no

Private

Private

Private

Private

Account AccountNo

Balance

trans_no

Private

Private

Private

SavingAccount InterestRate Private

CurrentAccount InterestRate Private

Identify Operations

Page 9: OOAD Lab Record

Class Operations Description

ATMCard SetPIN Update the PIN

BankCustomer WithdrawCash

ChangePIN

SelectTransaction

RequestTransaction

For withdrawing cash

Invokes the PIN change request. Enters the new PIN.

Select a transaction from a list of transactions.

Request for a transaction summary.

Transaction CalculateBallance To calculate the balance of the account after transaction.

Account CalculateIntrest

UpdateAccount

VerifyWithdrawlAmount

To calculate the interest of account.

To update the account after the transaction.

To verify the withdrawl amount

SavingAccount CalculateIntrest To calculate the interest of account.

CurrentAccount CalculateIntrest To calculate the interest of account.

Typically, the operations of classes are assigned public visibility to enable the generalization and association relationship among classes. The classes of the ATM System need to interact with each other to achieve the functions. Therefore, all the operations of the Bank ATM System classes have been assigned public visibility.

Page 10: OOAD Lab Record

Create Class diagram

After designing Class Diagram for the system we have to develop design template in VB.

Page 11: OOAD Lab Record

Prototype for the User Interface of the ATM Management System

User interface for MDI Form:

User interface for Withdraw Money:

Page 12: OOAD Lab Record

User interface for PIN Verification


Recommended