Question: ( Sequence and Anafyis Class Diagrams ) ( a ) Draw a Sequence diagram for the Written Use Case description of a Hotel RoomReservation, as

(Sequence and Anafyis Class Diagrams)
(a) Draw a Sequence diagram for the Written Use Case description of a Hotel RoomReservation, as provided below:
Use Case Title:
Primary Actor:
Level:
Stakeholders:
Preconditions:
Hotel Room Reservation
Customer
Kite (high, more general)
Customer, Reservation Clerk
Customer pays with credit card
Minimal Guarantee: Customer able to request a room
Success Guarantee: Customer will secure a reservation for a room
Main Success scenario:
Customer requests a room reservation for a specific date.
Hotel clerk checks room availability on specified date.
Clerk confirms room availability on specific date.
Customer requests relevant discount (AAA, corporate rate, etc.).
Clerk checks availability of discounts on date requested.
Best available room rate is found.
Total amount due, including taxes, is calculated.
Clerk informs customer of amount due (displays the total costs).
Customer confinms reservation of the room and Clerk books the room.
Availability of the room on the specified date is adjusted.
Charge of a one-day's rate on customer's card is applied as a deposit.
Clerk issues (displays) a reservation confirmation number to the customer.
Extensions:
3a) Rooms not available on specified date - customer tries another hotel.12a)
Credit card will not accept charge - reservation cancelled.
Hint:
Use only the Main Success scenario to draw the diagram. The Customer Actor interacts withthe system through a ReservationClerk boundary object.
Also, consider one Control object for this Use case (e.g. Hotel Control), and two entity objects HotelRooms, containing data for room availability, and CustomerCreditCard, containing customer credit data).
Consider all calculations to be performed by the Control class on itself, as well as finding bestroom rate(discount).
(b) Convert the Sequence Diagram you have prepared in the previous task into an Analysis Class Diagram.
Consider that all messages presented on the Sequence diagram become responsibilities of the receiver object class (i.e., they become methods of that class). Also, consider that each instance of Room in the Hotel Rooms class has a umique identifier Room No, and attributes like No of bects, and Room rate. The unique identifier in the Customer Credit Card class is Card No, and attributes are Card Holder name and Expiration date.
( Sequence and Anafyis Class Diagrams ) ( a )

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!