SlideShare a Scribd company logo
2
Most read
5
Most read
11
Most read
Duration: 3hrs
1
Ramakant Soni
Assistant Professor
Dept. of Computer Science
B K Birla Institute of Engineering & Technology, Pilani, India
Ramakant Soni @ BKBIET Pilani
Collaboration Diagram Definition
Collaboration Diagrams captures dynamic behavior of
the objects in the system (message-oriented).
They are very useful for visualizing the relationship
between objects collaborating to perform a particular
task.
Ramakant Soni @ BKBIET Pilani 2
Their purpose is to:
Model flow of control
Illustrate coordination of object structure and control
Collaboration Diagram Elements
There are three primary elements of a collaboration
diagram:
1. Objects
2. Links
3. Messages
Ramakant Soni @ BKBIET Pilani 3
3. Messages
What it represents?
Collaboration Diagrams illustrate object interactions in a graph or
network format.
Ramakant Soni @ BKBIET Pilani 4
Notations used for Collaboration Diagrams
 To show an instance of a class, the
regular class box graphic symbol is
used, but the name is underlined.
Additionally a class name should be
preceded by a colon.
Ramakant Soni @ BKBIET Pilani 5
 An instance name can be used to
uniquely identify the instance.
Links, Messages and Return Value
Ramakant Soni @ BKBIET Pilani 6
“Self” Messages
 A message can be sent from an object to itself.
 This is illustrated by a link to itself, with messages flowing along the link.
Ramakant Soni @ BKBIET Pilani 7
Conditional Messages
 A conditional message is shown by following a sequence number with
a conditional clause in square brackets, similar to the iteration clause.
 The message is sent only if the clause evaluates to true.
Ramakant Soni @ BKBIET Pilani 8
Iteration or Looping
 Iteration is indicated by following the
sequence number with a star( * ).
 This expresses that the message is being
sent repeatedly, in a loop, to the
Ramakant Soni @ BKBIET Pilani 9
sent repeatedly, in a loop, to the
receiver.
 It is also possible to include an iteration
clause indicating the recurrence values.
Representing Collections (Multiobject)
 A multiobject is a set of instances.
Ramakant Soni @ BKBIET Pilani 10
EX1: Collaboration Diagram
Ramakant Soni @ BKBIET Pilani 11
Class diagram for : Make a phone call
EX1: Sequence to Collaboration Diagram
Ramakant Soni @ BKBIET Pilani 12
Process for : Make a phone call
EX1: Sequence to Collaboration Diagram
Ramakant Soni @ BKBIET Pilani 13
Collaboration diagram for : Make a phone call
EX2: Sequence to Collaboration Diagram
Ramakant Soni @ BKBIET Pilani 14
Sequence diagram for : change Airline itineraries
EX2: Sequence to Collaboration Diagram
Ramakant Soni @ BKBIET Pilani 15
Collaboration diagram for : change Airline itineraries
EX3: Sequence to Collaboration Diagram
Ramakant Soni @ BKBIET Pilani 16
Sequence diagram for : hotel reservation
EX3: Sequence to Collaboration Diagram
Ramakant Soni @ BKBIET Pilani 17
Collaboration diagram for : hotel reservation
References:
[1] http://www.uml-diagrams.org/
[2] http://en.wikipedia.org/wiki/Collaboration_diagram
[3] http://www.uml-diagrams.org/Collaboration-diagrams-examples.html
Ramakant Soni @ BKBIET Pilani 18
ThanksThanks
18

More Related Content

What's hot (20)

PPTX
Overview of UML Diagrams
Manish Kumar
 
PPTX
Object diagram
Rahul Pola
 
PPT
Uml class-diagram
ASHOK KUMAR PALAKI
 
PPT
Oomd unit1
VivekChaudhary93
 
PPT
Unit 2(advanced class modeling & state diagram)
Manoj Reddy
 
PPT
Object Oriented Analysis and Design
Haitham El-Ghareeb
 
