Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Hi I want to enhance this domain diagram by adding the necessary methods at the

ID: 3738162 • Letter: H

Question

Hi I want to enhance this domain diagram by adding the necessary methods at the bottom of each class ! DCD design class diagram For the following use case only Book flight Search Hotel Book Hotel Book a ride(transportation) I provide the system vision document if want to understand the system very well Thank you! If the website is an intermediary between hotels and customers then once a customer wants to reserve a room, he or she will be transferred to the hotel website Transportation ndeNumber raling comnent Flight fightNumber 1. Customer cusomeriD customer Name credit Cardinformation customerEmail departureTime arrvalDate Hotel hotelib hotelName hotell ocation telephonoNmber 1.1 pnce classType availableNumberOrSeat Room Reservation roomType roomiD reservationiD check InDate checkOutDate Price priceNumber pricet ype ReservationRoom eserved co numberOfRooms

Explanation / Answer

Book Flight

For this usecase add one method bookFlight to class “Class”. To interface this method with other components in the system, add additional data in Customer class to save the fight booked by a particular customer. This method once completes will also decrease ppropriate number of seats for that particular flight.

Search Hotel

Customer class should provide a method “searchHotel” which will iterate over all the instances of class Hotel and return results to cutomer for the hotel being queried. Also if customer requests types of rooms available in the hotel and the prices, class Hotel shoud have a method “searchRooms” to iterate over room types and prices. If customer wants rating then Hotel class should have “getRating” method to get and print rating from Review class.

Book Hotel

Reservation class will provide method “bookHotel” for hotel booking. This method will get rooms from hotel class and corresponding prices.

Book A Ride

Transportation class will provide a method “bookRide” to book a ride which will interface with Company class to book ride from a particular company.

In addition, all the classed should provide getter & setter methods for all the variables used.

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote