Sei sulla pagina 1di 9

Hotel Management System

ANALYSIS AND DESIGN MODELS

prepared by Team 1

Sandra Busik
Susan Le
Peter Lockwood
Pradeep Miglani
Reita Sikka
Kai Zhang

TABLE OF CONTENTS
1

ANALYSIS MODEL3

1.1

STATIC MODEL

1.2

ATTRIBUTES OF THE CLASSES ON THE STATIC MODEL

1.3

STATE CHARTS

1.4

COLLABORATION DIAGRAMS (one for each use case) & MESSAGE SEQUENCE DESCRIPTIONS

DESIGN MODEL

2.1

CONSOLIDATED COLLABORATION DIAGRAMS & MESSAGE SEQUENCE DESCRIPTIONS 8

3
4

5
8

2.1.1 CONSOLIDATED COLLABORATION DIAGRAMS 9


2.1.2 MESSAGE SEQUENCE DESCRIPTIONS FOR CONSOLIDATED COLABORATION DIAGRAMS
2.2

DISTRIBUTED SOFTWARE ARCHITECTURE DOCUMENT

11

13

2.2.1 DESCRIPTION OF HOW THE SYSTEM IS DECOMPOSED INTO COMPONENT-BASED SUBSYSTEMS & CONCURRENT
COLLABORATION DIAGRAM
13
2.2.2 DESIGN OF RELATIONAL DESIGN DATABASE

15

2.3

16

SUBSYSTEM SOFTWARE ARCHITECTURE

2.3.1 OVERVIEW DESCRIPTION OF SUBSYSTEM SOFTWARE ARCHITECTURE


2.3.2 TASK ARCHITECTURE
2.4

17

INFORMATION HIDING CLASSES 19

16

ANALYSIS MODEL

1.1

STATIC MODEL

Bill/Payment

Report

bills

Scheduler

processes

cancels

Reservation

processes creates/modifies/deletes

generates
HMS

completes

has

Employee

processes

HMS
Interface

processes
processes

Customer

Administration
Discount

updates

Room

ATTRIBUTES OF THE CLASSES ON THE STATIC MODEL

Customer
customerID
lastName
middleName
address
city
state
zip
firstName
confirmationNumber

Reservation
reservationID
customerID
roomNumber
roomAvailStatus
roomStatus

HMS Interface
customerID
lastName
firstName
middleName
discountType
discountAmount
confirmationNumber
reservationID
roomNumber
foodItems
foodAmounts
discountType
discountAmount

Database
sqlString

Room
roomNumber
roomStatus

Employee
employeeID
userID
password

Report
reportType
Menu
menuItem

Scheduler
customerID
reservationID
roomRate
chargeRoom
timeChargeForNoShow
timeChargeForAdditionalDay
timeChargeForGuaranteedRoom

HMS
employeeID
employeeLogInStatus
userID
password

Discount
customerID
reservationID
discountType
discountAmount

Administration
employeeID
itemID
roomNumber

Bill/Payment
customerID
reservationID
paymentAmount
creditAmount

1.3

STATE CHARTS

Bill/Payment Statechart

Recieve & add item

Open

Adjust Bill

Generate Bill

Generated

Record Payment

Room State Chart

RROOMoom Statechart

Vacant

Rm No entered when customer checks in

Five hrs. past check in

Rm. no. entered

Customer check out


Occupied

Reserved
Room number entered when customer check in