39
1 University College of Engineering ( Autonomous ), Osmania University, Hyderabad. OBJECT ORIENTED ANALYSIS AND DESIGN Lab Report This is to certify that Ms ___________________ , a bonafide student of B.E.IV/IV (I Semester), bearing Hall Ticket No. ________ has successfully completed the coursework “Object Oriented Analysis & Design Lab” during the year 2010 –11. INTERNAL EXAMINER EXTERNAL EXAMINER

ooad labreport

Embed Size (px)

Citation preview

Page 1: ooad labreport

1

University College of Engineering ( Autonomous ),

Osmania University, Hyderabad.

OBJECT ORIENTED ANALYSIS AND DESIGN

Lab Report

This is to certify that Ms ___________________ , a bonafide student of

B.E.IV/IV (I Semester), bearing Hall Ticket No. ________ has successfully

completed the coursework “Object Oriented Analysis & Design Lab” during the

year 2010 –11.

INTERNAL EXAMINER EXTERNAL EXAMINER

Page 2: ooad labreport

2

CONTENTS

S. NO.

NAME OF THE PROGRAM

PAGE NO.

REMARKS

1.

LIBRARY MANAGEMENT SYSTEM

3-23

2.

ONLINE RECRUITMENT SYSTEM

24-30

3.

SALES ANALYSIS SYSTEM

30-39

Page 3: ooad labreport

3

LIBRARY MANAGEMENT SYSTEM

The Library Management System that is to be developed provides the members of the

Library and employees of the library with books information, transfer of books and many

other facilities. The Library Management System is supposed to have the following features.

The product must provide the members for searching the books they need, borrow the books and other material.

The system provides logon facility to the users.

The system allows the Librarian to create the books catalog, add/delete books and maintain the books catalog.

It also have the penalty system, charges as per no. of days of late return.

The users include:

Students who will be using the above features by accessing the Library online.

Librarian who will be acting as the controller and he will have all the privileges of an administrator.

Page 4: ooad labreport

4

USE CASE DIAGRAMS:

Main:

Student

View available books

Enter card details

Issue details

Enter book details

Enter book issue details

Database

Edit issue details

Librarian

Page 5: ooad labreport

5

Librarian:

Logout

<<communicate>>

<<communicate>>

<<communicate>>

<<communicate>>LoginLibrarian

Change password

Edit issue details

Enter issue details

Enter book details

Database

Enter card details

<<communicate>>

Page 6: ooad labreport

6

Student

Logout

LoginStudent

<<communicates>>

<<communicates>>

<<communicates>>

Change password

Issue details

View Available books

Database

view Card details

<<communicates>>

Page 7: ooad labreport

7

SEQUENCE DIAGRAMS:

View Available Books:

Enter Book details

: Student

Authenticate JSP: View

book details

: Database

Login(id,pswd) Success

Fail

Request

Retrive

: Librarian

Authenticate Form:Enter title, author

and no of the book

: Database

login(id, password)

success

failed

update database

Page 8: ooad labreport

8

Enter Issue details

: Librarian : Database

Form: Enter

student details

Authenticate

login(id,pwd)Success

Request

fail

Not found

Form: Enter

book details

Result set

Found Update database

Page 9: ooad labreport

9

Enter Card Details

: Librarian : Database

Form: Enter

card no

Form: Enter

rollno

Authenticate

login(id,pswd) Success

Fail

Request

Result set

Not found

Found

Update database

Page 10: ooad labreport

10

Edit Issue Details:

: LibrarianAuthenticate JSP: Manage

details : Database

Form: Enter

student rollno

Login(id,pswd) Success

Fail

Request

Result set

Not found

Found

Update database

Page 11: ooad labreport

11

View Issue Details:

: StudentAuthenticate JSP: View

issue details : Database

Login(id,pswd) Success

Fail

Requst

Result set

Page 12: ooad labreport

12

COLLABORATION DIAGRAMS

View Available books

: Student

: Database

Authenticate

