SlideShare a Scribd company logo
2
Most read
4
Most read
6
Most read
CS8592 OOAD
Dynamic Diagrams
Dr.P.Mayil Vel Kumar
HOD/CSE
Karpagam Institute of Technology
UML interaction diagrams
Interaction diagrams is to visualize the
interactive behavior of the system.
It consist two types :
i. Sequence Diagram
ii. Collaboration Diagram
Sequence Diagram
The sequence diagram represents the flow
of messages in the system and is also termed
as an event diagram. It helps in envisioning
several dynamic scenarios.
Notations of a Sequence Diagram
Lifeline
An individual participant in the sequence
diagram is represented by a lifeline. It is
positioned at the top of the diagram.
Messages
The messages depict the interaction between
the objects and are represented by arrows.
They are in the sequential order on the
lifeline. The core of the sequence diagram is
formed by messages and lifelines.
Message
Coming up: Components
Sequence Diagram Example
Time
Increasing
-->
All lines should be horizontal to indicate instantaneous actions. Additionally if
ActivityA happens before ActivityB, ActivityA must be above activity A
Lower = Later!
Collaboration Diagram
The collaboration diagram is used to show the
relationship between the objects in a system.
Both the sequence and the collaboration
diagrams represent the same information but
differently. Instead of showing the flow of
messages, it depicts the architecture of the
object residing in the system as it is based on
object-oriented programming.
Collaboration Diagram
Notations of a Collaboration Diagram
Following are the components of a component
diagram that are enlisted below:
Objects: The representation of an object is done
by an object symbol with its name and class
underlined, separated by a colon.
Collaboration Diagram
Links: The link is an instance of association, which associates the
objects and actors. It portrays a relationship between the
objects through which the messages are sent. It is
represented by a solid line. The link helps an object to
connect with or navigate to another object, such that the
message flows are attached to links.
Messages: It is a communication between objects which carries
information and includes a sequence number, so that the
activity may take place. It is represented by a labeled arrow,
which is placed near a link. The messages are sent from the
sender to the receiver, and the direction must be navigable in
that particular direction. The receiver must understand the
message.
Collaboration Diagrams
Conditional Paths – mutually exclusive messages
:ClassA
:ClassB
:ClassC :ClassD
msg1( )
1a: [test] msg2( )
1b: [not test] msg4( )
1b.1: msg5( )
1a.1: msg3( )
guard – if true send msg
A state diagram is used to represent the condition of the
system or part of the system at finite instances of time. It’s
a behavioral diagram and it represents the behavior using
finite state transitions.
Cs8592 ooad unit 3
Cs8592 ooad unit 3
Cs8592 ooad unit 3

More Related Content

PDF
Object diagram
PDF
CS8592 Object Oriented Analysis & Design - UNIT III
PPTX
Object oriented modeling and design
PPTX
AEM Rich Text Editor (RTE) Deep Dive
PPT
Collaboration Diagram
PPT
Prototype pattern
PPT
Slide 4 Interaction Diagram
PPTX
Object diagram
Object diagram
CS8592 Object Oriented Analysis & Design - UNIT III
Object oriented modeling and design
AEM Rich Text Editor (RTE) Deep Dive
Collaboration Diagram
Prototype pattern
Slide 4 Interaction Diagram
Object diagram

What's hot (20)

PDF
AWS Data Engineer Associate (DEA-C01) Exam Dumps 2024.pdf
PPTX
Architectural Modeling
PPTX
PPL, OQL & oodbms
PPTX
deadlock handling
PDF
Lecture6 activity diagrams
PPT
UML Diagrams
PPTX
Java 8 streams
ODP
Prototype_pattern
PPTX
Object Modeling Techniques
PPTX
Variable scope in php
PPT
Proxy pattern
PPTX
Sequence diagram
PDF
Sequence Diagram
PDF
Android intents
PPTX
Package Diagram
PPTX
Interaction overview and Profile UML Diagrams
PPTX
Sequence diagram
PPTX
Ajax
PPT
Form validation client side
PPTX
05 intent
AWS Data Engineer Associate (DEA-C01) Exam Dumps 2024.pdf
Architectural Modeling
PPL, OQL & oodbms
deadlock handling
Lecture6 activity diagrams
UML Diagrams
Java 8 streams
Prototype_pattern
Object Modeling Techniques
Variable scope in php
Proxy pattern
Sequence diagram
Sequence Diagram
Android intents
Package Diagram
Interaction overview and Profile UML Diagrams
Sequence diagram
Ajax
Form validation client side
05 intent
Ad

Similar to Cs8592 ooad unit 3 (20)

PPT
OOAD-Unit-3.ppt UML and ANALYSISI AND DESIGN
PPTX
The Unified Language Modeling from APSI Course
PPT
07 interaction diagrams
PDF
Sequence diagrams
PDF
OOAD - UML - Sequence and Communication Diagrams - Lab
PPTX
presentation on sequence and state flow diagram
PPTX
Lecture 17 -18 - Sequence Diagram - Class Diagram.pptx
PPTX
08.Sequence Diagrams.pptx in cS to describe
PPTX
Sequence Diagram
PPT
Ooad sequence diagram_collaboration diagram
PPTX
SAD11 - Sequence Diagrams
DOCX
Case tool lab-Reg2013 by Karthick Raja
PPTX
Sequence diagrame
PDF
UML-Advanced Software Engineering
PPTX
The Ultimate Sequence Diagram Tutorial
PPT
Software Engineering Lec 7-uml-
PPT
Uml diagrams
PPTX
Dfd and seq
ODP
Uml
OOAD-Unit-3.ppt UML and ANALYSISI AND DESIGN
The Unified Language Modeling from APSI Course
07 interaction diagrams
Sequence diagrams
OOAD - UML - Sequence and Communication Diagrams - Lab
presentation on sequence and state flow diagram
Lecture 17 -18 - Sequence Diagram - Class Diagram.pptx
08.Sequence Diagrams.pptx in cS to describe
Sequence Diagram
Ooad sequence diagram_collaboration diagram
SAD11 - Sequence Diagrams
Case tool lab-Reg2013 by Karthick Raja
Sequence diagrame
UML-Advanced Software Engineering
The Ultimate Sequence Diagram Tutorial
Software Engineering Lec 7-uml-
Uml diagrams
Dfd and seq
Uml
Ad

