Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

QUESTION 2 Not yet answered Marked out of 25.00 P Flag question Draw a UML sequence diagram using the provided class diagram for a car

image text in transcribed

QUESTION 2 Not yet answered Marked out of 25.00 P Flag question Draw a UML sequence diagram using the provided class diagram for a car dealership and the following use case. The specifications below describe the interaction among system objects when performing one of the system's use cases. This use case explains a customer booking a MOT service. Preconditions of this use case: The customer already logged-in and several objects already exist in the system memory. Some of these objects are GUI (an object representing the graphical user interface of the system), customer (instance of Customer), registry (instance of Registry), mechanic (instance of Mechanic). Download and work on this VPP file which includes the class diagram (click here). 1. The customer selects a date (for MOT) using GUI. 2. GUI calls the customer object to search for a service for the given date. 3. The customer object calls the registry object to find the available service times. 4. The registry calls all mechanic objects to get their availability. 5. The registry returns the list of availabilities to the customer object and the customer object returns it to the GUI. 6. If the returned list is empty, then GUI displays (the customer) no available slots message. 7. Otherwise, GUI display available slots to the customer. 8. Then customer selects one of the available slots from the GUI. 9. GUI calls the customer object to book an MOT service. 10. The customer object calls registry to create an MOT service for the selected date and time. 11. The registry object creates a new MOT object and adds it to the mechanic's schedule. 12. The registry returns the MOT object to the customer object and the customer object returns it to the GUI. 13. GUI displays service details to the customer. HINTS: You can use List notation for your return messages where a lifeline returns of a list of objects. Please use the names below for the actor name and messages in your diagram: Customer, select date, no available slots, display available slots, select a slot, display service details Create your UML sequence diagram using Visual Paradigm and when done save it as PDF. Then, upload the PDF file to the section below by dropping the file into it or using the add file icon on the top left

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Essential SQLAlchemy Mapping Python To Databases

Authors: Myers, Jason Myers

2nd Edition

1491916567, 9781491916568

More Books

Students also viewed these Databases questions