Lecture 4 - Introduction To UML
Lecture 4 - Introduction To UML
Lecture 04:
- Unified Modeling Language (UML)
2
What is UML?
• UML (Unified Modeling Language)
▫ “A graphical language for visualizing,
specifying, constructing and documenting the
artifacts of a software intensive system”
[Booch]
What is UML?
• Current Version: UML 2.5.1
▫ For details https://www.omg.org/spec/UML/2.5.1/
• UML Tools
▫ Rational (IBM)
▫ Together (Borland)
▫ Visual Architect (business processes, BCD)
▫ Open Source tools:
▫ ArgoUML
▫ StarUML
5
Fulfills Order
Items
Ships via
6
An Example
• A "dice game" in which software simulates a
player rolling two dice
Play a Dice
Game
Player
10
Structure Diagrams
• Class Diagram
• Object Diagram
• Component Diagram
• Composite Diagram
• Package Diagram
• Deployment Diagram
12
Class Diagram
13
Object Diagram
14
Component Diagram
15
Composite Diagram
16
Package Diagram
17
Deployment Diagram
18
Behavioral Diagrams
• Use Case Diagram
• Activity Diagram
• Statechart Diagram
• Interaction Diagram
19
Activity Diagram
21
Statechart Diagram
22
Interaction Diagrams
• Sequence Diagram
• Communication Diagram
• Timing Diagram
• Interaction Overview Diagram
23
Sequence Diagram
24
Communication Diagram
25
Timing Diagram
26
Extensibility of UML
• Stereotypes
▫ Allows to define a new kind of model element
based on an existing one
Any Questions?
Summary