Professional Documents
Culture Documents
Use Case Modeling
Use Case Modeling
Use Case
Actor
Make
Reservation
Customer Timeout
Timer
• Secondary Actor
– Participates in use case
– Can be Primary Actor of a different use
case
Make
Reservation
View
Reservation
Modify
Reservation
Customer Customer
Get Receipt Service Rep
Contact
Customer
Service
Timeout
Timer
• Merge
• Join
• Final Node
• Control/Action Flow:
– called edges and paths
– illustrate the transitions from one action
state to another.
– They are usually drawn with an arrowed line.
• Decision Point:
– When an activity requires a decision prior to
moving on to the next activity, the symbol is
used.
– The outgoing arrows should be labeled with a
condition or guard expression.
• Final Node
– The state which the system reaches when a
particular process or activity ends.
– Also known as a Final State or End State.
SE 3140 - System Design and Modelling Prepared by Dams G. L. Chapter 4: Slide 27
Documenting Uses Cases with Activity Diagrams
• Precondition
• Actor Input
• Step in the flow
• Alternative/extension
• Parallel Activities
• Postcondition
SE 3140 - System Design and Modelling Prepared by Dams G. L. Chapter 4: Slide 28
Advanced Use Case Modeling
• Most industrial applications contain a large
number of use cases and actors
• Advanced use case modeling can help
simplify the overall model by:
– Factoring common use case functionality and actor
roles
– Providing extension mechanisms for use case
variations
Make Reservation
View Reservation
«include»
Customer Customer
Service Rep
Modify Reservation
Get Receipt
Contact
Customer
Service
Timeout Timer
SE 3140 - System Design and Modelling Prepared by Dams G. L. Chapter 4: Slide 31
Use Case Relationships
• «extend» relationship
– Provides conditional variation to use cases
– Extension points identified in the base use case
– Extension use cases executed at the specified
extension points based on identified conditions
– Extension use cases are generally not complete
– Base use case is complete without the extended
use cases
• Extension points are simply “hooks”
– Can be extended in different ways
Make Reservation
View Reservation
Customer «include»
Modify Reservation
Get Receipt
Not Complete
Contact
Customer
Service
Timeout Timer
SE 3140 - System Design and Modelling Prepared by Dams G. L. Chapter 4: Slide 34
Additional Use Case Options
• Dealing with large number of use cases
– Can structure use cases in packages
• Related functionality
• Related actors
• By incremental development plans