Information Technology Reference
In-Depth Information
focus is on an object and its response to changes in state, an activity diagram
depicts all of the activities associated with a single process and the dependencies
that relate those activities. The diagram below shows the processes involved in
withdrawing money from an ATM. The black circle labeled start indicates the
beginning of the process, and the similar circle labeled end denotes where the
process stops.
As depicted in Fig. 3.17 , activity diagrams are divided into sections called
swimlanes. The names at the top of each swimlane represent the three objects
involved in our example: Customer , ATM Machine , and Bank . Each object is
swimlane
Customer
ATM Machine
Bank
start
Insert card
activity
guard expression
Enter pin
Authorize
branch
Enter amount
Check account balance
fork
Debit account
join
Take money from slot
Show balance
merge
Eject card
Take card
end
Fig. 3.17
Activity diagram (Miller 2003 )
 
Search WWH ::




Custom Search