5. Unified Modeling Language
Structure Diagrams
Diagram Name Used to Primary Phase
Class Diagram Illustrate the relationships between classes
modeled in the system
Analysis, Design
Object Diagram Illustrate the relationships between
objects
Used when actual instances of the classes
will better communicate the model
Analysis, Design
Package Diagram Group other UML elements together to
form higher level constructs
Analysis, Design,
Implementation
Deployment
Diagram
Show the physical architecture of the
system, show the software components of
physical architecture
Physical Design,
Implementation
Component
Diagram
Illustrate the physical relationships
among the software components
Physical Design,
Implementation
Composite
Structure Diagram
Illustrate the internal structure of a class
(internal relationship)
Analysis, Design
6. Unified Modeling Language
Structure Diagrams
• Class Diagram
» Payroll application
» Employees, checks, payroll register
• Object Diagram
» Covers additional details of a class (attributes,
relationships)
• Package Diagram
» Class diagram ,dependency relationship
» Eg. : Patient class package : group of patient class with
Patient medical history
7. Unified Modeling Language
Structure Diagrams
• Deployment Diagram
» Relationship between the hardware components
» Software components deployed over the physical architecture
» Eg: Distributed Information System : Nodes, communication,
• Component Diagram
» Physical Distribution of software modules
» Eg: client-server system
• Composite structure Diagram
» Suitable for the system where internal structure of a class is
complex
» Suitable for component based systems
» Payroll – header, footer, detail lines
» Redundant modeling mechanism
8. Unified Modeling Language
Behavioral Diagrams
Diagram Name Used to Primary Phase
Activity Diagram Illustrate business workflows
independent of classes, the flow of
activities in use case or detailed design of
a method
Analysis, Design
Sequence Diagram Model the behavior of objects within a use
case. Focuses on the time based ordering
of an activity
Analysis, Design
Communication
Diagram
Model the behavior of an objects within a
use case. Focuses on the communication
among a set of collaborating objects
Analysis, Design,
Interaction
Overview
Illustrates the overview of the flow of
control of a process
Analysis, Design,
Timing Illustrates the interaction among a set of
objects and the state changes they go
through along a time axis
Analysis, Design,
9. Unified Modeling Language
Behavioral Diagrams
Diagram Name Used to Primary Phase
Behavioral state
machine
Examine the behavior of one class Analysis, Design
Protocol state
machine
Illustrates the dependencies among
different interfaces of a class
Analysis, Design
Use Case Captures business requirements for the
system and interaction between the
system and its environment
Analysis
10. Unified Modeling Language
Diagrams
Information flow diagram
Show information flow associated with
the system
Profile diagram
Supports modeling of service-oriented
architectures including specification of
systems of services, service interfaces,
and service implementations
11. UML Diagrams
UML Diagrams
Structure Behavior
Class Diagram Activity
Diagram
Object Diagram Interaction
Diagram
Sequence Diagram
Package Diagram Behavioral state
machine
State Machine Communication
Diagram
Deployment Diagram Protocol state
machine
Use Case Interaction
Overview
Component Diagram Timing
Composite Structure
Diagram