UML Book Part 2
UML Book Part 2
REQUIREMENTS: USE
CASES
Requirements Modeling:
Use Case
Logical View
Process View
Use Case
View
Development
Physical View
View
Requirements Modeling:
Use Case
Capturing a System
Requirement
Requirement A.1
The content management system shall
allow an administrator to create a new
blog account, provided the personal
details of the new blogger are verified
using the author credentials database.
Actor
Actor is the user of the system, actor could
be:
Person
System
Device
An actor is drawn in UML notation using
either a "stick man" or a stereotyped box
and is labeled with an appropriate name
Actor
Actor
It's actually worth being very careful when
naming your actors. The best approach is
to use a name that can be understood by
both your customer and your system
designers. Wherever possible, use the
original term for the actor as identified
within your customer's requirements
Refining Actors
There are actors that interact with your
system, you will find that some actors are
related to each other. The
Administrator
actor is really a
special
kind
of
system user. To show
that an administrator
can do whatever a
regular user can do
(with
some
extra
additions),
a
generalization arrow
Use Cases
Use Cases
Communication Lines
Communication Lines
Communication Lines
System Boundaries
System Boundaries
description detail
Related Requirements
Goal In Context
Preconditions
Successful End
Condition
Requirement A.1
Related
Requirements
Successful
Condition
End
Failed
Condition
End
Primary Actors
Secondary Actors
Ste
p
Main Flow
Ste
p
4.1
4.2
Extensions
Adding Another
Requirement
Requirement A.2
The content management system shall
allow an administrator to create a new
personal Wiki, provided the personal
details of the applying author are
verified using the Author Credentials
Database
Requirement A.2.
Related
Requirements
Preconditions
Successful
Condition
End
Failed
Condition
End
Primary Actors
Secondary Actors
Trigger
Action
Ste
p
Main Flow
Ste
p
3.1
3.2
Extensions
Requirement A.1
Related
Requirements
Successful
Condition
End
Failed
Condition
End
Primary Actors
None
Secondary Actors
Included Cases
Action
Step
The
Administrator
account type.
selects
an
The
Administrator
author's details.
enters
the
4
include::Chec
k Identity
Main Flow
Requirement A.2.
Related
Requirements
Preconditions
Successful
Condition
End
Failed
Condition
End
Primary Actors
None
Secondary Actors
Trigger
Check Identity
Included Cases
Action
Step
3
include::Che
ck Identity
Main Flow
Related
Requirements
Successful
Condition
End
Failed
Condition
End
Primary Actors
None
Secondary Actors
Trigger
Action
Step
Branching Action
Main Flow
Step
2.1
2.2
Extensions
Special Cases
Special Cases
Special Cases
Special Cases
Create a new Editorial Blog Account
Requirement A.1
Related
Requirements
Preconditions
End
End
Special Cases
Administrator.
Primary Actors
None
Secondary Actors
Trigger
Special Cases
Action
Step
The
Administrator
selects
editorial account type.
the
Main Flow
5
include::Ch
eck
Identity
6
Special Cases
Branching Action
Ste
p
5.1
5.2
Extensions
The <<extend>>
Relationship
The <<extend>>
Relationship
Requirement A.1
Related
Requirements
Successful
Condition
End
Failed
Condition
End
Primary Actors
None
Secondary Actors
Included Cases
Action
Step
The
Administrator
account type.
selects
an
The
Administrator
author's details.
enters
the
4
include::Chec
k Identity
Main Flow
The <<extend>>
Relationship
Branching Action
Ste
p
4.1
4.2
4.3
Extensions
The <<extend>>
Relationship
The <<extend>>
Relationship