Draw a sequence diagram to represent the following room reservation business process in Table1. Table1: Making Reservation
Question:
- Draw a sequence diagram to represent the following room reservation business process in Table1.
Table1: Making Reservation Use Case Description
Name | Making Reservation | |
Summary | The reservation clerk reserves a room for a hotel guest | |
Actor | Reservation clerk | |
Precondition | The reservation clerk has logged into the hotel system | |
Description | 1. | Guest gives personal details to reservation clerk, such as name, room |
type, number of occupants, date and time of arrival, and departure | ||
2. | Reservation clerk enters information into the system and looks up | |
availability and room reservation rate. | ||
3. | If room is available, clerk requests the guest to guarantee the reservation | |
with a credit card number | ||
4. | The clerk enters the guest’s credit card number to guarantee the | |
reservation | ||
5. | If credit card number is valid, the clerk updates the reservation as | |
guaranteed | ||
Alternatives | Room not available: Line 3 – If a room is not available, the clerk requests the | |
customer for another date and/or time of arrival and departure. | ||
Invalid credit: Line 5 – If the credit card number is invalid, the clerk requests | ||
for another credit card number. | ||
Post-condition | The reservation is created for the guest. | |
- Produce a Class Diagram for the room reservation business process in Table1. Your diagram should (where relevant) include associativity and multiplicity as well as attributes and operations.
Quantitative Analysis for Management
ISBN: 978-0132149112
11th Edition
Authors: Barry render, Ralph m. stair, Michael e. Hanna