49
INDEX S. no. Practical Signature

Oose kk

Embed Size (px)

DESCRIPTION

uml diagrams

Citation preview

Page 1: Oose kk

INDEX

S. no. Practical Signature

Page 2: Oose kk

Hospital managementHospital management

Use case Diagram

Diagnosis

Information system

Reports

Doctor

Administrator

Login

Staff/Nurses

Admission

Appointments

Payment

Patient

Page 3: Oose kk

Class Diagram

Doctor

private int idprivate varchar nameprivate float salary

public void salary()

Registration

int reg()void alotBed()

Payment

float amtint billno.

float addTestChrg()float addOprChrg()float addWrdChrg()

Patient

Private int idprivate varchar nameprivate int age

public int create()public int inpatient()public int ispatient()

1

1

1

1

1

1

1

1

Reports

void dispWardStatus()void dispReports()

Diagnosis

private int p_idprivate int idprivate int doctor_id

public void test()public void appt()

11..* 11..* 11 11

Appointment

date dttime tm

1..*

1

1..*

1

Page 4: Oose kk

Sequence Diagram

Admission

Appointment

Patient : Patient

Patient : Patient

Registration : Registration

Registration : Registration

Payment : Payment

Payment : Payment

Appointment : Appointment

Appointment : Appointment

1: Create()

2: inPatient()

3: reg()

4: addChrg()

5: date()

6: time()

Page 5: Oose kk

Patient : Patient

Patient : Patient

Payment : Payment

Payment : Payment

Appointment : Appointment

Appointment : Appointment

Diagnosis : Diagnosis

Diagnosis : Diagnosis

2: isPatient()

1: addChrg()

3: date()

4: time()

5: docAppt()

Diagnosis

Patient : Patient

Patient : Patient

Payment : Payment

Payment : Payment

Diagnosis : Diagnosis

Diagnosis : Diagnosis

1: isPatient()

2: addOprChrg()

3: getOpr()

Information system

Page 6: Oose kk

EditEdit Doctor/StaffDoctor/Staff

1: doc()

2: isStaff()

3: add()

4: delete()

5: Edit()

Patient Information

Patient : Patient

Patient : Patient

Registration : Registration

Registration : Registration

Reports : Reports

Reports : Reports

1: inPatient()

2: dispWrdStatus()

3: dispReports()

4: dispInfo()

Page 7: Oose kk

Collaboration Diagram

Admission

Page 8: Oose kk

Patient : Patient

Registration : Registration

Payment : Payment

Appointment : Appointment

3: reg()

1: Create()2: inPatient()

4: addChrg()

5: date()6: time()

Appointment

Patient : Patient

Payment : Payment

Appointment : Appointment

Diagnosis : Diagnosis

3: date()4: time()

2: isPatient()

1: addChrg()

5: docAppt()

Diagnosis

Page 9: Oose kk

Patient : Patient

Payment : Payment

Diagnosis : Diagnosis

2: addOprChrg()

1: isPatient()

3: getOpr()

Patient Information

Patient : Patient

Registration : Registration

Reports : Reports

4: dispInfo()

1: inPatient()

2: dispWrdStatus()3: dispReports()

State Chart Diagram

Page 10: Oose kk

Staff Patient

Take Details of patients

gives appointment

gives bill

takes bill amount

Enter the Hospital

Takes Appointment

Undergo Diagnosis

Takes Treatment

Gets Cured

Not Cured

Doctor

Page 11: Oose kk

Diagnos the patient

Gives treatment

Prescribes medicines and tests

Cures the patient

Railway Management SystemRailway Management System

Page 12: Oose kk

Use case Diagram

Payment

Traveller

Enquiry

Cancellation

Reseravtion

Booking Clerk

Login

Inforamtion system

Administartor

Class Diagram

Page 13: Oose kk

Payment

float amtint Ticket_no

void Pay()Enquiry

int tkt_no.int train_no.Date dttime tm

void avlble()void chk_list()

Traveller

varchar nameint agevarchar sex

void create()void inTraveller()

1

1

1

1 1..*

1

1..*

1

Cancellation

int tkt_no.int Train_no.Date dt

void cancel()float amt_back()

1..*1 1..*1

Reservation

int tkt_no.int train_no.name

void confrm()void waiting()

1..*

1..*

1..*

1..* Clerk

varchar nameint idvarchar branch

float salary()float wrkngHrs()

1..*

0..*

1..*

0..*

1..*

0..*

1..*

0..*

Sequence Diagram

Page 14: Oose kk

Cancellation

Enquiry

Reservation

TravellerTraveller EnquiryEnquiry CancellationCancellation

1: inTraveller()

2: Chk_List()

3: Cancel()

4: Amt_back()

Traveller : Traveller

Traveller : Traveller

EnquiryEnquiryncellation

Reservation/Cancellation

1: inTraveller()

2: Availability()

3: date

5: confirm/cancel

4: time

Page 15: Oose kk

Traveller : Traveller

Traveller : Traveller

EnquiryEnquiry Reservation : Reservation

Reservation : Reservation

PaymentPayment

1: inTraveller()

2: Availability()

3: Reserved()

4: Pay()

Information system

Collaboration Diagram

EditEdit DetailsDetails

2: isTrain()

4: add()

5: del()

6: update()

3: isSeats()

1: isClerk()

Page 16: Oose kk

Cancellation

Enquiry

Traveller : Traveller

Enquiry

Reservation/Cancellation

2: Availability()3: date4: time

1: inTraveller()

5: confirm/cancel

Reservation

Traveller Enquiry

2: Chk_List()

4: Amt_back()

1: inTraveller()

3: Cancel()

Cancellation

Page 17: Oose kk

Traveller : Traveller