PPT
Uml Activity Diagram
Niloy Rocker
 
PPT
UML Architecture and Views
Kumar
 
PPTX
Sequence diagram
Rahul Pola
 
PPTX
Object Oriented Analysis (Coad-Yourdon)
Subash Khatiwada
 
PPTX
Recognition-of-tokens
Dattatray Gandhmal
 
PDF
Classes and Objects
yndaravind
 
PPTX
Communication diagram Introduction
Dineesha Suraweera
 
PDF
Sequence diagram- UML diagram
Ramakant Soni
 
PPTX
Basic Behavioral Modeling
AMITJain879
 
PPTX
Component diagram
Abdul Manan
 
PDF
The Object Model
yndaravind
 
PPT
Unit 1( modelling concepts & class modeling)
Manoj Reddy
 
PPT
Lecture 9 understanding requirements
IIUI
 
PPTX
Basic Structural Modeling
AMITJain879
 
Overview of UML Diagrams
Manish Kumar
 
Object diagram
Rahul Pola
 
Uml class-diagram
ASHOK KUMAR PALAKI
 
Oomd unit1
VivekChaudhary93
 
Unit 2(advanced class modeling & state diagram)
Manoj Reddy
 
Object Oriented Analysis and Design
Haitham El-Ghareeb
 
Uml Activity Diagram
Niloy Rocker
 
UML Architecture and Views
Kumar
 
Sequence diagram
Rahul Pola
 
Object Oriented Analysis (Coad-Yourdon)
Subash Khatiwada
 
Recognition-of-tokens
Dattatray Gandhmal
 
Classes and Objects
yndaravind
 
Communication diagram Introduction
Dineesha Suraweera
 
Sequence diagram- UML diagram
Ramakant Soni
 
Basic Behavioral Modeling
AMITJain879
 
Component diagram
Abdul Manan
 
The Object Model
yndaravind
 
Unit 1( modelling concepts & class modeling)
Manoj Reddy
 
Lecture 9 understanding requirements
IIUI
 
Basic Structural Modeling
AMITJain879
 

Viewers also liked (20)

PPT
Lecture 6 collaboration diagrams
ASHOK KUMAR PALAKI
 
PPT
7. sequence and collaboration diagrams
APU
 
PPTX
Class, Collaboration, Sequence Diagram of a sample project
Naimul Arif
 
PPTX
The Ultimate Sequence Diagram Tutorial
Creately
 
PPTX
Blood Bank Management System (including UML diagrams)
Harshil Darji
 
PPT
Uml diagrams
barney92
 
PPT
Slide 4 Interaction Diagram
Niloy Rocker
 
PPT
5.state diagrams
APU
 
PPT
UML Diagrams
Kartik Raghuvanshi
 
PDF
Use Case diagram-UML diagram-1
Ramakant Soni
 
PPT
Lecture#08 sequence diagrams
babak danyal
 
DOC
Online blood bank management system
skk4646
 
PPTX
Sequence diagrams in UML
Paxcel Technologies
 
PPTX
Component and Deployment Diagram - Brief Overview
Rajiv Kumar
 
PPTX
BLOOD BANK SOFTWARE PRESENTATION
Ramachendran Logarajah
 
PPT
Collaboration PowerPoint slides
eisolomon
 
PPTX
Uml Presentation
mewaseem
 
PDF
What is Algorithm - An Overview
Ramakant Soni
 
PDF
Class diagram- UML diagram
Ramakant Soni
 
PDF
Use Case diagram-UML diagram-2
Ramakant Soni
 
Lecture 6 collaboration diagrams
ASHOK KUMAR PALAKI
 
7. sequence and collaboration diagrams
APU
 
Class, Collaboration, Sequence Diagram of a sample project
Naimul Arif
 
The Ultimate Sequence Diagram Tutorial
Creately
 
Blood Bank Management System (including UML diagrams)
Harshil Darji
 
