uml2 david kemp 20060716
DESCRIPTION
TRANSCRIPT
UML 2
A brief introduction
David Kemp. Melbourne Patterns, July 2006
David Kemp, July 2006 UML 2.0 2
Presentation Outline
What it is. How it is used. Its history. The Diagram Types (most of them!)
Much of the material in this presentation is based on Martin Fowler, UML Distilled, Third Edition.
David Kemp, July 2006 UML 2.0 3
What is the Unified Modeling Language?
Is a family of graphical notations. Is for describing & designing software.
Can also be used for conceptual models. Has a formal underlying meta-model. Controlled by the Object Management Group.
Consortium (also responsible for CORBA).
David Kemp, July 2006 UML 2.0 4
How is it used?
UML as sketch Describe some aspects of a design. Describe a design pattern.
UML as Blueprint Aim for completeness Forward & reverse engineering
UML as programming language Executable UML.
David Kemp, July 2006 UML 2.0 5
History of UML
1980’s and 1990’s : Dozens of OO notations. 1989: Object Management Group Founded 1991: OMT (Rumbaugh)
Used by GOF Design Patterns.
1995: Unified Method 0.8 (Booch & Rumbaugh)
1997: UML 1.0 & 1.1 (Adopted by the OMG) 1998, 1999, 2001, 2002: Versions 1.2 to 1.5 2000 - 2004: UML 2.0 Today: Work happening versions 2.1 and 2.2
David Kemp, July 2006 UML 2.0 6
Diagram Types
Class Object* Sequence Communication** Package* Deployment Use Case State Machine Activity
Composite Structure* Component Interaction Overview* Timing*
* New diagram type
** Name changed from collaboration diagram.
David Kemp, July 2006 UML 2.0 7
Classes and Interfaces
David Kemp, July 2006 UML 2.0 8
Interface implementation & dependency
David Kemp, July 2006 UML 2.0 9
More class relationships
David Kemp, July 2006 UML 2.0 10
Multiple Classification
David Kemp, July 2006 UML 2.0 11
Collaborations
David Kemp, July 2006 UML 2.0 12
Object Diagrams
David Kemp, July 2006 UML 2.0 13
Sequence Diagrams
David Kemp, July 2006 UML 2.0 14
Alternative Paths in Sequence Diagrams
David Kemp, July 2006 UML 2.0 15
Package Diagrams
David Kemp, July 2006 UML 2.0 16
Deployment Diagrams
David Kemp, July 2006 UML 2.0 17
Use Case Diagrams
David Kemp, July 2006 UML 2.0 18
State Diagrams
David Kemp, July 2006 UML 2.0 19
State Diagrams (cont…)
David Kemp, July 2006 UML 2.0 20
Activity Diagrams
David Kemp, July 2006 UML 2.0 21
Activity Diagrams (cont…)
Subsidiary activity diagrams. Partitions (multidimensional swim lanes). Pins & Transformations. Connectors. Expansion Regions. Join specifications.
David Kemp, July 2006 UML 2.0 22
Communication Diagrams
David Kemp, July 2006 UML 2.0 23
Component Diagrams (Composite Structure)
David Kemp, July 2006 UML 2.0 24
But there is so much more!!!
Interaction Overview Diagrams. Timing Diagrams. Variations on previous diagrams.
See: Martin Fowler, UML Distilled. Grady Booch, James Rumbaugh, Ivar
Jacobson, The Unified Modeling Language User Guide.