Reservation : Reservation

Payment Enquiry

2: Availability()

1: inTraveller()

4: Pay()

3: Reserved()

Information system

Edit Details

1: isClerk()2: isTrain()3: isSeats()

4: add()5: del()

6: update()

Page 18: Oose kk

State Chart Diagram

Enquiry Reservation

Enter the Railway station

Check for the Required Train

Check for the required Date and Time

Check for the Reservation type

Check for the Availability

Reserved the seats

Pay the required Amount

Confirm/Update the status

Page 19: Oose kk

Northern India Engineering CollegeNorthern India Engineering College

Use case

Fees Structure

Admission

College Info

Time Table

Login

Salary

Result

Student Visitor

Courses Available<<include>>

FacultyAdministrator

Page 20: Oose kk

Class Diagram

Admission

int rollnodate dtvarchar course

void regstr()Fee

float amtint rollno.int yearvarchar branch

void deposit()

Student

varchar nameint rollno.varchar branchvarchar address

int create()void inStudent()

1

1

1

1

Result

int rollnoint yearvarchar branch

void dispResult()

11

Faculty

int idvarchar namefloat salary

float salary()void subject()

1

1..*

Courses

varchar subjectint sem

1

1..*

1 1..*

1 1

1

1

1

1

1..*

1

1

1..*

1 1..*

Page 21: Oose kk

Sequence Diagram

Admission

Course taken

Student : Student

Student : Student

Admission : Admission

Admission : Admission

Course : CoursesCourse : Courses

1. inStudent()

2. regstr()

3.feePaid()

4. crsSelectd()

Student : Student

Student : Student

Admission : Admission

Admission : Admission

Fee : FeeFee : Fee

1.Create()

2. inStudent()

3. regstr()

4. deposit()

Page 22: Oose kk

Student Information

Student : Student

Student : Student

Course : CoursesCourse : Courses

Result : ResultResult : Result

1. inStudent()

2.CrsTkn()

3. dispResult()

Page 23: Oose kk

Collaboration Diagram

Admission

Student : Student

Admission : Admission

Fee : Fee

3: 3. regstr()

1: 1.Create()2: 2. inStudent()

4: 4. deposit()

Course taken

Student : Student

Admission : Admission

Course : Courses

2: 2. regstr()

4: 4. crsSelectd()

1: 1. inStudent()

3: 3.feePaid()

Page 24: Oose kk

Student info

Student : Student

Course : Courses

Result : Result

2: 2.CrsTkn()

1: 1. inStudent()

3: 3. dispResult()

Page 25: Oose kk

State Chart Diagram

Student Faculty

Enter the College

Enrol for a Course

Pay the fees

Attend the Lectures and give the Exams

Take the result

come to Lecture Hall

Takes the lecture

Takes Exam

Give the Result

Page 26: Oose kk

Library managementLibrary management

Use case Diagram

Administrator

Login

Books Record

Search a Book

Librarian

Issue

Return

Fine

Reading Section

Registration

User

Page 27: Oose kk

Class Diagram

Sequence Diagram

Page 28: Oose kk

Book Issue

Book Return

Page 29: Oose kk

Due-Date Validation

Page 30: Oose kk

Fine calculation

Page 31: Oose kk

Collaboration Diagram

Book issue

Page 32: Oose kk

Book Return

Due-Date validation:

Fine-Calculation

Page 33: Oose kk

State Chart Diagram

Page 34: Oose kk

User Librarian

Enter the Library

Register Yourself and get the membership

Search for the book

Get Issue the book

Return the book till due date

Make new registrations

Issue the books

Collect the Fines

Maintain the records.

Page 35: Oose kk

Administrator

ATM System ManagementATM System Management

Appoint staff

Maintain the Books Records

Maintain the Staff Records

Maintain the library infrastructure

Order new books

Page 36: Oose kk

Use case Diagram

Class Diagram

Page 37: Oose kk

Sequence Diagram

Page 38: Oose kk

Login

Page 39: Oose kk

Cash Withdraw

: customerAtm Screen Account Cash dispenser Reciept

generator

Cash Withdraw And Generate mini reciept_seq

1.Insert card

2.Read Card

6.prompt for options

7.Withdraw cash

5.Validate Card

8.Prompt for amount

9.Enter amount

10.validate Amount

11.Deduct amount

13.Dispense cash

12.Acknowledgement

14.Generate Reciept

3.prompt for password

4.Enter password

15.Eject Card

Page 40: Oose kk

System shutdown

Collaboration Diagram

: Operator

Atm Screen

1.Switch_Off

2.System_shutdown

3.Screen gets blank

SYSTEM SHUTDOWN_seq

Page 41: Oose kk

Login

Cash Withdraw

: customer

Atm Screen

Account

1: Insert card

2: Read Card

3: Prompt for password

4: Enter password

5: Validate Card

6: prompt for options

Login_collab

: customer

Atm Screen

Account

Cash dispenser

Reciept generator

2: Read Card

11: Deduct amount

1: Insert card4: Enter password7: Withdraw cash9: Enter amount

3: prompt for password6: prompt for options8: Prompt for amount

15: Eject Card

5: Validate Card10: validate Amount

12: Acknowledgement

13: Dispense cash

14: Generate Reciept

Cash_withdraw_collab

Page 42: Oose kk

System Shutdown

State Chart Diagram

Atm Screen

: Operator

1: Switch_Off

2: System_shutdown

3: Screen gets blank

System_shutdown_collab

OFF entry/display "Not Available

Serving Customer include Session

IDLE entry/display "please Insert Card"session completed or aborted

switch turned off / perform Shutdown

switch turned on/ Perform startup

card inserted ,create session

Page 43: Oose kk