Recently uploaded (20)

PPTX
GDM (1) (1).pptx small presentation for students
PPTX
Lesson notes of climatology university.
PDF
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
PDF
FourierSeries-QuestionsWithAnswers(Part-A).pdf
PDF
STATICS OF THE RIGID BODIES Hibbelers.pdf
PPTX
PPH.pptx obstetrics and gynecology in nursing
PPTX
Pharmacology of Heart Failure /Pharmacotherapy of CHF
PDF
VCE English Exam - Section C Student Revision Booklet
PPTX
Microbial diseases, their pathogenesis and prophylaxis
PDF
RMMM.pdf make it easy to upload and study
PPTX
Pharma ospi slides which help in ospi learning
PDF
Basic Mud Logging Guide for educational purpose
PPTX
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
PPTX
human mycosis Human fungal infections are called human mycosis..pptx
PDF
Abdominal Access Techniques with Prof. Dr. R K Mishra
PDF
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...
PDF
Complications of Minimal Access Surgery at WLH
PPTX
Renaissance Architecture: A Journey from Faith to Humanism
PDF
01-Introduction-to-Information-Management.pdf
PDF
Supply Chain Operations Speaking Notes -ICLT Program
GDM (1) (1).pptx small presentation for students
Lesson notes of climatology university.
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
FourierSeries-QuestionsWithAnswers(Part-A).pdf
STATICS OF THE RIGID BODIES Hibbelers.pdf
PPH.pptx obstetrics and gynecology in nursing
Pharmacology of Heart Failure /Pharmacotherapy of CHF
VCE English Exam - Section C Student Revision Booklet
Microbial diseases, their pathogenesis and prophylaxis
RMMM.pdf make it easy to upload and study
Pharma ospi slides which help in ospi learning
Basic Mud Logging Guide for educational purpose
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
human mycosis Human fungal infections are called human mycosis..pptx
Abdominal Access Techniques with Prof. Dr. R K Mishra
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...
Complications of Minimal Access Surgery at WLH
Renaissance Architecture: A Journey from Faith to Humanism
01-Introduction-to-Information-Management.pdf
Supply Chain Operations Speaking Notes -ICLT Program

Cs8592 ooad unit 3

  • 1. CS8592 OOAD Dynamic Diagrams Dr.P.Mayil Vel Kumar HOD/CSE Karpagam Institute of Technology
  • 2. UML interaction diagrams Interaction diagrams is to visualize the interactive behavior of the system. It consist two types : i. Sequence Diagram ii. Collaboration Diagram
  • 3. Sequence Diagram The sequence diagram represents the flow of messages in the system and is also termed as an event diagram. It helps in envisioning several dynamic scenarios.
  • 4. Notations of a Sequence Diagram Lifeline An individual participant in the sequence diagram is represented by a lifeline. It is positioned at the top of the diagram.
  • 5. Messages The messages depict the interaction between the objects and are represented by arrows. They are in the sequential order on the lifeline. The core of the sequence diagram is formed by messages and lifelines. Message
  • 6. Coming up: Components Sequence Diagram Example Time Increasing --> All lines should be horizontal to indicate instantaneous actions. Additionally if ActivityA happens before ActivityB, ActivityA must be above activity A Lower = Later!
  • 7. Collaboration Diagram The collaboration diagram is used to show the relationship between the objects in a system. Both the sequence and the collaboration diagrams represent the same information but differently. Instead of showing the flow of messages, it depicts the architecture of the object residing in the system as it is based on object-oriented programming.
  • 8. Collaboration Diagram Notations of a Collaboration Diagram Following are the components of a component diagram that are enlisted below: Objects: The representation of an object is done by an object symbol with its name and class underlined, separated by a colon.
  • 9. Collaboration Diagram Links: The link is an instance of association, which associates the objects and actors. It portrays a relationship between the objects through which the messages are sent. It is represented by a solid line. The link helps an object to connect with or navigate to another object, such that the message flows are attached to links. Messages: It is a communication between objects which carries information and includes a sequence number, so that the activity may take place. It is represented by a labeled arrow, which is placed near a link. The messages are sent from the sender to the receiver, and the direction must be navigable in that particular direction. The receiver must understand the message.
  • 10. Collaboration Diagrams Conditional Paths – mutually exclusive messages :ClassA :ClassB :ClassC :ClassD msg1( ) 1a: [test] msg2( ) 1b: [not test] msg4( ) 1b.1: msg5( ) 1a.1: msg3( ) guard – if true send msg
  • 11. A state diagram is used to represent the condition of the system or part of the system at finite instances of time. It’s a behavioral diagram and it represents the behavior using finite state transitions.