











Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
hotel management system in computers
Typology: Lecture notes
1 / 19
This page cannot be seen from the preview
Don't miss anything!












- 1.3 STATE CHARTS
Room State Chart
- 1.4 COLLABORATION 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.
- 2 DESIGN MODEL - (^) 2.1 CONSOLIDATED COLLABORATION DIAGRAMS & MESSAGE SEQUENCE DESCRIPTIONS
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 returns Reservation Data to Scheduler. ▲ (^) Scheduler sends a Cancel Non-Guaranteed Reservation request to Reservation. ▲ Scheduler sends Bill No-Show, Bill Additional Day, Bill GuaranteedReservation request to Bill/Payment.
▲ HMS Interface sends Make Payment (or Credit Payment) message along with customer's payment information to Bill/Payment. ▲ Bill/Payment sends a Payment Made (or Payment Credited) acknowledgment message to HMSInterface. ▲ Bill/Payment sends an Update Bill/Payment request to HotelDatabase.
▲ HMS Interface sends GenerateReport request along with ReportType, ReportParameters to Report.
- 2.2 DISTRIBUTED SOFTWARE ARCHITECTURE DOCUMENT
As shown on the Concurrent Collaboration Diagram below, the subsystems consist of a Reservation and Booking subsystem, a Room and Food Services subsystem, and a Management Services subsystem. These subsystems were determined through the use-case-based collaboration diagrams. The objects in the use-case-based collaboration diagrams that communicate frequently with each other, are related to each other, and have high coupling were placed in the same subsystem. Each of these subsystems also performs a major function, which is relatively independent of the functionality provided by the other subsystems. These subsystems can be allocated to a separate node in the distributed environment or can be executed on the same node as other subsystems. These three subsystems are composite subsystems because they all reside at the same location. They all have localized autonomy. Each subsystem controls a given aspect of the system. They encapsulate the objects they contain. The communication between the three subsystems is loosely coupled asynchronous message communication. The Hotel Management System component encompasses the three subsystems. The Hotel Management System is also a composite system. It also encapsulates the objects it contains. All of these components are logical and physical containers.
Concurrent Collaboration Diagram Documentation
The Hotel Management System contains three subsystems. These are Reservation and Booking, Room and Food Services, and Management Services. The Reservation and Booking subsystem encompasses customer check in, check out, room reservation, billing for the customers' stay, and room availability. The Room and Food Services subsystem allows the customer service representative to create the customers' food order and will generate a bill for the order. The Management Services subsystem deals with the maintenance of the hotel services. This subsystem allows management to add, modify, and delete information on rooms and rates and food menu items and prices. Management Services also may administer new employee user profiles for the HMS. The managers may delete, modify, and add employee profiles. This subsystem will also generate reports on these uses. The Hotel Management System Interface will allow the users; Managers and customer service representatives to interact with the system. The users will be able to administer Reservation & Booking services, Room & Food services, and Management services (for management only). The external output device, the printer, is not part of the software to be created. The computers in the hotel will have printers available. The report on pending checkouts and the bill data generated from the Reservation & Booking subsystem will be able to be printed. The reports of all subsystem data from the Management Services subsystem will be able to be printed. The bill generated from the Room & Food Services subsystem will be able to be printed.
Concurrent Collaboration Diagram below
- 2.3 SUBSYSTEM SOFTWARE ARCHITECTURE
The Hotel Management System is functionally decomposed into the Reservations and Management subsystems. This section describes the criteria used to determine which objects are active and which are information-hiding classes. Active objects execute concurrently and run in their own thread. The active objects are modeled as tasks and the other objects are modeled as information hiding classes. A collaboration diagram is given for each subsystem. The objects having the thicker, bolded borders are tasks. In the Information Hiding Classes Diagram, each class has been given a <
Room Availability Info Room Availability Info
Room Availability Info Room Availability Info