Uml diagrams
barney92
 
Slide 4 Interaction Diagram
Niloy Rocker
 
5.state diagrams
APU
 
UML Diagrams
Kartik Raghuvanshi
 
Use Case diagram-UML diagram-1
Ramakant Soni
 
Lecture#08 sequence diagrams
babak danyal
 
Online blood bank management system
skk4646
 
Sequence diagrams in UML
Paxcel Technologies
 
Component and Deployment Diagram - Brief Overview
Rajiv Kumar
 
BLOOD BANK SOFTWARE PRESENTATION
Ramachendran Logarajah
 
Collaboration PowerPoint slides
eisolomon
 
Uml Presentation
mewaseem
 
What is Algorithm - An Overview
Ramakant Soni
 
Class diagram- UML diagram
Ramakant Soni
 
Use Case diagram-UML diagram-2
Ramakant Soni
 
Ad

Similar to Collaboration diagram- UML diagram (16)

PDF
Bt0066 database management system2
Techglyphs
 
PPT
Lec2_Information Integration.ppt
NaglaaFathy42
 
PDF
CS8592 Object Oriented Analysis & Design - UNIT III
pkaviya
 
PDF
FRACTAL ANALYSIS OF GOOD PROGRAMMING STYLE
cscpconf
 
PDF
Fractal analysis of good programming style
csandit
 
PDF
Fast and Accurate Entity Linking via Graph Embedding
NECST Lab @ Politecnico di Milano
 
PPT
Savitch ch 11
Terry Yoast
 
PPT
OOAD-Unit-3.ppt UML and ANALYSISI AND DESIGN
KalyaniLokhande5
 
PDF
Activity diagram-UML diagram
Ramakant Soni
 
PPTX
Basic behavioral modeling chapter 3 of OMD
jayashri kolekar
 
PPTX
Python Conditional and Looping statements.pptx
rajig12
 
PPT
Savitch Ch 11
Terry Yoast
 
PPTX
Computer Literacy Lesson 20
cpashke
 
PPT
Ood Post1
Rajesh Kumar
 
PPT
M04_DesignPatterns software engineering.ppt
ssuser2d043c
 
Bt0066 database management system2
Techglyphs
 
Lec2_Information Integration.ppt
NaglaaFathy42
 
CS8592 Object Oriented Analysis & Design - UNIT III
pkaviya
 
FRACTAL ANALYSIS OF GOOD PROGRAMMING STYLE
cscpconf
 
Fractal analysis of good programming style
csandit
 
Fast and Accurate Entity Linking via Graph Embedding
NECST Lab @ Politecnico di Milano
 
Savitch ch 11
Terry Yoast
 
OOAD-Unit-3.ppt UML and ANALYSISI AND DESIGN
KalyaniLokhande5
 
Activity diagram-UML diagram
Ramakant Soni
 
Basic behavioral modeling chapter 3 of OMD
jayashri kolekar
 
Python Conditional and Looping statements.pptx
rajig12
 
Savitch Ch 11
Terry Yoast
 
Computer Literacy Lesson 20
cpashke
 
Ood Post1
Rajesh Kumar
 
M04_DesignPatterns software engineering.ppt
ssuser2d043c
 
Ad

More from Ramakant Soni (7)

PDF
GATE 2021 Exam Information
Ramakant Soni
 
PDF
Role of Data Cleaning in Data Warehouse
Ramakant Soni
 
PDF
Internet of things
Ramakant Soni
 
PDF
NOSQL- Presentation on NoSQL
Ramakant Soni
 
PDF
Huffman and Arithmetic coding - Performance analysis
Ramakant Soni
 
PDF
UML daigrams for Bank ATM system
Ramakant Soni
 
PDF
UML Diagrams- Unified Modeling Language Introduction
Ramakant Soni
 
GATE 2021 Exam Information
Ramakant Soni
 
Role of Data Cleaning in Data Warehouse
Ramakant Soni
 
