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
- 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.
Step by Step Solution
3.48 Rating (158 Votes )
There are 3 Steps involved in it
Step: 1
Sequence Diagram Class Diagram Customer I I Request Roo...Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started