In: Computer Science
In a Toy renting information system, the use case “Hand over Toy” is described in the following template.
Use Case: |
Pickup Toy |
Normal Flow: |
1.Customer enters the office to ask for the toy to take away. 2.Service Staff retrieves the booking record 3.Service Staff shows the Toy to the customer 4. Service Staff records credit card information if not in the system yet. Validate the credit card for security 5.Service Staff stipulates the contract for the hire and the return protocol for the Toy including the following information: ·the type and the Toy ·the current condition ·the rate per day or per week (if longer than 7 days), ·the date of contract, ·the period of hire, and ·delay penalty, ·damage protocols ·Service Staff totals the expected price for normal hire. 6. Service Staff saves the contract agreement into the database system. 7.System prints the contract for the customer to keep. 8. Customer takes the toy away. |
Sub-Flows |
3.1 Check the booked toy is in a good condition and test the toy whether is working as specified. 6.1.Copies of the contract agreement must include:
|
Alternate Flow/ Exceptions: |
2.a Customer does not have a booking number. Service staff can search the requested toy for customer : 2.a.1. The toy is available . 2.a.2 . Cannot find an available toy and exit the system. 3.a.The toy is not satisfying customer’s expectation. Service staff may replace another toy to meet the customer or provide different options. 4.a.Customer pays by cash. Credit card information is not recorded. |
You are required to fill in the following table to summarize classes that you have identified, together with their responsibilities. Only those identified classes (at least 8 classes) should be in the table. [8 marks]
Toy Hire management |
||
Book and Hire management: Preliminary Class Candidates |
||
Class |
Responsibilities |
Use Cases |
|
2. Create a class diagram for “Contract & Its Associates”. That is, the class diagram describes Contract class with its associates/collaborators and multiplicity to other classes. The viewpoint of the class diagram is to show interrelationships (no need show the detailed responsibility of classes). (Draw the Class Diagram either using a software tool or hand writing on a paper then take the photo to upload the file in the below answer box) [12 marks]
HERE IS THE TABLE DESCRIBING CLASSES
The class diagram i understood is the contactor gives the contract for making product to an associate if you need any update please comment i wll change it
PLEASE GIVE AN UPVOTE