JSP: View

book details

1: Login(id,pswd)

3: Fail

2: Success

4: Request

5: Retrive

Page 13: ooad labreport

13

Enter Book Details:

Enter Issue details

: Librarian

Form:Enter

book details

: Database

Authenticate

4: Update database

1: Login(id,pswd) 3: Fail

2: Success

: Librarian

Authenticate Form: Enter roll no Form: Enter

book details

: Database

Not found

1: Login(id,pswd)3: Fail

2: Success

4: Request

5: Result set

6: Found

7: Update database

Page 14: ooad labreport

14

Enter Card Details:

Edit Issue Details:

: Librarian : Database

Authenticate Enter student

rollno

Enter card

no

1: Login(id,pswd) 3: Fail

2: Success

4: Request

5: Result set

7: Found

8: Update database

: Librarian

: Database

Authenticate

Enter Student

rollno

Edit/Delete Issue

details

6: Not found

1: Login(id,pswd)

3: Fail

2: Success

4: Request

5: Result set 7: Found

8: Update database

Page 15: ooad labreport

15

View Issue Details:

: Student

: Database

Authenticate

JSP: view

issue details

1: Login(id,pswd)

3: Fail

2: Success

4: Query

5: Result set

Page 16: ooad labreport

16

STATECHART/ACTIVITY DIAGRAMS:

Enter Book Details:

Authenticate

Edit book

details

Enter id,pswd

of librarian

No

Page 17: ooad labreport

17

Enter Card details

Authenticate

Enter roll

no

Available

No

Enter card

no

Enter id,pswd

of librarian

Page 18: ooad labreport

18

Enter Issue Details:

Authenticate

Enter roll

no

Available

No

Edit book

details

Enter id,pswd

of librarian

No

Page 19: ooad labreport

19

Edit book details:

Authenticate

Enter roll

no

Available

No

Edit book

details

Enter id,pswd

of librarian

No

Page 20: ooad labreport

20

View Issue Details:

Enter

rollno,pswd

Authenticate

View details of

books issued

No

Page 21: ooad labreport

21

View Available Books:

Enter

rollno,pswd

Authenticate

View details of

books available

No

Page 22: ooad labreport

22

CLASS DIAGRAM

Page 23: ooad labreport

23

COMPONENT DIAGRAMS

Librarian.dll

Student.dll

Database

View issue

details

<<Process>>

view available

books

<<process>>

Enter issue

details

<<process>>

Enter card

details

<<process>>

Enter book

details

<<process>>

Edit details

<<process>>

Page 24: ooad labreport

24

ONLINE RECRUITMENT SYSTEM

E-Recruitment Solution is a web based solution mainly designed for companies

providing HR / Recruitment services. E-recruitment solution has been developed

for helping people to take advantage of internet revolution and its increased use. E-

Recruitment Solution is focused on key procedures that any company uses to

collect resumes, hire people such as candidate database, handling various human

resource (HR) requirements identifying prospective candidates and evaluating

them. It is completely customizable to suit the company's requirements.

This project is intended for the companies which recruit their

employees online. He can select the candidates on large scale.

Page 25: ooad labreport

25

Use case diagram:

call for application

select applicants

generate statistics

recruiter

prepare details for interview board

submit application

generate admit card for selected

candidates

conduct test

compile the result

applicant

select candidates for interview

Page 26: ooad labreport

26

Usecase Layout:

call for application

select applicants

generate statistics

recruiter

prepare details for interview board

submit application

generate admit card for selected

candidates

conduct test

compile the result

applicant

select candidates for interview

Page 27: ooad labreport

27

Sequence Diagram:

r:recruiter n:newspaper a:applicant i:interview

panel

t:test

advertise

sending application

selecting application

generation of admit cards

<<create>>

compiling result

write test

selecting candidates for interview

conducting interview

selected candidates after interview

generation of offer letters

Page 28: ooad labreport

28

Collaboration Diagram:

Class Diagram:

r : Recruitern :

