8/15/2019 OOSE_Week 08 - Activity Diagram
1/16
UML ActivityDiagrams
8/15/2019 OOSE_Week 08 - Activity Diagram
2/16
If a use casegets toocomplex, we
use activitydiagrams toclarifythings
8/15/2019 OOSE_Week 08 - Activity Diagram
3/16
Activi
tydiagra
ms
8/15/2019 OOSE_Week 08 - Activity Diagram
4/16
Activities are rectangles withrounded corners
8/15/2019 OOSE_Week 08 - Activity Diagram
5/16
Transitions are shownby arrows
ometimes the transition may havetext to explain what is happening
8/15/2019 OOSE_Week 08 - Activity Diagram
6/16
tart and !inish
A start is shown by a "lled in circle A "nish is a circle containing a "lled in
circle
8/15/2019 OOSE_Week 08 - Activity Diagram
7/16
Decisions are denotedby diamonds
8/15/2019 OOSE_Week 08 - Activity Diagram
8/16
#uard
conditions bloc$the %ow if somecondition is not
met They &guard& the door
8/15/2019 OOSE_Week 08 - Activity Diagram
9/16
ynchroni'ation bars
Allow for the branching and (oining of synchronous activities
ynchronous meansthat two or more thingsare happening
simultaneously
8/15/2019 OOSE_Week 08 - Activity Diagram
10/16
wimlanes show whois responsible for
what wimlanes are optional
8/15/2019 OOSE_Week 08 - Activity Diagram
11/16
8/15/2019 OOSE_Week 08 - Activity Diagram
12/16
Activity Diagram ) *xample+
8/15/2019 OOSE_Week 08 - Activity Diagram
13/16
olution
8/15/2019 OOSE_Week 08 - Activity Diagram
14/16
Activity Diagram ) *xample
8/15/2019 OOSE_Week 08 - Activity Diagram
15/16
Activity Diagram ) *xample-
A ma(or distributor of o.ce supplies has a set of criteria forpreparing bills/0hen the customer places the order one of the sales sta1prepares the order and writes the bill, if there is an insu.cient2uantity of items on hand, the bac$ order is set up for missingitems/ The available items are shipped and bill is prepared/
The cost is billed for the bac$ order items when they shipped/0holesale
customers are eligible for discount if they purchase minimum of+33 items/ 4etail customers are5 not eligible for any discountirrespective of the number of items ordered/ All retail customerspay sales tax, 0holesale customers don6t pay any tax providedthey have state tax exception/ All bills are mailed to customers/
Draw activity diagram with swim lanes and draw classdiagram/
8/15/2019 OOSE_Week 08 - Activity Diagram
16/16