Professional Documents
Culture Documents
Activity Diagrams)
Use Case
Actor
Boundary
Connection
Include relationship
<<include>>
Extend relationship
<<extend>>
What is an Actor?
• A user or outside system that interacts
with the system being designed in order to
obtain some value from that interaction
Use Cases describe scenarios that describe
the interaction between users of the system
(the actor) and the system itself.
• Generalization
• Include
• Extend
Generalization Relationship
• Represented by a line and a hollow arrow
• From child to parent
Include Relationship
• Represents the inclusion of the
functionality of one use case within
another
• Arrow is drawn from the base use case to
the used use case
• Write << include >> above arrowhead line
Extend relationship
• Represents the extension of the use
case to include optional functionality
• Arrow is drawn from the extension use
case to the base use case
• Write << extend >> above arrowhead
line
Actor:
Description:
Preconditions:
Postconditions:
Priority:
Frequency of Use:
Normal Course of Events:
Alternative Courses:
Exceptions:
Includes:
Special Requirements:
Assumptions:
Notes and Issues:
©Ian Sommerville 2004 Software Engineering, 7th edition. Chapter 4 Slide 23
Use Case for ATM system
2. Transition
Activity1()c Activity2()
1. Activities
[x>0]
[x>0]
Activity1()c
[x=0] [x=0]
[x<0] [x<0]
3. Decision Diamond
{AND}
{OR}
{XOR}
Application/Department/Group/Role Boundaries
member Librarian
[borrower]
Find book on shelf
[returning]
[returner]
Wait in queue
[borrowing]
Record borrowing