NewsPaper

a : Applicant

t:Test

i:interview

1: Advertise

2: Send Application

3: Send AdmitCards

9: Send Offer Letter5: Evaluate8: Evaluate

4: Written Test

6: Call For Interview7: Give Interview

Page 29: ooad labreport

29

State chart Diagram:

Applying

SendApplic

ations

ReceiveAp

plications

Selecting

Applications

SendAdmit

cards

SendApplic

ations

ReceiveAp

plications

Selecting

Applications

SendAdmit

cards

Selection

Process

Conducting

Test

Correction

Checking

Marks

Selecting Students

for Diagrams

Conducting

Test

Correction

Checking

Marks

Selecting Students

for Diagrams

Interview

Process

Conducting

Interview

Selecting

Final Candidates

Conducting

Interview

Selecting

Final Candidates

Final State

Issue

OfferLetter

Receive

Accep...

Issue

OfferLetter

Receive

Accep...

Page 30: ooad labreport

30

Component Diagram

application.doc

admit card.doc

results.doc

interview

letter.doc

performance statistical

report.doc

list of successful

candidates.doc

Page 31: ooad labreport

31

SALES ANALYSIS SYSTEM

.

The purpose of resource management system is to capture necessary resources

and data required to perform an event or a program which is well organized and

well maintained by an organization. This product is needed to ensure the

security of all the concealed information about the resources. This software

reduces the burden of maintaining the transaction details manually. This project

also helps in:

1. Maintenance of Resources in the Resource Database

2. To coordinate all events of an organization

The main purpose of this project is to create monthly analysis of the sales of a

particular business organization. This analysis report helps to increase the

business of the organization by checking which products are quite often sold

and which products gained user attention. The intended users of this project are

the sales manager and the officer for sales at the Head office. This project runs

by taking the feedback from the customer and also the products purchased by

the customer. The main analysis is arrived from the monthly sales report and

updating the source and target register of sales.

Page 32: ooad labreport

32

USE CASE DIAGRAM1:

form submitted at the time of sale

Customer

Sales officer

Update monthly producreportUpdate monthly RO report Update monthly SO report

Update target register

Update supply register

Deliver products to RO

Process order

Head office

Page 33: ooad labreport

33

USECASE DIAGRAM2

form submitted at the time of sale

CustomerSales officer

Update monthly producreport

Update monthly RO report

Update monthly SO report

Update target register

Update supply register

Deliver products to RO

Process order

Head office

Page 34: ooad labreport

34

SEQUENCE DIAGRAM

customer sales officer head officer

1: submit order2: process order

3: submit order

4: supply order6: update supply register

7: update target register

8: update sales report,RO report

5: receive order

Page 35: ooad labreport

35

COLLABORATION DIAGRAM

customer o:order1:create

s:sales officer

2:submit order(O)

h:head office

2.2:place order(O)

s:sales officer

2.3:"delivered

o:order placed

2.4:"delivered"

sr:Supply register

tr:Target register

r:reports

3:update

3.1:"update" 3.2:"update"

2.1process order(O)

Page 36: ooad labreport

36

ACTIVITY DIAGRAM

Submit Form

Process Order

Deliv er Products

Update sales

register

Update target

register

Update monthly

SO report

Update monthly

RO report

Update monthly

product report

Finish order

Page 37: ooad labreport

37

STATE CHART DIAGRAM

Entry

place order

process

order

update supply

register

update target

register

update SO

report

update RO

report

supply

goods

order rejected

order accepted

valid order

stop

goods

supplied

SR updated

TR updated

SO updated

RO updated

Page 38: ooad labreport

38

CLASS DIAGRAM

Page 39: ooad labreport

39

COMPONENT DIAGRAM

HeadOffice.java

SalesOfficer.javaCustomer.java

PlaceOrder()Realizes

Realizes

SupplyGoods()

RealizesProcessOrder()UpdateSupplyReg()

UpdateTargetReg()GenerateSO()GenerateRO()