Lecture 10 Other UML Notations - PowerPoint PPT Presentation

1 / 15
About This Presentation
Title:

Lecture 10 Other UML Notations

Description:

State diagrams: behaviour of individual objects/components ... Component diagrams show how physical units such as files, executables, etc. are related ... – PowerPoint PPT presentation

Number of Views:42
Avg rating:3.0/5.0
Slides: 16
Provided by: billk71
Category:

less

Transcript and Presenter's Notes

Title: Lecture 10 Other UML Notations


1
Lecture 10Other UML Notations
  • Activity Diagrams
  • Documenting workflows
  • Basic Notation
  • ATM Case Study withdrawal use-case
  • Packages and Subsystems
  • Implementation Diagrams (very briefly)
  • Component diagrams
  • Deployment diagrams

2
UML Activity Diagrams
  • Used to document workflows
  • Modelling business activities or systems
  • Modelling activities within/between use-cases
  • Detailed description of operations in classes
  • Similar notation to UML statechart diagrams
  • Activities (action states)
  • States
  • Transitions

3
Activity Diagrams State Diagrams
  • Notationally, very similar
  • Important to distinguish purpose/use
  • State diagrams
  • behaviour of individual objects/components
  • show state transitions triggered by events
  • Activity diagrams
  • behaviour within systems/organizations
  • transitions between activities (work flows)

4
Activity Diagrams Basic Notation
Start state
Activities
Transitions
Simple Activity Diagram with start and stop states
Final state
5
Activity Diagrams Decision Points
Decision points allow branching depending on a
condition
Guard condition
Decision point
Invalid PIN
Valid PIN
6
Activity Diagrams Swimlanes
Swimlanes are a useful notation for indicating
where an activity takes place
7
ATM Case Study Workflow for Withdrawal Use-Case
Withdraw Cash
8
ATM Case StudyElaborated Use-Case Description
Actor
System
9
ATM Case Study Activity Diagram for Withdrawal
ATM Customer
ATM System
Select withdrawal
Display menu
Insufficient funds
Select amount
Sufficient funds
User takes card
Return card
Notify user
Dispense cash
10
Packages and Subsystems
  • Package a collection of model elements
  • grouping semantically related elements
  • analysing system architecture
  • hiding irrelevant detail on a diagram
  • Subsystem special sort of package
  • representing units of the physical system
  • developing components of the design

11
Packages Organising Model Elements
Account System
12
ATM Case Study Layered Architecture
ATM System
Packages represent different aspects of system
architecture. Packages can be nested. Note also
the asymmetry of dependencies between packages.
13
UML Component Diagrams
Relationship between components
ltltcommunicatesgtgt
ATMControl.java
Component diagrams show how physical units such
as files, executables, etc. are related
Notation for components
14
UML Deployment Diagrams
Communication association
Deployment diagrams model configuration of
hardware elements
Nodes
15
Summary
  • Activity diagrams
  • Model workflows
  • Transitions between activities
  • Use-case modelling/business modelling
  • Packages
  • Group logically related units
  • Implementation diagrams
  • Component diagrams document physical elements
  • Deployment diagrams document hardware elements
Write a Comment
User Comments (0)
About PowerShow.com