Create UML diagrams
bg_hwmarketAssignment#2
Question 1. Prepare a sequence diagram for the booking confirmation use case. Must include a detailed description. (6 marks)
Above sequence diagram shows a booking confirmation system of Hire-Me company. The sequences of system start with a Client search available car by Select Date, Time and Location from the clientUI. Then a clientUI initiate Date, Time and Location to Vehicle data and vehicle send searchData to DBMS. After DBMS retrieved SearchData, it would looked up the available car(AvaCar) in data base. The database return available car (returnAvaCar) to DBMS. Then DBMS return search result(returnSearchData) to Vehicle. The available vehicle displays in a client web UI, so client can see available car and make decision. After result has been displayed, clientUI will ask client to enter booking details(enterBookingDetail) with a client name, email, cardNo, cardExp, and cardCSV. Once client filled all detail, all the detail will sent to booking system (preConfirmation with date, time, location, name, email, cardNo, cardExp, and cardCSV). Then the booking system initiate the credit card detail to a paymentSystem. A paymentSystem retrieve payment detail and send a 10 % deposit payment request to Database Management System(DBMS), the DBMS retrieve a request and send a validation to the CardAuthorizeServer. After that the CardAuthorizeServer authorized a payment(authorizedPayment) to DBMS. The DBMS return message(completeTransection) to paymentSystem, then paymentSystem return message(paymentReceive) to a bookingSystem. A bookingSystem return Message(confirmBooking) to clientUI and display comfirmation message and send comfirmation email to customer.
Question 3. Create a design class diagram for Vehicle booking confirmation System. Provide a detailed description of your diagram. (6 marks)
Question 4. Discuss the following Grasp pattern
• Expert
• Creator
• Controller
• Low Coupling
• High Cohesion
• Singleton (6x2marks = 12 marks)