Download presentation
Presentation is loading. Please wait.
Published byHector Day Modified over 9 years ago
1
Unified Modeling Language User Guide Section 4 - Basic Behavioral Modeling Chapter 19 – Activity Diagrams
2
Sung KimCS6359 Chapter 19 Slide 2 Overview Modeling a workflow Modeling an operation Forward and reverse Engineering
3
Sung KimCS6359 Chapter 19 Slide 3 Terms & Concepts Activity Diagram – shows the flow from activity to activity. Activity – an ongoing non atomic execution within a state machine. Activities ultimately/ pada akhirnya results in some action. Action – made up of executable atomic computations that results in a change in state of the system or the return of a value (i.e., calling another operation, sending a signal, creating or destroying an object, or some pure computation.
4
Sung KimCS6359 Chapter 19 Slide 4 Activity Diagram Select site Commission architect Develop plan Bid plan Do site work Do trade work() Finish construction : CertificateOfOccupancy [completed] Initial state Sequential branch Action state [not accepted] [else] final state object flow concurrent fork Activity state with submachine concurrent join Activity diagrams commonly contain: Activity states and actions states Transitions Objects
5
Sung KimCS6359 Chapter 19 Slide 5 Action States & Activity States Action states: executable, atomic computations (states of the system, each representing the execution of an action) – cannot be decomposed/buang. Activity states: not atomic; can be further/ lebih jauh decomposed; can be represented by other activity diagrams – a composite whose flow of control is made up of other activity states and action states.
6
Sung KimCS6359 Chapter 19 Slide 6 Transitions & Branching Select Site Commission architect triggerless transition start state stop state action state RescheduleRelease work orderAssign tasks guard expression branch [materials not ready] guard expression [materials ready]
7
Sung KimCS6359 Chapter 19 Slide 7 Forking and Joining Concurrent flow. Use synchronization bar to specify the forking and joining of these parallel flows of control. A synchronization bar is rendered as a thick horizontal or vertical line. Do site work Do trade work() fork join
8
Sung KimCS6359 Chapter 19 Slide 8 Swimlanes Useful in modeling workflows of business processes – partition the activity states on an activity diagram into groups, each group representing the business organization responsible for those activities. A swimlane is a kind of package. Each swimlaine has a name unique within its diagram (a swimlane really has no deep semantic – just represent some real-world entity). Every activity belongs/mesti to exactly one swimlane, but transitions may cross lanes.
9
Sung KimCS6359 Chapter 19 Slide 9 Object Flow Objects may be involved/ ruwet in the flow of control associated with an activity diagram. Specify the things that are involved in an activity diagram by placing these objects in the diagram, connected using a dependency to the activity or transition that creates, destroys, or modifies them. Object flow – the use of dependency relationships and objects (represents the participation of an object in a flow of control).
10
Sung KimCS6359 Chapter 19 Slide 10 Summary Activity diagram, Activity, & Action Action states & Activity states Transition & Branching Forking & Joining Swimlanes Object flow
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.