Top Banner

of 18

Vrs Use Case

Apr 05, 2018

Download

Documents

teypey2
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
  • 8/2/2019 Vrs Use Case

    1/18

    Ian Sommerville 2004 Software Engineering, 7th edition. Chapter 4 Slide 1Slide 1

    Use Case Diagram

  • 8/2/2019 Vrs Use Case

    2/18

    Ian Sommerville 2004 Software Engineering, 7th edition. Chapter 4 Slide 2Slide 2

    Use Case Diagram

    The owner of the local video rental storewants to radically change how his videorental business works. Currently, he has

    the traditional video rental store wherecustomers become members, come intothe video rental store to rent a video, andreturn the video. With his new business

    plan, he hopes to increase his profitmargin by increasing video sales andreducing staff.

    ctor?

  • 8/2/2019 Vrs Use Case

    3/18

    Ian Sommerville 2004 Software Engineering, 7th edition. Chapter 4 Slide 3Slide 3

    Use Case Diagram

    In his new business plan, he wants to have thecustomers do everything online but the pickingup and returning the videos. He wants a VRSwebsite that allows the customers to become

    members or search the video inventory (byvideo name, actor name, director name, type ofvideo (new release, western, mystery, drama,comedy, children, etc.), or video rating). TheVRS website also allows members to log on asa member, search the video inventory (asbefore), select videos to rent (videos must belocated at the store location where the memberwants to pick up the videos), modify

    membership information, and check out thevideos.

  • 8/2/2019 Vrs Use Case

    4/18Ian Sommerville 2004 Software Engineering, 7th edition. Chapter 4 Slide 4Slide 4

    Use Case Diagram

    The member can also pay late fees online sincevideos cannot be rented by a member withoutstanding late fees. The paying of late feesand the rental of videos is to be charged to a

    credit card number provided by the customer inthe membership application process. Providedwith each rental is a video rental form whichlists, for each video rented, the video ID, videoname, and the due date and the rental chargescharged to the members credit card. Rentedvideos can be returned to any of the ownersvideo stores. Rented videos that are not pickedup within 24 hours are returned to the available

    inventory; however, the rental charged is notremoved from the members credit card.

    ctor?

  • 8/2/2019 Vrs Use Case

    5/18Ian Sommerville 2004 Software Engineering, 7th edition. Chapter 4 Slide 5Slide 5

    Use Case Diagram

    On the day before a rented video is due to bereturned, the VRS will email members with duenotices which reminds them that the video is due. Thisdue email will be sent to the member every 3 days

    after the videos due date. After 60 days of being pastits due date, a $30 charge for each overdue video isprocessed on the members credit card, and an emailis sent to the member to notify them of this charge.The length of rental is 5 days.

    The pick-up and return of rented videos is only donethrough a drive-through facility at the video store. Theability for the customer to come into the video rentalstore to search for and rent videos is no longeravailable with this new business plan.

  • 8/2/2019 Vrs Use Case

    6/18Ian Sommerville 2004 Software Engineering, 7th edition. Chapter 4 Slide 6Slide 6

    Use Case Diagram

    The owner of the video store also wants to automatehis inventory processing. He can now get newlyordered videos with a video ID (via a bar code) on thevideo packaging. When new videos arrive at a store,

    the owner wants to simply scan the video ID whichthen retrieves the video information from the videodistributor via the Internet (the video distributorsprovide this feature on their websites). All the videoinformation (i.e., its name, rating (e.g., G, PG, R),director, length in minutes, actors) are automaticallystored in the stores video inventory. The owner thenindicates the store location where the video will beplaced. When he wants to remove a video from thestore because it is never rented or it is damaged (orfor whatever reason), he simply chooses the remove

    option and scans the video ID to be removed.

    ctor?

  • 8/2/2019 Vrs Use Case

    7/18Ian Sommerville 2004 Software Engineering, 7th edition. Chapter 4 Slide 7Slide 7

    Use Case Diagram

    Note on rental fees: the amount of the rental fee isdetermined by its type. New releases are at a rentalfee of $3.00. All the remaining types except

    childrens are at a rental fee of $2.00. Childrensvideos are at a rental fee of $1.00. Once a video isno longer considered a new release, the ownerchanges its type from new release to theappropriate type (western, mystery, drama,comedy, etc.).

  • 8/2/2019 Vrs Use Case

    8/18Ian Sommerville 2004 Software Engineering, 7th edition. Chapter 4 Slide 8Slide 8

    Use Case Diagram

    Build use case diagram for a videorental system

    Customers

    Owner

    Member

    Potential ACTORS

  • 8/2/2019 Vrs Use Case

    9/18

    Ian Sommerville 2004 Software Engineering, 7th edition. Chapter 4 Slide 9Slide 9

    Use Case Diagram

    Build use case diagram for a videorental system

    Potential USE CASES

    become members

    rent a video

    select videos

    modify membership informationpay late fees

    charge to a credit card

    email member of due notice

    email member of charge for overdues

  • 8/2/2019 Vrs Use Case

    10/18

    Ian Sommerville 2004 Software Engineering, 7th edition. Chapter 4 Slide 10Slide 10

    Use Case Diagram

    Build use case diagram for a videorental system

    Potential USE CASES

    become members

    select videos

    rent a video

    pay late feesreturn videos

    charge to a credit card

    email member of due notice

    email member of charge for overdues

    RegisterMembership

    RentVideo

    ReturnVideo

    Pay LateFee

    Search

    Videos

  • 8/2/2019 Vrs Use Case

    11/18

    Ian Sommerville 2004 Software Engineering, 7th edition. Chapter 4 Slide 11Slide 11

    Use Case Diagram

    Build use case diagram

    Potential USE CASES

    become membersrent a video

    select videos

    modify membership information

    pay late feescharge to a credit card

    email member of due notice

    email member of charge for overdues

    remove videos

    add videos

    Add NewVideo

    RemoveVideo

    Email DueNotices

    ModifyVideoLocal

  • 8/2/2019 Vrs Use Case

    12/18

    Ian Sommerville 2004 Software Engineering, 7th edition. Chapter 4 Slide 12Slide 12

    Use Case Diagram

    Register asMember

    SearchVideosCustomer

  • 8/2/2019 Vrs Use Case

    13/18

    Ian Sommerville 2004 Software Engineering, 7th edition. Chapter 4 Slide 13Slide 13

    Use Case Diagram

    Register asMember

    SearchVideos

    Rent

    VideosPay Late

    Fee

    ReturnVideo

    Customer

    MemberClerk

  • 8/2/2019 Vrs Use Case

    14/18

    Ian Sommerville 2004 Software Engineering, 7th edition. Chapter 4 Slide 14Slide 14

    Use Case Diagram

    Register asMember

    SearchVideos

    Rent

    VideosPay Late

    Fee

    ReturnVideo

    Add NewVideo

    RemoveVideo

    Customer

    Member

    Distributor

    Owner

    Clerk

    Modify

    Video

  • 8/2/2019 Vrs Use Case

    15/18

    Ian Sommerville 2004 Software Engineering, 7th edition. Chapter 4 Slide 15Slide 15

    Use Case Diagram

    Register asMember

    SearchVideos

    Rent

    VideosPay Late

    Fee

    ReturnVideo

    Add NewVideo

    RemoveVideo

    Customer

    Member

    Distributor

    Owner

    Clerk

    Modify

    Video

    Email Due

    Notices

    Timer

  • 8/2/2019 Vrs Use Case

    16/18

    Ian Sommerville 2004 Software Engineering, 7th edition. Chapter 4 Slide 16Slide 16

    Use Case Diagram

    Register asMember

    SearchVideos

    Rent

    VideosPay Late

    Fee

    ReturnVideo

    Email Due

    Notices

    Add NewVideo

    RemoveVideo

    Modify

    Video

    Customer

    Login

    Member

    Distributor

    Timer

    Owner

    Clerk

  • 8/2/2019 Vrs Use Case

    17/18

    Ian Sommerville 2004 Software Engineering, 7th edition. Chapter 4 Slide 17Slide 17

    Use Case Diagram

    Register asMember

    SearchVideos

    Rent

    VideosPay Late

    Fee

    ReturnVideo

    Email Due

    Notices

    Add NewVideo

    RemoveVideo

    Modify

    Video

    Customer Print RentalForm

    Login

    Member

    Distributor

    Timer

    Owner

    Clerk

  • 8/2/2019 Vrs Use Case

    18/18

    Ian Sommerville 2004 Software Engineering, 7th edition. Chapter 4 Slide 18Slide 18

    Use Case Diagram

    Register asMember

    SearchVideos

    Rent

    VideosPay Late

    Fee

    ReturnVideo

    Email Due

    Notices

    Add NewVideo

    RemoveVideo

    Modify

    Video

    Customer

    ModifyMembershi

    p

    Print RentalForm

    Login

    Email 60Day Notice

    Member

    Distributor

    Timer

    Owner

    Clerk