310414 REQUIREMENTS CAPTURE 1 USE-CASE MODELING EXAMPLE A video sales and rental shop would like to...
-
Upload
coleen-franklin -
Category
Documents
-
view
214 -
download
2
Transcript of 310414 REQUIREMENTS CAPTURE 1 USE-CASE MODELING EXAMPLE A video sales and rental shop would like to...
![Page 1: 310414 REQUIREMENTS CAPTURE 1 USE-CASE MODELING EXAMPLE A video sales and rental shop would like to computerize its management of sales and rental of its.](https://reader036.fdocuments.us/reader036/viewer/2022083006/56649f395503460f94c559fa/html5/thumbnails/1.jpg)
310414310414 REQUIREMENTS CAPTUREREQUIREMENTS CAPTURE1
USE-CASE MODELING EXAMPLEUSE-CASE MODELING EXAMPLE
A video sales and rental shop would like to computerize its management of sales and rental of its movie videos. As well, it would like to establish a presence on the Web and allow its customers to rent and buy videos via the Web. Below are the high-level requirements for a system that will manage the sale and rental of videos for the video shop:– The system must be able to keep track of which movie videos have been
bought/rented and by whom. For videos bought, the system must record the quantity bought; for videos rented, the system must record which copy of the video has been rented and when it is due back.
– The system must keep track of overdue rental videos and allow notices to be sent to customers who have videos overdue.
– The video shop will have a customer membership option for an annual fee, which will entitle the member to discounts (10%) on video sales and rentals.
– Members should be able to make reservations for movie video rentals either in person at the store, by telephone or via the Web.
– A member can reserve at most five movie videos at any one time, but there is no limit on how many movie videos a member or nonmember can rent at any one time.
– As an added feature, the video shop would like to allow customers (either members or nonmembers) to input, via the Web, mini-reviews (up to 100 words)
![Page 2: 310414 REQUIREMENTS CAPTURE 1 USE-CASE MODELING EXAMPLE A video sales and rental shop would like to computerize its management of sales and rental of its.](https://reader036.fdocuments.us/reader036/viewer/2022083006/56649f395503460f94c559fa/html5/thumbnails/2.jpg)
310414310414 REQUIREMENTS CAPTUREREQUIREMENTS CAPTURE2
USE-CASE MODELING EXAMPLE (cont’d)USE-CASE MODELING EXAMPLE (cont’d)
and a rating (from 1, lowest, to 5, highest) of movies they have rented. These reviews should be anonymous if the customer so wishes (i.e., the customer can specify whether or not he wants his name to be made known when other customers browse the reviews).
– The video shop maintains the following information about all customers (members or nonmembers): name, address, phone number, fax number, age, sex, and email address. In addition, members are assigned a membership number by the video shop when they become members and a password, which allows them to access the members-only area of the video shop's web site, including accessing and changing their personal information.
– Using the Web, customers should be able to buy and rent videos and browse the reviews entered by other customers.
– Managers must be able to generate various reports on sales/rentals of videos.– Staff must be able to sell/rent videos from the store’s inventory and return rented
videos to the store's inventory.– When selling or renting videos, staff must be able to look up customer information
and determine whether the customer is a member.– An employee must be able to enter the basic information about a movie video
(i.e., title, leading actor(s), director, producer, genre, synopsis, release year, running time, selling price, and rental price).
![Page 3: 310414 REQUIREMENTS CAPTURE 1 USE-CASE MODELING EXAMPLE A video sales and rental shop would like to computerize its management of sales and rental of its.](https://reader036.fdocuments.us/reader036/viewer/2022083006/56649f395503460f94c559fa/html5/thumbnails/3.jpg)
310414310414 REQUIREMENTS CAPTUREREQUIREMENTS CAPTURE3
USE-CASE MODELING EXAMPLE — ANALYSISUSE-CASE MODELING EXAMPLE — ANALYSIS
We first analyze the functional requirements of the system and then present the use-case model. Note that for the purposes of producing the use-case model, we are only really interested in those functional requirements that provide something of value for some actor.
– The system must be able to keep track of which movie videos have been bought/rented and by whom. For videos bought, the system must record the quantity bought; for videos rented, the system must record which copy of the video has been rented and when it is due back.functional requirement: None.
(These are nonfunctional requirements, i.e., what information the system must be able to
store—what video was bought/rented; who bought/rented a video; quantity bought; copy rented.)
– The system must keep track of overdue rental videos and allow notices to be sent to customers who have videos overdue.functional requirement: allow the system to detect overdue rented videos so that it can produce rented video overdue notices for staff to send to customers
![Page 4: 310414 REQUIREMENTS CAPTURE 1 USE-CASE MODELING EXAMPLE A video sales and rental shop would like to computerize its management of sales and rental of its.](https://reader036.fdocuments.us/reader036/viewer/2022083006/56649f395503460f94c559fa/html5/thumbnails/4.jpg)
310414310414 REQUIREMENTS CAPTUREREQUIREMENTS CAPTURE4
USE-CASE MODELING EXAMPLE — ANALYSISUSE-CASE MODELING EXAMPLE — ANALYSIS
– The video shop will have a customer membership option for an annual fee, which will entitle the member to discounts (10%) on video sales and rentals.
functional requirement: None.(This is a nonfunctional requirement that affects
the operation of some use cases such as buying and selling videos.)
– Members should be able to make reservations for movie video rentals either in person at the store, by telephone or via the Web.functional requirement: allow a member to reserve a video
allow staff to reserve a video(Note that how the reservation is done is not
important from a functional perspective.)
– A member can reserve at most five movie videos at any one time, but there is no limit on how many movie videos a member or nonmember can rent at any one time.functional requirement: None.
(This is a nonfunctional requirement—a domain model constraint.)
![Page 5: 310414 REQUIREMENTS CAPTURE 1 USE-CASE MODELING EXAMPLE A video sales and rental shop would like to computerize its management of sales and rental of its.](https://reader036.fdocuments.us/reader036/viewer/2022083006/56649f395503460f94c559fa/html5/thumbnails/5.jpg)
310414310414 REQUIREMENTS CAPTUREREQUIREMENTS CAPTURE5
USE-CASE MODELING EXAMPLE — ANALYSISUSE-CASE MODELING EXAMPLE — ANALYSIS
– As an added feature, the video 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 5, highest) of movies they have rented. These reviews should be anonymous if the customer so wishes (i.e., the customer can specify whether or not he wants his name to be made known when other customers browse the reviews).
functional requirement: allow a customer to enter a review for a video
– The video shop maintains the following information about all customers (members or nonmembers): name, address, phone number, fax number, age, sex, and email address. In addition, members are assigned a membership number by the video shop when they become members and a password, which allows them to access the members-only area of the video shop's web site, including accessing and changing their personal information.functional requirement: allow staff to enter/update customer/member
information (Note that this requirement is implicitly stated in that someone (i.e., the staff) has to enter the customer/ member information into the system.)allow a member to update their personal information
![Page 6: 310414 REQUIREMENTS CAPTURE 1 USE-CASE MODELING EXAMPLE A video sales and rental shop would like to computerize its management of sales and rental of its.](https://reader036.fdocuments.us/reader036/viewer/2022083006/56649f395503460f94c559fa/html5/thumbnails/6.jpg)
310414310414 REQUIREMENTS CAPTUREREQUIREMENTS CAPTURE6
USE-CASE MODELING EXAMPLE — ANALYSISUSE-CASE MODELING EXAMPLE — ANALYSIS
– Using the Web, customers should be able to buy and rent videos and browse the reviews entered by other customers.
functional requirement: allow a customer to buy a videoallow a customer to rent a videoallow a customer to browse video reviews
– Managers must be able to generate various reports on sales/rentals of videos.
functional requirement: allow a manager to generate reports
– Staff must be able to sell/rent videos from the store’s inventory and return rented videos to the store's inventory.functional requirement: allow staff to buy (sell) a video
allow staff to rent a videoallow staff to return a rented video
– When selling or renting videos, staff must be able to look up customer information and determine whether the customer is a member or not.functional requirement: allow staff to lookup customer/member info
![Page 7: 310414 REQUIREMENTS CAPTURE 1 USE-CASE MODELING EXAMPLE A video sales and rental shop would like to computerize its management of sales and rental of its.](https://reader036.fdocuments.us/reader036/viewer/2022083006/56649f395503460f94c559fa/html5/thumbnails/7.jpg)
310414310414 REQUIREMENTS CAPTUREREQUIREMENTS CAPTURE7
USE-CASE MODELING EXAMPLE — ANALYSISUSE-CASE MODELING EXAMPLE — ANALYSIS
– An employee must be able to enter the basic information about a movie video (i.e., title, leading actor(s), director, producer, genre, synopsis, release year, running time, selling price, and rental price).
functional requirement: allow staff to enter video information
![Page 8: 310414 REQUIREMENTS CAPTURE 1 USE-CASE MODELING EXAMPLE A video sales and rental shop would like to computerize its management of sales and rental of its.](https://reader036.fdocuments.us/reader036/viewer/2022083006/56649f395503460f94c559fa/html5/thumbnails/8.jpg)
310414310414 REQUIREMENTS CAPTUREREQUIREMENTS CAPTURE8
USE-CASE MODELING EXAMPLE — SOLUTIONUSE-CASE MODELING EXAMPLE — SOLUTION
Actors
Customer A customer is a person who uses the services of the video shop. A customer uses the system to
buy or rent videos or enter or browse reviews via the Web.
Member A member is a kind of customer. In addition to what a customer can do, a member can also use
the system to reserve videos and to access and change their personal information via the Web.
Staff Staff are employees of the video shop. Staff use the system to sell and rent videos, reserve
videos and enter and update video and customer/member information.
Manager A manager is a kind of staff. In addition to what staff can do, a manager can also generate various reports on
sales and rentals of videos.
![Page 9: 310414 REQUIREMENTS CAPTURE 1 USE-CASE MODELING EXAMPLE A video sales and rental shop would like to computerize its management of sales and rental of its.](https://reader036.fdocuments.us/reader036/viewer/2022083006/56649f395503460f94c559fa/html5/thumbnails/9.jpg)
310414310414 REQUIREMENTS CAPTUREREQUIREMENTS CAPTURE9
USE-CASE MODELING EXAMPLE — ANALYSISUSE-CASE MODELING EXAMPLE — ANALYSISallow a customer to buy a videoallow staff to sell (buy) a videoallow staff to lookup customer information
allow a customer to rent a videoallow staff to rent a videoallow staff to return a rented videoallow staff to produce rented video overdue noticesallow staff to lookup customer information
allow a customer to enter a review for a videoallow a customer to browse video reviews
allow a member to reserve a videoallow staff to reserve a video
allow staff to enter/update customer informationallow a member to update their personal information
allow staff to enter video information
allow a manager to generate reports
Buy video
Rent video
Manage reviews
Reserve video
Manage customer info
Manage video info
Generate reports
![Page 10: 310414 REQUIREMENTS CAPTURE 1 USE-CASE MODELING EXAMPLE A video sales and rental shop would like to computerize its management of sales and rental of its.](https://reader036.fdocuments.us/reader036/viewer/2022083006/56649f395503460f94c559fa/html5/thumbnails/10.jpg)
310414310414 REQUIREMENTS CAPTUREREQUIREMENTS CAPTURE10
USE-CASE MODELING EXAMPLE — SOLUTIONUSE-CASE MODELING EXAMPLE — SOLUTION
Video Sales and Rentals System
Generate reports
Manage video info
Buy video
Rent video
Manage reviews
Manage customer info
Reserve video
Member
Customer
Manager
Staff
Buy video allows a customer (via the Web) or a staff (in the shop) to select a video and its quantity for purchase and staff to look up customer/member information .
Rent video allows a customer (via the Web) or staff (in the shop) to select a video for rental, staff to return rented videos and to look up customer/member information, and the system to record which copy of a video has been rented, keep track of overdue videos, and produce notices for customers with overdue videos.
Manage reviews allows a customer (via the Web) to browse video reviews or to input a review and rating for a selected video and to indicate whether the review is to be anonymous.
Reserve video allows a member (via the Web) or a staff (in the shop) to reserve up to 5 videos at a time for rental.
Manage customer info allows a member (via the Web) or a staff (in the shop) to enter or update personal customer/member information.
Manage video info allows staff (in the shop) to enter video information.
Generate reports allows a manager (in the shop) to generate various reports on sales and rentals of videos.