Use Case
Use Case
• Object
• Basic unit of systems analysis and design
• Combines data and the processes that operate on those data
• Data in object can be accessed only by operations associated with that
object
• Object-oriented modeling
• Based on concepts of class and inheritance
• Objects belong to a certain class and have features of that class
• May inherit structures and behaviors of a more general, ancestor class
2
Object Oriented Development
3
User-Centered Development and
Use-Case Modeling
7-5
Benefits of Use-Case Modeling
7-6
System Concepts for Use-Case Modeling
8
Basic Use-Case Symbols
7-9
Four Types of Actors
7-10
Use Case
a relationship between an actor and a use case in which
Association an interaction occurs between them.
Relationship
• Association modeled as a solid line connecting the actor and the use case.
• Association with an arrowhead touching the use case indicates that the use case was
initiated by the actor. (1)
• Association lacking arrowhead indicates a receiver actor. (2)
• Associations may be bidirectional or unidirectional.
7-11
Use Case Extends Relationship
7-12
Use Case Uses Relationship
Abstract use case – use case that reduces
redundancy in two or more other use cases by
combining common steps found in both.
• Available by any other use case that requires its
functionality.
• Generally not identified in requirements phase
• Relationship between abstract use case
and use case that uses it is called a
uses (or includes) relationship.
• Depicted as arrow beginning at original use
case and pointing to use case it is using.
• Labeled <<uses>>.
7-13
Use Case Depends On Relationship
7-14
Use Case Inheritance
Relationship
Inheritance – a use case relationship in which
the common behavior of two actors initiating
the same use case is extrapolated and assigned
to a new abstract actor to reduce redundancy.
• Other actors can inherit the interactions of
the abstract actor.
• Depicted as an arrow beginning at one
actor and pointing to the abstract actor
whose
interactions the first actor inherits.
7-15
Use Case
Inheritance
Relationship
7-16
The Process of Requirements
Use-Case Modeling
7-19
Step 2: Identify Business
Requirements Use Cases
7-20
Step 2: Identify Business Requirements
Use Cases
• Use cases should be named with a verb phrase specifying the goal
of the actor (i.e. Submit Subscription Order)
7-21
Sample
Use-Case
Glossary
7-22
Sample
Use-Case
Glossary
7-23
Sample
Use-Case
Glossary
7-24
Step 3:
Construct
Use-Case
Model
Diagram
7-25
Step 4: Document Business
Requirements Use-Case
Narratives
7-26
Sample
High-Level
Version of
a Use-Case
Narrative
7-27
Sample
Expanded
Version
of a Use-
Case
Narrative
7-28
Sample
Expanded
Version
of a Use-
Case
Narrative
7-29
Sample
Expanded
Version
of a Use-
Case
Narrative
7-30
Use Cases and
Project Management
• Use-case model can drive entire development
effort.
• Project manager or systems analyst uses business
requirements use cases to estimate and schedule
the build cycles of the project.
• Build cycles are scoped on the basis of the
importance of the use case and the time it
takes to implement the use case.
• To determine importance of use cases, will create:
• Use-case ranking and evaluation matrix
• Use-case dependency diagram
7-31
Use-Case Ranking
and Priority Matrix
7-33