Case Study: A Video Store (AVS) runs a business of renting out video to customers. Every customer must have a AVS customer card in order to rent a video, or he need to apply for one. Customers rent videos for three days at a time. Every time a customer rents a video, the system must ensure that they do not have any overdue videos. If so, the overdue videos must be returned and an overdue fee paid before customer can rent more videos. Likewise, if the customer has returned overdue videos, but has not paid the overdue fee, the fee must be paid before new videos can be rented. Every morning, the store manager prints a report that lists overdue videos. If a video is two or more days overdue, the manager calls the customer to remind them to return the video. If a video is returned in damaged condition, the manager removes it from the video database and may sometimes charge the customer. Task 1: Behavioral communication diagram. Create a communication diagram for use case “paying overdue late fees” Task 2: Behavioral state machine Create a behavioral state machine to depict “Video Rental” class. Video Rental Customer ID number Video ID number Date Due Rental status (on hand/rented) Video overdue fee Rental condition + change status from on-hand to rented
Case Study:
A Video Store (AVS) runs a business of renting out video to customers. Every customer must have a AVS customer card in order to rent a video, or he need to apply for one. Customers rent videos for three days at a time. Every time a customer rents a video, the system must ensure that they do not have any overdue videos. If so, the overdue videos must be returned and an overdue fee paid before customer can rent more videos. Likewise, if the customer has returned overdue videos, but has not paid the overdue fee, the fee must be paid before new videos can be rented. Every morning, the store manager prints a report that lists overdue videos. If a video is two or more days overdue, the manager calls the customer to remind them to return the video. If a video is returned in damaged condition, the manager removes it from the video
Task 1: Behavioral communication diagram.
Create a communication diagram for use case “paying overdue late fees”
Task 2: Behavioral state machine
Create a behavioral state machine to depict “Video Rental” class.
Video Rental |
Customer ID number Video ID number Date Due Rental status (on hand/rented) Video overdue fee Rental condition
|
+ change status from on-hand to rented |
Trending now
This is a popular solution!
Step by step
Solved in 2 steps with 2 images