Sequence diagram

Download Report

Transcript Sequence diagram

Use Case Modelling
Summary
7M701
1
What is Use Case modeling?
• Use Case model: a view of a system
that emphasizes the behavior as it
appears to outside users. A use case
model partitions system functionality
into transactions(“use cases’) that are
meaningful to users (‘actors’)
• A Use Case Diagram visualizes a use
case model.
7M701
2
Core Elements
Construct Description
use case
actor
A sequence of actions, including variants, that a system
(or other entity) can perform,
interacting with actors of the
system.
Syntax
UseCaseName
A coherent set of roles that
users of use cases play when
interacting with these use
cases.
ActorName
system
boundary
7M701
3
Represents the boundary
between the physical system
and the actors who interact
with the physical system.
Core Relationships
Construct
Description
association
The participation of an actor in a
use case. I.e., instance of an actor
and instances of a use case
communicate with each other.
Syntax
extend
A relationship from an extension
use case to a base use case,
specifying how the behavior for
the extension use case can be
inserted into the behavior defined
for the base use case.
generalization A taxonomic relationship between
a more general use case and a
more specific use case.
7M701
4
<<extend>>
Core Relationships
Construct
Description
Include
(uses)
An relationship from a base use
case to an inclusion use case,
specifying how the behavior for
the inclusion use case is inserted
into the behavior defined for the
base use case.
7M701
5
Syntax
<<include>>
(<<uses>>)
Use Case Diagram
Use Cases
Use Case text
: Voorbeeld
7M701
6
NS Kaartjesautomaat
• Maak een use case
diagram van de NS
kaartjesautomaat.
• Beschrijf één of meer use
cases.
7M701
7
Use Case diagram NS kaartjesautomaat
Ontleend aan Mallens/Hengeveld 2001
7M701
8
Use Case: Koop Ticket
Beschrijving
Ontleend aan Mallens/Hengeveld 2001
7M701
9