Oose Lecture14 (Corsera)
Oose Lecture14 (Corsera)
The following are the requirements for a web-based system to computerize the
management of the sale and rental of movies for a shop.
The system must be able to handle both physical and digital movies.
It must be able to record which movies are sold and rented and by whom.
For sold movies, the quantity sold should be recorded; for physical movie rental,
which copy is rented and when it is due back should be recorded.
The system should keep track of overdue rentals of physical movies and send
email notices to customers who have movies overdue.
There will be a customer membership option for an annual fee, which will entitle a
member to discounts (10%) on the sale and rental of movies.
Members should be able to make reservations for physical movie rentals either in
person at the shop, by telephone or via the Web.
A member can reserve at most five physical movies at any one time, but there is
no limit on how many physical movies a member or nonmember can rent at any
one time.
As an added feature, the shop would like to allow customers (either members or
nonmembers) to input, via the Web, mini-reviews (up to 100 words) and a rating
(from 1, lowest, to 10, highest) of movies they have purchased or rented.
EXERCISE: MOVIE SHOP USE-CASE MODEL (cont'd)
b) group the functionality into use cases and show the uses
cases and their related actors in a use-case context
diagram.
EXERCISE:
MOVIE SHOP USE-CASE MODEL ANALYSIS
#$#
" #
!!
As an added feature, the shop would like to allow customers (either members or
nonmembers) to input, via the Web, mini-reviews (up to 100 words) and a rating
(from 1, lowest, to 10, highest) of movies they have purchased or rented.
functionality: Customer: enter movie review
Members are assigned a membership number by the shop when they become
members and a password, which allows them to change their personal
information and to buy and rent digital movies via the Web.
functionality: Member: update personal information
Member: buy movie
Member: rent movie
Clarifies who can use buy and rent functionality.
The shop manager should be able to generate various reports on the sale and
rental of movies.
functionality: Manager: generate reports
EXERCISE:
MOVIE SHOP USE-CASE MODEL ANALYSIS
Sales clerk buy (sell) movie
Sales clerk rent movie
Sales clerk return rented movie
Buy Movie
Rent Movie
Customer
Manage Reviews
Sales clerk
Reserve Movie
Member
Manage Customer
Generate Reports
EXERCISE:
MOVIE SHOP REFINED USE-CASE DIAGRAM
Buy Movie
Manage Reviews
Customer Rent Movie
Rent Movie
Buy Movie
Sales clerk Manage Reviews
Reserve Movie
Generate Reports Generate Reports
EXERCISE: MOVIE SHOP USE-CASE MODEL
COMMON ERRORS
#!
""
☞
$
!
☞