Use Case Diagram
Use Case Diagram
Diagram
Requirements Sequence
document diagrams
(text in natural language)
Statechart
diagrams
Association
Extend
Generalization
Uses
Include
Object Oriented Design and Analysis
Extend
The extended
Relationship
relationship is used
to indicate that
use case completely consists of the behavior of
another use case at one or specific point
use cases that extend the behavior of other core
use cases. Enable to factor variants
The base use case implicitly incorporates the
behavior of another use case at certain points
called extension points
It is shown as a dotted line with an arrow point and
labeled <<extend>>
<<
extend>> Register
Logi
New User
n
use
user scheduler
Cellular Telephone
18
Object Oriented Design and Analysis
Use Case
Description
:Each use case may include all or part of the
following
Title or Reference Name - meaningful name of the UC
Author/Date - the author and creation date
Modification/Date - last modification and its date
Purpose - specifies the goal to be achieved
Overview - short description of the
processes
Cross References - requirements references
Actors - agents participating
Pre Conditions - must be true to allow execution
Post Conditions - will be set when completes
normally
Normal flow of events - regular flow of activities
Alternative flow of events - other flow of activities
Exceptional flow of events - unusual situations
Implementation issues - foreseen implementation
problems
Object Oriented Design and Analysis
Example- Money
• Use Case: Withdraw Money Author: PKD
• Date: 11-09-2013 Withdraw
• Purpose: To withdraw some cash from user’s bank account
• Overview: The use case starts when the customer inserts his card
• into the system. The system requests the user PIN. The system
validates the PIN. If the validation succeeded, the customer can
choose the withdraw operation else alternative 1 – validation
failure is executed. The customer enters the amount of cash to
withdraw. The system checks the amount of cash in the user
account, its credit limit. If the withdraw amount in the range
between the current amount + credit limit the system dispense
the cash and prints a withdraw receipt, else alternative 2 –
amount exceeded is executed.
Cross References: R1.1, R1.2, R7
•