A Student Guide to Object-Oriented Development - PowerPoint PPT Presentation

About This Presentation
Title:

A Student Guide to Object-Oriented Development

Description:

A Student Guide to Object-Oriented Development Chapter 8 Activity diagrams Activity diagrams show the internal flow of control in a process can be used to model ... – PowerPoint PPT presentation

Number of Views:358
Avg rating:3.0/5.0
Slides: 19
Provided by: Jacqui96
Category:

less

Transcript and Presenter's Notes

Title: A Student Guide to Object-Oriented Development


1
A Student Guide to Object-Oriented Development
  • Chapter 8 Activity diagrams

2
Activity diagrams
  • show the internal flow of control in a process
  • can be used to model processing at different
    levels e.g.
  • high-level workflows in an organization
  • detail of what happens in a use case
  • detail of how an operation works

3
Activity diagrams
  • can be used to represent
  • sequence
  • selection
  • iteration
  • can also illustrate where different activities
    can be carried out in parallel

4
Modelling a sequence of activities
5
Notation
6
Modelling alternative courses of action (1)
7
Activity Diagram (UML)
Decision point
Synchronization bar End Task
8
Activity Diagrams
  • Activity diagrams extend statechart diagrams
    and present a sequence of "activities" and how
    the execution path progresses from one activity
    to another.

9
Activity Diagrams
  • Activity diagrams can also present
  • decision points conditions that change the flow
    of actions
  • parallel execution paths
  • objects affected by actions

10
Example Activity Diagram
11
Modelling alternative courses of action(2)
12
Modelling iteration of activities
13
Modelling activities that are carried out in
parallel(1)
14
Modelling activities that are carried out in
parallel(2)
15
Alternative and parallel activities
16
Swimlanes
17
In alternative activities the diamond symbol may
be omitted
18
Including objects and object flows
Write a Comment
User Comments (0)
About PowerShow.com