Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Order
details +
blank
order form
Complete
order form
Signed
order form
Validate
order
Signed
order form
Send to
supplier
Record
order
Order
details
Signed
order form
Checked and
signed order
+ order
notification
Adjust
available
budget
Order
amount
+ account
details
Orders
file
Budget
file
Completed
order form
mostra lista
file
abilita
selezione file
Passo iniziale
inserimento
importo
carta
Cliente
ricezione
contanti
Corsie o Swimlane:
ramificazione
ricezione
ordini
Rettangoli: oggetti o
incremento
punti
dati
Thread alternativi
Ordine esecutivo
lettura ordine
ricezione
pagamento
Frecce tratteggiate:
Bolla consegna
input o output di un
oggetto per/da una
attivit
merge
Barra di sincronizzazione (join)
Magazzino
Ordine
addebito su
carta
conferma
addebito
Vendite
prepara
spedizione
Stato finale
E. Tramontana - UML Attivit e Stati - 14 Apr 10
E. Tramontana
- UML Attivit e Stati - 14 Apr 10
consegna
Diagrammi attivit
uno spettacolo
stato
iniziale
attivit
stato
transizione
evento
circonferenza)
Stato
Transizione
una azione
uno stato target
Nome stato
Azioni di ingresso,
interna e di uscita
Transizioni interne
Half
power
Full power
do: set power
= 600
State
Waiting
Half power
Timer
Waiting
do: display
time
Full power
Number
Full
power
Half
power
Door
open
Door
closed
Set time
Disabled
Door
closed
Timer
Half power
do: set power
= 300
Operation
do: operate
oven
Set time
do: get number
exit: set time
Cancel
Enabled
Start
Enabled
do: display
'Ready'
Door
open
Waiting
Operation
do: display
time
Disabled
do: display
'Waiting'
10
11
Description
The oven is waiting for input. The display shows the current time.
The oven power is set to 300 watts. The display shows Half
power.
The oven power is set to 600 watts. The display shows Full
power.
The cooking time is set to the users input value. The display
shows the cooking time selected and is updated as the time is set.
Oven operation is disabled for safety. Interior oven light is on.
Display shows Not ready.
Oven operation is enabled. Interior oven light is off. Display
shows Ready to cook.
Oven in operation. Interior oven light is on. Display shows the
timer countdown. On completion of cooking, the buzzer is
sounded for 5 seconds. Oven light is on. Display shows Cooking
complete while buzzer is sounding.
E. Tramontana - UML Attivit e Stati - 14 Apr 10
12
Stati composti
Uno stato composto uno stato che consiste di vari sottostati
sequenziali o concorrenti
Stimulus
Half power
Full power
Timer
Number
Door open
Door closed
Start
Cancel
Description
The user has pressed the half power button
The user has pressed the full power button
The user has pressed one of the timer buttons
The user has pressed a numeric key
The oven door switch is not closed
The oven door switch is closed
The user has pressed the start button
The user has pressed the cancel button
momento
Stato semplice
E. Tramontana - UML Attivit e Stati - 14 Apr 10
13
14
Revisione
identificato
Incompleto
Test 1
importo Inserito
Test 2
completamento
normale
supera
Superato
supera
fallisce
selezionato
conferma
Fallito
E. Tramontana - UML Attivit e Stati - 14 Apr 10
15
E. fallisce
Tramontana - UML Attivit e Stati - 14 Apr 10
16
Quando e1 avviene, A1 e B1
diventano attivi
17