Internet of things
Ramakant Soni
 
NOSQL- Presentation on NoSQL
Ramakant Soni
 
Huffman and Arithmetic coding - Performance analysis
Ramakant Soni
 
UML daigrams for Bank ATM system
Ramakant Soni
 
UML Diagrams- Unified Modeling Language Introduction
Ramakant Soni
 

Recently uploaded (20)

PDF
Biodegradable Plastics: Innovations and Market Potential (www.kiu.ac.ug)
publication11
 
PPTX
Water resources Engineering GIS KRT.pptx
Krunal Thanki
 
PDF
2010_Book_EnvironmentalBioengineering (1).pdf
EmilianoRodriguezTll
 
PPTX
Inventory management chapter in automation and robotics.
atisht0104
 
PDF
4 Tier Teamcenter Installation part1.pdf
VnyKumar1
 
DOCX
SAR - EEEfdfdsdasdsdasdasdasdasdasdasdasda.docx
Kanimozhi676285
 
PDF
勉強会資料_An Image is Worth More Than 16x16 Patches
NABLAS株式会社
 
PPTX
quantum computing transition from classical mechanics.pptx
gvlbcy
 
PDF
Construction of a Thermal Vacuum Chamber for Environment Test of Triple CubeS...
2208441
 
PPTX
ENSA_Module_7.pptx_wide_area_network_concepts
RanaMukherjee24
 
PDF
Advanced LangChain & RAG: Building a Financial AI Assistant with Real-Time Data
Soufiane Sejjari
 
PPTX
22PCOAM21 Session 1 Data Management.pptx
Guru Nanak Technical Institutions
 
PDF
2025 Laurence Sigler - Advancing Decision Support. Content Management Ecommer...
Francisco Javier Mora Serrano
 
PPTX
Information Retrieval and Extraction - Module 7
premSankar19
 
PDF
STUDY OF NOVEL CHANNEL MATERIALS USING III-V COMPOUNDS WITH VARIOUS GATE DIEL...
ijoejnl
 
PDF
settlement FOR FOUNDATION ENGINEERS.pdf
Endalkazene
 
PDF
All chapters of Strength of materials.ppt
girmabiniyam1234
 
PPTX
Ground improvement techniques-DEWATERING
DivakarSai4
 
PPTX
IoT_Smart_Agriculture_Presentations.pptx
poojakumari696707
 
PPTX
filteration _ pre.pptx 11111110001.pptx
awasthivaibhav825
 
Biodegradable Plastics: Innovations and Market Potential (www.kiu.ac.ug)
publication11
 
Water resources Engineering GIS KRT.pptx
Krunal Thanki
 
2010_Book_EnvironmentalBioengineering (1).pdf
EmilianoRodriguezTll
 
Inventory management chapter in automation and robotics.
atisht0104
 
4 Tier Teamcenter Installation part1.pdf
VnyKumar1
 
SAR - EEEfdfdsdasdsdasdasdasdasdasdasdasda.docx
Kanimozhi676285
 
勉強会資料_An Image is Worth More Than 16x16 Patches
NABLAS株式会社
 
quantum computing transition from classical mechanics.pptx
gvlbcy
 
Construction of a Thermal Vacuum Chamber for Environment Test of Triple CubeS...
2208441
 
ENSA_Module_7.pptx_wide_area_network_concepts
RanaMukherjee24
 
Advanced LangChain & RAG: Building a Financial AI Assistant with Real-Time Data
Soufiane Sejjari
 
22PCOAM21 Session 1 Data Management.pptx
Guru Nanak Technical Institutions
 
2025 Laurence Sigler - Advancing Decision Support. Content Management Ecommer...
Francisco Javier Mora Serrano
 
Information Retrieval and Extraction - Module 7
premSankar19
 
STUDY OF NOVEL CHANNEL MATERIALS USING III-V COMPOUNDS WITH VARIOUS GATE DIEL...
ijoejnl
 
