Professional Documents
Culture Documents
Introduction
What is an actor?
Role figured by a user of the system
Often a person
May also be an organisation unit or some other system
Is always located outside the system
The Actor has an influence on the system
Notation Actor
Actor 1
Actor 2
Precondition:
<state at the start of the use case>
Postcondition Success: <expected state at normal termination of the use case>
Postcondition Failure: <state after the use case has terminated due to an error>
Actors:
<actors involved in the use case>
Triggering Event:
<event that needs to occur in order to start the use case>
Description:
< Description of the default behavior>
1 <First action>
2 <Second action>
Extensions:
1a <Extension to the first action>
Alternatives:
1a <Alternative to the first action>
2004 IAS, Universitt Stuttgart
Akteur3
Actor 3
GeschftsUse Case 2
proze2
GeschftsUse Case 3
proze3
Actor 2
Akteur2
Extends Relation
Process Order
<<extends>>
Process
subsequent
delivery
Extension to an
existing use case
Includes Relation
Post Invoice
<<includes>>
Sell Product
<<includes>>
Separation of a behavior
that multiple use cases
have in common
Sell Service
Definition - Scenario
A Scenario is a sequence of processing steps to be executed under dedicated
circumstances.
-
The processing steps have to realize the actors main goal and provide a
complying result
Scenarios begin with a triggering event and are continued up to the
moment where the goal is reached or abandoned
Object is
Objekt
created
wird
erzeugt
op()
:C3
:C2
ObjektObject
linie
Line
:C1
Botschaft
Message
op1()
op2()
op3()
Objekt
Object
wirdis
gelscht
destroyed
Sequence Diagram
Two dimensions
The vertical axis represents the time
On the horizontal axis the objects are arranged
Condition
[<Condition>] Operation()
Iteration
*Operation()* or [<Condition>] Operation()