Use Case Diagram
Use Case Diagram
Object Oriented Systems Analysis and Design Using UML, (3rd Edition), McGraw Hill, 2005.
Bennett, McRobb and Farmer 2005
10
Extend relationship
Check campaign budget extension points Summary print Condition {print option selected} extension point: Summary print
11
12
Include Relationship
13
14
Assign individual staff to work on a campaign Campaign Manager Assign team of staff to work on a campaign
15
16
Alternative Courses Steps 13. The actor knows the campaign name and enters it directly.
Bennett, McRobb and Farmer 2005
17
18
Behaviour Specifications
Rather than (or as well as) using text, a use case can be linked to another diagram that specifies its behaviour Typically a Communication Diagram, a Sequence Diagram, a State Machine or more than one of these
19
20
Prototyping
Use case modelling can be supported with prototyping Prototypes can be used to help elicit requirements Prototypes can be used to test out system architectures based on the use cases in order to meet the nonfunctional requirements
Bennett, McRobb and Farmer 2005
21
Prototyping
For user interface prototypes, storyboarding can be used with handdrawn designs
22
Prototyping
User interface prototypes can be implemented using languages other than the one that the system will be developed in
Campaign Selection Holborn Motors Lynch Properties Yellow Partridge Zeta Systems Campaign Selection Campaign Selection Holborn Motors Lynch Properties Yellow Partridge Zeta Systems Spring Jewellery Campaign 2003 Spring Jewellery Campaign 2004 Spring Jewellery Campaign 2005 Summer Collection 2004 OK Quit Holborn Motors Lynch Properties Yellow Partridge Zeta Systems Spring Jewellery Campaign 2003 Spring Jewellery Campaign 2004 Spring Jewellery Campaign 2002 Spring Jewellery Campaign 2005 Summer Collection 2004 OK Quit Client: Client: Client: Campaign: Campaign: Campaign:
OK
Quit
Dialogue initialized.
Summary
In this lecture you have learned about: The purpose of use case diagrams The notation of use case diagrams How to draw use case diagrams How to write use case descriptions How prototyping can be used with use case modelling
Bennett, McRobb and Farmer 2005
24
References
Jacobson et al. (1992) Rosenberg and Scott (1999) Cockburn (2000)
(For full bibliographic details, see Bennett, McRobb and Farmer)
25