Information Systems Concepts Activity Diagrams - PowerPoint PPT Presentation

1 / 16
About This Presentation
Title:

Information Systems Concepts Activity Diagrams

Description:

... be shown followed by double colons in brackets (parentheses) beneath the action name ... can be shown after the colons, when different with the action name. 10 ... – PowerPoint PPT presentation

Number of Views:41
Avg rating:3.0/5.0
Slides: 17
Provided by: stevem74
Category:

less

Transcript and Presenter's Notes

Title: Information Systems Concepts Activity Diagrams


1
Information Systems Concepts Activity Diagrams
  • Dell Zhang
  • Birkbeck, University of London
  • Spring 2009

Based on Chapter 5 of Bennett, McRobb and Farmer
Object Oriented Systems Analysis and Design
Using UML, (3rd Edition), McGraw Hill, 2005.
2
Outline
  • Activity Diagrams
  • Section 5.3 (pp. 113 119)

3
Purpose of Activity Diagrams
  • Activity Diagrams can be used to model
  • high-level business activities
  • in the early stages of a project or
  • when the relevant objects or classes have not
    been identified
  • system functions or object operations
  • but communication/sequence diagrams are closer to
    the spirit of object-orientation

4
Notation of Activity Diagrams
  • Activity Diagrams are essentially
    Flowcharts/PetriNets in an object-oriented
    context
  • sequence, selection, iteration
  • concurrence

5
Notation of Activity Diagrams
  • Action Node
  • rectangle with rounded corners and a meaningful
    name
  • Action Edge (Control Flow)
  • open arrow

6
Notation of Activity Diagrams
  • Initial Node
  • black circle
  • Decision Node orMerge Node
  • diamond
  • Guard Condition
  • in square brackets
  • Final Node
  • black circle in white circle

7
Notation of Activity Diagrams
  • Fork Node /Join Node
  • thick bar
  • Actions carried out in parallel

8
Notation of Activity Diagrams
  • Some Tips
  • Multiple flows from an action are implicitly
    AND-ed.
  • Guard conditions do not have to be mutually
    exclusive, but it is advisable that they should
    be.
  • Decisions should be strictly nested, but a merge
    point can be combined with the following decision
    point

9
Notation of Activity Diagrams
  • Class Name
  • can be shown followed by double colons in
    brackets (parentheses) beneath the action name
  • Operation Name
  • can be shown after the colons, when different
    with the action name

10
Notation of Activity Diagrams
  • Objects
  • rectangle
  • optionally shows the state of the object in
    square brackets
  • Object Flows
  • open arrow

11
Notation of Activity Diagrams
  • Activity Partitions(Swimlanes)
  • vertical columns
  • labelled with theperson, organisation,department
    or system responsible for the activities in
    that column

12
Administrator
Campaign Manager
Add a New Client
Assign StaffContact
no campaign to add
Client
New
campaign to add
Campaign
Commissioned
Add New Campaign
no staff to assign
staff to assign
Assign Staff to Campaign
more staff to assign
no more staff to assign
13
Activity Diagram for producing a book.
14
More details can be shown on a lower level.
15
Notation of Activity Diagrams
  • Exercise
  • Check out at a supermarket counter.

16
Take Home Messages
  • Activity Diagrams
  • Purpose
  • Notation
Write a Comment
User Comments (0)
About PowerShow.com