Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
© 2002 Jaelson Castro and John Mylopoulos Statechart Diagrams -- 1 © 2001 Jaelson Castro and John Mylopoulos State and Activity Diagrams -- 2
Information Systems Analysis and Design CSC340 Information Systems Analysis and Design CSC340
© 2001 Jaelson Castro and John Mylopoulos State and Activity Diagrams -- 3 © 2001 Jaelson Castro and John Mylopoulos State and Activity Diagrams -- 4
Information Systems Analysis and Design CSC340 Information Systems Analysis and Design CSC340
© 2001 Jaelson Castro and John Mylopoulos State and Activity Diagrams -- 5 © 2001 Jaelson Castro and John Mylopoulos State and Activity Diagrams -- 6
1
Information Systems Analysis and Design CSC340 Information Systems Analysis and Design CSC340
CourseRoster.Delete()
quarterStarted
© 2001 Jaelson Castro and John Mylopoulos State and Activity Diagrams -- 7 © 2001 Jaelson Castro and John Mylopoulos State and Activity Diagrams -- 8
Information Systems Analysis and Design CSC340 Information Systems Analysis and Design CSC340
Transmission
Transmission
select R
Neutral Reverse
select R select N
Neutral Reverse
select N
select N select F
select N select F
Forward
© 2001 Jaelson Castro and John Mylopoulos State and Activity Diagrams -- 9 © 2001 Jaelson Castro and John Mylopoulos State and Activity Diagrams -- 10
Information Systems Analysis and Design CSC340 Information Systems Analysis and Design CSC340
© 2001 Jaelson Castro and John Mylopoulos State and Activity Diagrams -- 11 © 2001 Jaelson Castro and John Mylopoulos State and Activity Diagrams -- 12
2
Information Systems Analysis and Design CSC340 Information Systems Analysis and Design CSC340
Auto Transmission
Bridge Vulnerability Rules
Ignition
turn key to start
Playing Bridge Rubber [Transmission release
N-S vulnerability in Neutral] key
Off Starting On
turn key off
Not N-S game N-S game
Vulnerable N-S wins turn key off
vulnerable
Transmission
select R
Neutral Reverse
E-W vulnerability select N
select N select F
© 2001 Jaelson Castro and John Mylopoulos State and Activity Diagrams -- 13 © 2001 Jaelson Castro and John Mylopoulos State and Activity Diagrams -- 14
Information Systems Analysis and Design CSC340 Information Systems Analysis and Design CSC340
Activity Diagrams
Firing a Transition in Activity Diagrams
n Activity diagrams describe activities which involve concurrency
and synchronization. n Activity diagrams use a Perti net-like notation to describe activities
which involve concurrency and synchronization.
n Activity diagrams are a variation of state diagrams that focuses
on the flow of actions and events. n Petri nets use transitions which involve several input and output
states:
n Can be used
ü To model a human task (a business process, for instance).
ü To describe a system function that is represented by a use
case.
ü In operation specifications, to describe the logic of an
operation. Before After
© 2001 Jaelson Castro and John Mylopoulos State and Activity Diagrams -- 15 © 2001 Jaelson Castro and John Mylopoulos State and Activity Diagrams -- 16
Information Systems Analysis and Design CSC340 Information Systems Analysis and Design CSC340
[need to
[stock assigned to reorder]
all line items and
payment authorized] Dispatch Reorder
Order Item
© 2001 Jaelson Castro and John Mylopoulos State and Activity Diagrams -- 17 © 2001 Jaelson Castro and John Mylopoulos State and Activity Diagrams -- 18
3
Information Systems Analysis and Design CSC340 Information Systems Analysis and Design CSC340
Swimlanes
Decision Points in Activity Diagrams
Finance Order Stock
n Decision points: Receive Processing Manager
Order
© 2001 Jaelson Castro and John Mylopoulos State and Activity Diagrams -- 19 © 2001 Jaelson Castro and John Mylopoulos State and Activity Diagrams -- 20
Information Systems Analysis and Design CSC340 Information Systems Analysis and Design CSC340
© 2001 Jaelson Castro and John Mylopoulos State and Activity Diagrams -- 21 © 2001 Jaelson Castro and John Mylopoulos State and Activity Diagrams -- 22