Lab 03-Use Case Diagram
Lab 03-Use Case Diagram
Source
Mastering UML with Rational Rose
2002
Use Case Diagram
Source
Mastering UML with Rational Rose
2002
Example
Source
Mastering UML with Rational Rose
2002
Elements of Use Case Diagram
Actor
• Time
Time becomes an actor when the passing of a certain amount of
time triggers some event in the system (out of control)
Source
Mastering UML with Rational Rose
Elements of Use Case Diagram
Use Case
Use Case
. cont
• So, when you have the final list of use cases, how
do you know if you've found them all?
- Is each functional requirement in at least one use case? If a
requirement is not in a use case, it will not be implemented.
- Have you considered how each end user will be using the system?
- What information will each end user be providing for the system?
- What information will each end user be receiving from the system?
- Have you considered maintenance issues? Someone will need to start
the system and shut it down.
- Have you identified all of the external systems with which the system
will need to interact?
- What information will each external system be providing to the
system and receiving from the system?
Source
Mastering UML with Rational Rose
2002
Elements of Use Case Diagram
Source
Mastering UML with Rational Rose
2002
Elements of Use Case Diagram
Source
Mastering UML with Rational Rose
2002
Elements of Use Case Diagram
It includes:
• *A brief description: Each use case should include a
short description that explains what the use case will
do
• *Flow of events
Source
Mastering UML with Rational Rose
2002
Elements of Use Case Diagram
Relationships
• The association relationship is used to show the
relationship between a use case and an actor
Relationships: Association
• Association relationship is used to show the
relationship between a use case and an actor
Source
Mastering UML with Rational Rose
2002
Elements of Use Case Diagram
Relationships: Includes
• Includes relationship allows one use case to use
the functionality provided by another use case
• This relationship can be used in one of two cases:
• First, if two or more use cases have a large piece of
functionality that is identical
•The second case where an includes relationship is
helpful is a situation in which a single use case has an
unusually large amount of functionality
Relationships: Extends
• Extends relationship allows one use case the
option to extend the functionality provided by
another use case
Source
Mastering UML with Rational Rose
2002
Elements of Use Case Diagram
Source
Mastering UML with Rational Rose
2002
Example
Source
Mastering UML with Rational Rose
2002
Elements of Use Case Diagram
Relationships: Generalization
• Generalization relationship is used to show that
several actors
Source
Mastering UML with Rational Rose
2002
Source
Mastering UML with Rational Rose
2002
Thank You