1 CS 426 Senior Projects Chapter 4: Use Case Modeling [Arlow and Neustadt, 2002] February 8, 2007.
-
date post
19-Dec-2015 -
Category
Documents
-
view
216 -
download
2
Transcript of 1 CS 426 Senior Projects Chapter 4: Use Case Modeling [Arlow and Neustadt, 2002] February 8, 2007.
![Page 1: 1 CS 426 Senior Projects Chapter 4: Use Case Modeling [Arlow and Neustadt, 2002] February 8, 2007.](https://reader035.fdocuments.us/reader035/viewer/2022062714/56649d365503460f94a0de4d/html5/thumbnails/1.jpg)
11
CS 426Senior Projects
Chapter 4: Use Case ModelingChapter 4: Use Case Modeling [Arlow and Neustadt, 2002][Arlow and Neustadt, 2002]
February 8, 2007
![Page 2: 1 CS 426 Senior Projects Chapter 4: Use Case Modeling [Arlow and Neustadt, 2002] February 8, 2007.](https://reader035.fdocuments.us/reader035/viewer/2022062714/56649d365503460f94a0de4d/html5/thumbnails/2.jpg)
22
Outline
Use case modelingOverview Finding actors and use casesDetailing use casesScenarios
![Page 3: 1 CS 426 Senior Projects Chapter 4: Use Case Modeling [Arlow and Neustadt, 2002] February 8, 2007.](https://reader035.fdocuments.us/reader035/viewer/2022062714/56649d365503460f94a0de4d/html5/thumbnails/3.jpg)
33
Use Case Modeling: Overview
The Use Case Model consists of the following: Actors Use cases Relationships System boundary
Steps of use case modeling: Find the system boundary Find the actors Find the use cases:
Specify the use casesCreate scenarios
![Page 4: 1 CS 426 Senior Projects Chapter 4: Use Case Modeling [Arlow and Neustadt, 2002] February 8, 2007.](https://reader035.fdocuments.us/reader035/viewer/2022062714/56649d365503460f94a0de4d/html5/thumbnails/4.jpg)
44
Finding Actors and Use Cases……
Fig. 4.2 [Arlow & Neustadt 2002]
![Page 5: 1 CS 426 Senior Projects Chapter 4: Use Case Modeling [Arlow and Neustadt, 2002] February 8, 2007.](https://reader035.fdocuments.us/reader035/viewer/2022062714/56649d365503460f94a0de4d/html5/thumbnails/5.jpg)
55
..Finding Actors and Use Finding Actors and Use CasesCases…..…..
An An actoractor is a role is a role taken by an external taken by an external entity when entity when interacting with the interacting with the system directlysystem directly
An actor is a An actor is a stereotype of class stereotype of class with its own icon with its own icon
Fig. 4.3 and 4.4 Fig. 4.3 and 4.4 [Arlow & Neustadt [Arlow & Neustadt 2002]2002]
![Page 6: 1 CS 426 Senior Projects Chapter 4: Use Case Modeling [Arlow and Neustadt, 2002] February 8, 2007.](https://reader035.fdocuments.us/reader035/viewer/2022062714/56649d365503460f94a0de4d/html5/thumbnails/6.jpg)
66
....Finding Actors and Use Cases….
An actor: Is always external to the system Interacts directly with the system Represents a role played by people or things, not specific people
or specific things According to Rumbaugh, a use case is “a specification
of sequences of actions, including variant sequences and error sequences, that a system, subsystem, or class can perform by interacting with outside actors”
Use cases: Are always started by an actor Are always written from an actor’s point of view
![Page 7: 1 CS 426 Senior Projects Chapter 4: Use Case Modeling [Arlow and Neustadt, 2002] February 8, 2007.](https://reader035.fdocuments.us/reader035/viewer/2022062714/56649d365503460f94a0de4d/html5/thumbnails/7.jpg)
77
……Finding Actors and Use Finding Actors and Use CasesCases……
Examples of use cases, Fig. 4.5 [Arlow & Neustadt 2002]
Names of use cases should be verb phrases Candidate use cases can be discovered starting from
the list of actors (how they interact with the system?) Finding use cases is an iterative process
![Page 8: 1 CS 426 Senior Projects Chapter 4: Use Case Modeling [Arlow and Neustadt, 2002] February 8, 2007.](https://reader035.fdocuments.us/reader035/viewer/2022062714/56649d365503460f94a0de4d/html5/thumbnails/8.jpg)
88
……..Finding Actors and Use Finding Actors and Use CasesCases....
Questions you can ask to identify use cases:What functions a specific actor wants from the
system?Does the system store and retrieve information?
If yes, which actors are involved?Are any actors notified when the system
changes its state?Are any external events that affect the system?
What notifies the system about these events?
![Page 9: 1 CS 426 Senior Projects Chapter 4: Use Case Modeling [Arlow and Neustadt, 2002] February 8, 2007.](https://reader035.fdocuments.us/reader035/viewer/2022062714/56649d365503460f94a0de4d/html5/thumbnails/9.jpg)
99
……....Finding Actors and Use Finding Actors and Use CasesCases.
The use case diagram shows the system boundary, the use cases internal to the system, and the actors external to the system, e.g. [Fig.4.6, Arlow and Neustadt 2002]
![Page 10: 1 CS 426 Senior Projects Chapter 4: Use Case Modeling [Arlow and Neustadt, 2002] February 8, 2007.](https://reader035.fdocuments.us/reader035/viewer/2022062714/56649d365503460f94a0de4d/html5/thumbnails/10.jpg)
1010
…………Finding Actors and Use Finding Actors and Use CasesCases
The project glossary Important project artifactProvides a dictionary of key business termsCaptures business language and jargon Should resolve synonyms and homonymsShould be understandable by all stakeholdersUML does not set a standard for the project
glossarySynchronization between the project glossary
and the UML model is needed
![Page 11: 1 CS 426 Senior Projects Chapter 4: Use Case Modeling [Arlow and Neustadt, 2002] February 8, 2007.](https://reader035.fdocuments.us/reader035/viewer/2022062714/56649d365503460f94a0de4d/html5/thumbnails/11.jpg)
1111
Detailing Use CasesDetailing Use Cases…..
The output of this activity is a more detailed use case that consists at least of the use case name and use case specification.
Most common template for use case specification, Fig. 4.8 [Arlow & Neustadt 2002]
![Page 12: 1 CS 426 Senior Projects Chapter 4: Use Case Modeling [Arlow and Neustadt, 2002] February 8, 2007.](https://reader035.fdocuments.us/reader035/viewer/2022062714/56649d365503460f94a0de4d/html5/thumbnails/12.jpg)
1212
..Detailing Use CasesDetailing Use Cases….….
Branching, repetition, and alternative flows are possible in a use case
Example of branching using the keyword IF, Fig. 4.9 [Arlow and Neustadt 2002]
![Page 13: 1 CS 426 Senior Projects Chapter 4: Use Case Modeling [Arlow and Neustadt, 2002] February 8, 2007.](https://reader035.fdocuments.us/reader035/viewer/2022062714/56649d365503460f94a0de4d/html5/thumbnails/13.jpg)
1313
....Detailing Use CasesDetailing Use Cases……
Example of alternative flows, Fig. 4.10 [Arlow and Neustadt 2002]
![Page 14: 1 CS 426 Senior Projects Chapter 4: Use Case Modeling [Arlow and Neustadt, 2002] February 8, 2007.](https://reader035.fdocuments.us/reader035/viewer/2022062714/56649d365503460f94a0de4d/html5/thumbnails/14.jpg)
1414
……Detailing Use CasesDetailing Use Cases....
Example of repetition within a flow (FOR), Fig. 4.11 [Arlow and Neustadt 2002]
![Page 15: 1 CS 426 Senior Projects Chapter 4: Use Case Modeling [Arlow and Neustadt, 2002] February 8, 2007.](https://reader035.fdocuments.us/reader035/viewer/2022062714/56649d365503460f94a0de4d/html5/thumbnails/15.jpg)
1515
……..Detailing Use CasesDetailing Use Cases..
Example of repetition within a flow (WHILE), Fig. 4.12 [Arlow and Neustadt 2002]
![Page 16: 1 CS 426 Senior Projects Chapter 4: Use Case Modeling [Arlow and Neustadt, 2002] February 8, 2007.](https://reader035.fdocuments.us/reader035/viewer/2022062714/56649d365503460f94a0de4d/html5/thumbnails/16.jpg)
1616
……....Detailing Use CasesDetailing Use Cases
Tracing requirements Table 4.I [Arlow and Neustadt, 2002]
![Page 17: 1 CS 426 Senior Projects Chapter 4: Use Case Modeling [Arlow and Neustadt, 2002] February 8, 2007.](https://reader035.fdocuments.us/reader035/viewer/2022062714/56649d365503460f94a0de4d/html5/thumbnails/17.jpg)
1717
ScenariosScenarios.. Primary scenario of a
use case, Fig. 4.13 [Arlow and Neustadt, 2002]
![Page 18: 1 CS 426 Senior Projects Chapter 4: Use Case Modeling [Arlow and Neustadt, 2002] February 8, 2007.](https://reader035.fdocuments.us/reader035/viewer/2022062714/56649d365503460f94a0de4d/html5/thumbnails/18.jpg)
1818
..ScenariosScenarios Secondary
scenario of a use case, Fig. 4.14 [Arlow and Neustadt, 2001]