Hotel Management System

Only available on StudyMode
  • Download(s) : 540
  • Published : April 10, 2013
Open Document
Text Preview
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

1ANALYSIS MODEL3

1.1STATIC MODEL3
1.2ATTRIBUTES OF THE CLASSES ON THE STATIC MODEL4
1.3STATE CHARTS5
1.4COLLABORATION DIAGRAMS (one for each use case) & MESSAGE SEQUENCE DESCRIPTIONS8

2DESIGN MODEL8

2.1CONSOLIDATED COLLABORATION DIAGRAMS & MESSAGE SEQUENCE DESCRIPTIONS8 2.1.1CONSOLIDATED COLLABORATION DIAGRAMS9
2.1.2MESSAGE SEQUENCE DESCRIPTIONS FOR CONSOLIDATED COLABORATION DIAGRAMS11 2.2DISTRIBUTED SOFTWARE ARCHITECTURE DOCUMENT13
2.2.1DESCRIPTION OF HOW THE SYSTEM IS DECOMPOSED INTO COMPONENT-BASED SUBSYSTEMS & CONCURRENT COLLABORATION DIAGRAM13 2.2.2DESIGN OF RELATIONAL DESIGN DATABASE15
2.3SUBSYSTEM SOFTWARE ARCHITECTURE16
2.3.1OVERVIEW DESCRIPTION OF SUBSYSTEM SOFTWARE ARCHITECTURE16 2.3.2TASK ARCHITECTURE17
2.4INFORMATION HIDING CLASSES19
1ANALYSIS MODEL

1.1STATIC MODEL

[pic]

2 ATTRIBUTES OF THE CLASSES ON THE STATIC MODEL

[pic]

1.3STATE CHARTS

Room State Chart
[pic]

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

We have done individual collaboration diagrams (one for each use case). Per Dr. Wu, they are not required to be turned in. Please see Consolidated Collaboration Diagrams and Message Descriptions for Consolidated Collaboration Diagrams in section 2.1.1 and 2.1.2, respectively.

2DESIGN MODEL

2.1CONSOLIDATED COLLABORATION DIAGRAMS & MESSAGE SEQUENCE DESCRIPTIONS

2.1.1CONSOLIDATED COLLABORATION DIAGRAMS

2.1.2MESSAGE SEQUENCE DESCRIPTIONS FOR CONSOLIDATED COLABORATION DIAGRAMS

Message Sequence Description for Consolidated Collaboration Diagram of Reservation and Booking System

The message sequence description below addresses the messages on the Consolidated Collaboration Diagram for Reservation and Booking System.

➢ CSR or Manager actor inputs screen selection and information to HMS Interface. ➢ HMS Interface sends the CSR's or Manager's reservation & booking transaction inputs to Reservation. ➢ Reservation sends a Retrieve Customer Info request along with customer's name to Customer to search for the customer record. ❖ If the customer record is already in the system, Customer sends Customer Info to Reservation. Reservation sends Update Customer Info request along with updated info to Customer. ❖ If the customer record is not yet in the system, Reservation sends Create Customer Info request along with customer info to Customer to create a customer record. ➢ Customer sends Add/Update/Retrieve Customer Info message to HotelDatabase. ➢ Reservation sends a Check Room Availability request along with information on room type, check-in date, check-out date to Room to search for a vacant room. ➢ Room sends a Retrieve Room Availability request to HotelDatabase to get room availability information. ➢ HotelDatabase sends a Room Availability Info response to Room. ➢ Room sends Availability Status to Reservation.

➢ Reservation sends an Apply Discount request to Discount. ➢ Discount sends Get Discount message to HotelDatabase to obtain discount data. ➢ Reservation sends an Update/Retrieve Data request to HotelDatabase to update/retrieve reservation&booking data, and HotelDatabase sends reservation&booking data to Reservation. ➢ Reservation sends a Generate Bill, Charge Bill (or Credit Bill) request along with balance due information to Bill/Payment.

➢ Bill/Payment sends Get Room/FoodService Bill Data message to Room/Food Services System, and Room/Food Services System sends Room/FoodService Bill Data to Bill/Payment.

➢ Timer sends Scheduler Events to Scheduler.
➢ Scheduler sends a Get Reservation Data request to HotelDatabase. HotelDatabase...
tracking img