settlement FOR FOUNDATION ENGINEERS.pdf
Endalkazene
 
All chapters of Strength of materials.ppt
girmabiniyam1234
 
Ground improvement techniques-DEWATERING
DivakarSai4
 
IoT_Smart_Agriculture_Presentations.pptx
poojakumari696707
 
filteration _ pre.pptx 11111110001.pptx
awasthivaibhav825
 

Collaboration diagram- UML diagram

  • 1. Duration: 3hrs 1 Ramakant Soni Assistant Professor Dept. of Computer Science B K Birla Institute of Engineering & Technology, Pilani, India Ramakant Soni @ BKBIET Pilani
  • 2. Collaboration Diagram Definition Collaboration Diagrams captures dynamic behavior of the objects in the system (message-oriented). They are very useful for visualizing the relationship between objects collaborating to perform a particular task. Ramakant Soni @ BKBIET Pilani 2 Their purpose is to: Model flow of control Illustrate coordination of object structure and control
  • 3. Collaboration Diagram Elements There are three primary elements of a collaboration diagram: 1. Objects 2. Links 3. Messages Ramakant Soni @ BKBIET Pilani 3 3. Messages
  • 4. What it represents? Collaboration Diagrams illustrate object interactions in a graph or network format. Ramakant Soni @ BKBIET Pilani 4
  • 5. Notations used for Collaboration Diagrams  To show an instance of a class, the regular class box graphic symbol is used, but the name is underlined. Additionally a class name should be preceded by a colon. Ramakant Soni @ BKBIET Pilani 5  An instance name can be used to uniquely identify the instance.
  • 6. Links, Messages and Return Value Ramakant Soni @ BKBIET Pilani 6
  • 7. “Self” Messages  A message can be sent from an object to itself.  This is illustrated by a link to itself, with messages flowing along the link. Ramakant Soni @ BKBIET Pilani 7
  • 8. Conditional Messages  A conditional message is shown by following a sequence number with a conditional clause in square brackets, similar to the iteration clause.  The message is sent only if the clause evaluates to true. Ramakant Soni @ BKBIET Pilani 8
  • 9. Iteration or Looping  Iteration is indicated by following the sequence number with a star( * ).  This expresses that the message is being sent repeatedly, in a loop, to the Ramakant Soni @ BKBIET Pilani 9 sent repeatedly, in a loop, to the receiver.  It is also possible to include an iteration clause indicating the recurrence values.
  • 10. Representing Collections (Multiobject)  A multiobject is a set of instances. Ramakant Soni @ BKBIET Pilani 10
  • 11. EX1: Collaboration Diagram Ramakant Soni @ BKBIET Pilani 11 Class diagram for : Make a phone call
  • 12. EX1: Sequence to Collaboration Diagram Ramakant Soni @ BKBIET Pilani 12 Process for : Make a phone call
  • 13. EX1: Sequence to Collaboration Diagram Ramakant Soni @ BKBIET Pilani 13 Collaboration diagram for : Make a phone call
  • 14. EX2: Sequence to Collaboration Diagram Ramakant Soni @ BKBIET Pilani 14 Sequence diagram for : change Airline itineraries
  • 15. EX2: Sequence to Collaboration Diagram Ramakant Soni @ BKBIET Pilani 15 Collaboration diagram for : change Airline itineraries
  • 16. EX3: Sequence to Collaboration Diagram Ramakant Soni @ BKBIET Pilani 16 Sequence diagram for : hotel reservation
  • 17. EX3: Sequence to Collaboration Diagram Ramakant Soni @ BKBIET Pilani 17 Collaboration diagram for : hotel reservation
  • 18. References: [1] http://www.uml-diagrams.org/ [2] http://en.wikipedia.org/wiki/Collaboration_diagram [3] http://www.uml-diagrams.org/Collaboration-diagrams-examples.html Ramakant Soni @ BKBIET Pilani 18 ThanksThanks 18