SlideShare a Scribd company logo
1 of 25
Interaction Modeling
 Interaction modeling describes how the different elements in an
object model interact with each other. The term interacted is a set of
exchanged messages between the objects.
 The interaction model uses :-
Use case diagram
Sequence diagram
Activity diagram
Collaboration diagram
Use Case diagram
 A UML diagram that represents the relationship between actors and
use cases, and among the use cases.
 Represents an “architectural” view of the requirements.
 Actors :-
 External entities (e.g., user role, another system)
 Relationship between actors and use cases :-
 Initiation
 Communication
 Relationship among different use cases :-
 Enables the decomposition of complex use cases into smaller ones
Example of E-homework Use Case diagram
E-homework
distributionTeacher Students
E-homework
submission
E-homework
grading
Relationships in Use Case Model
 In UML, there are three kinds of relationships between
use cases :
Include Relationship
Extend Relationship
Generalization Relationship
Include Relationship
 Use case A includes use case B if the flow of events for A contains the flow of
events for B
 A whole-part relationship
 Allow use case A to access another common use case B
 In use case description
 At a particular point during the flow of events
Mention the inclusion at that point
 At any point in the flow of events
Mention the inclusion in the quality requirement
 In the use case diagram <<include>>
Example of Include Relationship
<<include>>
withdraw
Input
amount
Cancel
transaction
<<include>>
customer
Extend Relationship
 A use case A extends a use case B if the flow of events in A can occur amid
the flow of events in B when certain condition is true
 It is like an “interrupt”
 It is used to separate the exceptional behavior from the normal behavior
 Use case description
 Mentioned extension in the entry condition in the extending use case
 Specifying the condition that would trigger the extending use case
 Use case diagram
<<extend>>
Example of Extend Relationship
Connection
down
Deposit
withdraw
<<extend>>
<<extend>>
Name: connection down
…
Entry condition: This use case extends the Deposit and withdraw
use case. It is initialized by the system whenever the connection
between the customer and the central sever is lost.
Generalization Relationship
 It is a parent-child relationship between two or more use cause.
 It is a kind of relationship in which the properties of the parent use
case are inherited by the child use case.
 It can be represented as a directed arrow with a triangle as an arrow
head, as shown below :-
Example of Generalization Relationship
Account
Current
Account
Savings
Account
customer
Example of Use Case Diagram
Sequence Model
 Sequence Model represents the flow of system events,
actions, and messages between the objects over a time
period.
 A sequence model is of two types :
Scenario
Sequence diagram
Scenario
 A scenario is an instance of a use case showing a typical example of its
execution.
 Scenarios can be presented in UML using either sequence diagrams or
collaboration diagrams.
 Note that a scenario only describes an example of a use case, so
conditionality cannot be expressed!
Sequence Diagram
 A sequence diagram
depicts a scenario by
showing the
interactions among a
set of objects in
temporal order.
 Objects (not classes!)
are shown as vertical
bars. Events or
message dispatches are
shown as horizontal (or
slanted) arrows from
the sender to the
receiver.
Example of Sequence Diagram
Activity Diagram
 Describes how activities are coordinated.
 Is particularly useful when you know that an operation has to achieve a
number of different things, and you want to model what the essential
dependencies between them are, before you decide in what order to
do them.
 Records the dependencies between activities, such as which things can
happen in parallel and what must be finished before something else can
start.
 Represents the workflow of the process.
Activity Diagram Notation
Activity1() Activity2()
1. Activities
2. Transition
Activity Diagram Notation
Activity1()
[x>0]
[x=0]
[x<0]
[x>0]
[x=0]
[x<0]
3. Decision Diamond
Activity Diagram Notation
4. Join Bar 5. Fork Bar
6. Start Marker 7. Stop Marker
Activity Diagram Notation
Developers Testers Markers
Swimlane SwimlaneSwimlane
8. Swimlane
Activity Diagram of Library
Member Librarian
[borrower]
[returner]
Find book on shelf
Wait in queue
Prepare for next
member
Record borrowing
Record return
Put book back
on shelf
[returning]
[borrowing]
Collaboration Diagram
 Collaboration diagrams (called Communication diagrams) depict
scenarios as flows of messages between objects:
Example of Collaboration Diagram
 Collaboration Diagram of Library Management.
Interaction Modeling

More Related Content

What's hot

Slide 4 Interaction Diagram
Slide 4 Interaction DiagramSlide 4 Interaction Diagram
Slide 4 Interaction DiagramNiloy Rocker
 
UML Diagram @ Software engineering discussion
UML Diagram @ Software engineering discussionUML Diagram @ Software engineering discussion
UML Diagram @ Software engineering discussionCherryBerry2
 
Overview of UML Diagrams
Overview of UML DiagramsOverview of UML Diagrams
Overview of UML DiagramsManish Kumar
 
Use Case Diagram
Use Case DiagramUse Case Diagram
Use Case DiagramKumar
 
Uml Presentation
Uml PresentationUml Presentation
Uml Presentationmewaseem
 
Unit three Advanced State Modelling
Unit three Advanced State ModellingUnit three Advanced State Modelling
Unit three Advanced State ModellingDr Chetan Shelke
 
Architectural Design in Software Engineering SE10
Architectural Design in Software Engineering SE10Architectural Design in Software Engineering SE10
Architectural Design in Software Engineering SE10koolkampus
 
Unified process model
Unified process modelUnified process model
Unified process modelRyndaMaala
 
Use case Diagram and Sequence Diagram
Use case Diagram and Sequence DiagramUse case Diagram and Sequence Diagram
Use case Diagram and Sequence DiagramNikhil Pandit
 
System Models in Software Engineering SE7
System Models in Software Engineering SE7System Models in Software Engineering SE7
System Models in Software Engineering SE7koolkampus
 
Activity diagram model
Activity diagram modelActivity diagram model
Activity diagram modelahmed zewita
 

What's hot (20)

Oomd unit1
Oomd unit1Oomd unit1
Oomd unit1
 
Slide 4 Interaction Diagram
Slide 4 Interaction DiagramSlide 4 Interaction Diagram
Slide 4 Interaction Diagram
 
Behavioural modelling
Behavioural modellingBehavioural modelling
Behavioural modelling
 
Use case Diagram
Use case DiagramUse case Diagram
Use case Diagram
 
UML Diagram @ Software engineering discussion
UML Diagram @ Software engineering discussionUML Diagram @ Software engineering discussion
UML Diagram @ Software engineering discussion
 
Overview of UML Diagrams
Overview of UML DiagramsOverview of UML Diagrams
Overview of UML Diagrams
 
Introduction to UML
Introduction to UMLIntroduction to UML
Introduction to UML
 
Diagrams
DiagramsDiagrams
Diagrams
 
Use Case Diagram
Use Case DiagramUse Case Diagram
Use Case Diagram
 
Uml Presentation
Uml PresentationUml Presentation
Uml Presentation
 
Unit three Advanced State Modelling
Unit three Advanced State ModellingUnit three Advanced State Modelling
Unit three Advanced State Modelling
 
Architectural Design in Software Engineering SE10
Architectural Design in Software Engineering SE10Architectural Design in Software Engineering SE10
Architectural Design in Software Engineering SE10
 
Domain Modeling
Domain ModelingDomain Modeling
Domain Modeling
 
Object Oriented Design
Object Oriented DesignObject Oriented Design
Object Oriented Design
 
Unified process model
Unified process modelUnified process model
Unified process model
 
Use case Diagram and Sequence Diagram
Use case Diagram and Sequence DiagramUse case Diagram and Sequence Diagram
Use case Diagram and Sequence Diagram
 
System Models in Software Engineering SE7
System Models in Software Engineering SE7System Models in Software Engineering SE7
System Models in Software Engineering SE7
 
Activity diagram model
Activity diagram modelActivity diagram model
Activity diagram model
 
Uml Common Mechanism
Uml Common MechanismUml Common Mechanism
Uml Common Mechanism
 
Activity diagram
Activity diagramActivity diagram
Activity diagram
 

Viewers also liked

Business Process Modeling
Business Process ModelingBusiness Process Modeling
Business Process ModelingCarlos J. Costa
 
Strengths Based Approaches
Strengths Based ApproachesStrengths Based Approaches
Strengths Based ApproachesJon Ford
 
Open Context Model of Learning & Craft of Teaching
Open Context Model of Learning & Craft of TeachingOpen Context Model of Learning & Craft of Teaching
Open Context Model of Learning & Craft of TeachingLondon Knowledge Lab
 
Software Engineering - Ch8
Software Engineering - Ch8Software Engineering - Ch8
Software Engineering - Ch8Siddharth Ayer
 
Business Process Modeling
Business Process ModelingBusiness Process Modeling
Business Process ModelingSandy Kemsley
 
Getting Started With Business Process Modeling
Getting Started With Business Process ModelingGetting Started With Business Process Modeling
Getting Started With Business Process ModelingMichael zur Muehlen
 
Business Process Modeling with BPMN 2.0 - Second edition
Business Process Modeling with BPMN 2.0 - Second editionBusiness Process Modeling with BPMN 2.0 - Second edition
Business Process Modeling with BPMN 2.0 - Second editionGregor Polančič
 
Social interaction and social... process
Social interaction and social... processSocial interaction and social... process
Social interaction and social... processkakafarooq
 
Business Process Model and Notation (BPMN)
Business Process Model and Notation (BPMN)Business Process Model and Notation (BPMN)
Business Process Model and Notation (BPMN)Peter R. Egli
 
ppt on empowerment
ppt on empowermentppt on empowerment
ppt on empowermentraj91221
 
Business Process Design
Business Process DesignBusiness Process Design
Business Process DesignSandy Kemsley
 

Viewers also liked (15)

Social interaction model
Social interaction modelSocial interaction model
Social interaction model
 
Business Process Modeling
Business Process ModelingBusiness Process Modeling
Business Process Modeling
 
Strengths Based Approaches
Strengths Based ApproachesStrengths Based Approaches
Strengths Based Approaches
 
Object modeling
Object modelingObject modeling
Object modeling
 
Social interaction models
Social interaction modelsSocial interaction models
Social interaction models
 
Open Context Model of Learning & Craft of Teaching
Open Context Model of Learning & Craft of TeachingOpen Context Model of Learning & Craft of Teaching
Open Context Model of Learning & Craft of Teaching
 
Software Engineering - Ch8
Software Engineering - Ch8Software Engineering - Ch8
Software Engineering - Ch8
 
Business Process Modeling
Business Process ModelingBusiness Process Modeling
Business Process Modeling
 
Getting Started With Business Process Modeling
Getting Started With Business Process ModelingGetting Started With Business Process Modeling
Getting Started With Business Process Modeling
 
Business Process Modeling with BPMN 2.0 - Second edition
Business Process Modeling with BPMN 2.0 - Second editionBusiness Process Modeling with BPMN 2.0 - Second edition
Business Process Modeling with BPMN 2.0 - Second edition
 
Social interaction and social... process
Social interaction and social... processSocial interaction and social... process
Social interaction and social... process
 
Business Process Model and Notation (BPMN)
Business Process Model and Notation (BPMN)Business Process Model and Notation (BPMN)
Business Process Model and Notation (BPMN)
 
ppt on empowerment
ppt on empowermentppt on empowerment
ppt on empowerment
 
Business Process Design
Business Process DesignBusiness Process Design
Business Process Design
 
Business Process
Business ProcessBusiness Process
Business Process
 

Similar to Interaction Modeling

CASE Tools lab.ppt
CASE Tools lab.pptCASE Tools lab.ppt
CASE Tools lab.pptRAJESH S
 
UML- Unified Modeling Language
UML- Unified Modeling LanguageUML- Unified Modeling Language
UML- Unified Modeling LanguageShahzad
 
Fundamentals of Software Engineering
Fundamentals of Software Engineering Fundamentals of Software Engineering
Fundamentals of Software Engineering Madhar Khan Pathan
 
OOAD-Unit-3.ppt UML and ANALYSISI AND DESIGN
OOAD-Unit-3.ppt UML and ANALYSISI AND DESIGNOOAD-Unit-3.ppt UML and ANALYSISI AND DESIGN
OOAD-Unit-3.ppt UML and ANALYSISI AND DESIGNKalyaniLokhande5
 
Use Case Model
Use Case ModelUse Case Model
Use Case ModelAli Nguyen
 
ASP.NET System design 2
ASP.NET System design 2ASP.NET System design 2
ASP.NET System design 2Sisir Ghosh
 
UML_Lecture.pptxnd bfdjjrnekdddkeeeenekejneje
UML_Lecture.pptxnd bfdjjrnekdddkeeeenekejnejeUML_Lecture.pptxnd bfdjjrnekdddkeeeenekejneje
UML_Lecture.pptxnd bfdjjrnekdddkeeeenekejnejessusera6a60c1
 
Intro to UML 2
Intro to UML 2Intro to UML 2
Intro to UML 2rchakra
 
UML, ER and Dimensional Modelling
UML, ER and Dimensional ModellingUML, ER and Dimensional Modelling
UML, ER and Dimensional ModellingStefano Dalla Palma
 
Uml Omg Fundamental Certification 5
Uml Omg Fundamental Certification 5Uml Omg Fundamental Certification 5
Uml Omg Fundamental Certification 5Ricardo Quintero
 
Interaction overview and Profile UML Diagrams
Interaction overview and Profile UML DiagramsInteraction overview and Profile UML Diagrams
Interaction overview and Profile UML DiagramsHusnain Safdar
 
Basic Behavioral Modeling
Basic Behavioral ModelingBasic Behavioral Modeling
Basic Behavioral ModelingAMITJain879
 
Unified Modelling Language
Unified Modelling LanguageUnified Modelling Language
Unified Modelling LanguageJismy .K.Jose
 

Similar to Interaction Modeling (20)

CASE Tools lab.ppt
CASE Tools lab.pptCASE Tools lab.ppt
CASE Tools lab.ppt
 
Types of UML diagrams
Types of UML diagramsTypes of UML diagrams
Types of UML diagrams
 
Uml report
Uml reportUml report
Uml report
 
UML Diagrams
UML DiagramsUML Diagrams
UML Diagrams
 
UML- Unified Modeling Language
UML- Unified Modeling LanguageUML- Unified Modeling Language
UML- Unified Modeling Language
 
Fundamentals of Software Engineering
Fundamentals of Software Engineering Fundamentals of Software Engineering
Fundamentals of Software Engineering
 
OOAD-Unit-3.ppt UML and ANALYSISI AND DESIGN
OOAD-Unit-3.ppt UML and ANALYSISI AND DESIGNOOAD-Unit-3.ppt UML and ANALYSISI AND DESIGN
OOAD-Unit-3.ppt UML and ANALYSISI AND DESIGN
 
Use Case Model
Use Case ModelUse Case Model
Use Case Model
 
ASP.NET System design 2
ASP.NET System design 2ASP.NET System design 2
ASP.NET System design 2
 
UML_Lecture.pptxnd bfdjjrnekdddkeeeenekejneje
UML_Lecture.pptxnd bfdjjrnekdddkeeeenekejnejeUML_Lecture.pptxnd bfdjjrnekdddkeeeenekejneje
UML_Lecture.pptxnd bfdjjrnekdddkeeeenekejneje
 
Ood Post1
Ood Post1Ood Post1
Ood Post1
 
Intro to UML 2
Intro to UML 2Intro to UML 2
Intro to UML 2
 
UML, ER and Dimensional Modelling
UML, ER and Dimensional ModellingUML, ER and Dimensional Modelling
UML, ER and Dimensional Modelling
 
Uml Omg Fundamental Certification 5
Uml Omg Fundamental Certification 5Uml Omg Fundamental Certification 5
Uml Omg Fundamental Certification 5
 
Interaction overview and Profile UML Diagrams
Interaction overview and Profile UML DiagramsInteraction overview and Profile UML Diagrams
Interaction overview and Profile UML Diagrams
 
Archimate Viewpoints
Archimate ViewpointsArchimate Viewpoints
Archimate Viewpoints
 
Basic Behavioral Modeling
Basic Behavioral ModelingBasic Behavioral Modeling
Basic Behavioral Modeling
 
Umldiagram
UmldiagramUmldiagram
Umldiagram
 
UML
UMLUML
UML
 
Unified Modelling Language
Unified Modelling LanguageUnified Modelling Language
Unified Modelling Language
 

More from Hemant Sharma

Types of Drivers in JDBC
Types of Drivers in JDBCTypes of Drivers in JDBC
Types of Drivers in JDBCHemant Sharma
 
Church Turing Thesis
Church Turing ThesisChurch Turing Thesis
Church Turing ThesisHemant Sharma
 
Web Mining & Text Mining
Web Mining & Text MiningWeb Mining & Text Mining
Web Mining & Text MiningHemant Sharma
 
Double DES & Triple DES
Double DES & Triple DESDouble DES & Triple DES
Double DES & Triple DESHemant Sharma
 
Fundamentals of Language Processing
Fundamentals of Language ProcessingFundamentals of Language Processing
Fundamentals of Language ProcessingHemant Sharma
 
Fundamentals of Language Processing
Fundamentals of Language ProcessingFundamentals of Language Processing
Fundamentals of Language ProcessingHemant Sharma
 

More from Hemant Sharma (6)

Types of Drivers in JDBC
Types of Drivers in JDBCTypes of Drivers in JDBC
Types of Drivers in JDBC
 
Church Turing Thesis
Church Turing ThesisChurch Turing Thesis
Church Turing Thesis
 
Web Mining & Text Mining
Web Mining & Text MiningWeb Mining & Text Mining
Web Mining & Text Mining
 
Double DES & Triple DES
Double DES & Triple DESDouble DES & Triple DES
Double DES & Triple DES
 
Fundamentals of Language Processing
Fundamentals of Language ProcessingFundamentals of Language Processing
Fundamentals of Language Processing
 
Fundamentals of Language Processing
Fundamentals of Language ProcessingFundamentals of Language Processing
Fundamentals of Language Processing
 

Recently uploaded

Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfPoh-Sun Goh
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Jisc
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfAdmir Softic
 
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...Nguyen Thanh Tu Collection
 
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptxCOMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptxannathomasp01
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...Poonam Aher Patil
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsMebane Rash
 
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Pooja Bhuva
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxAreebaZafar22
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxDenish Jangid
 
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptxExploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptxPooja Bhuva
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxDr. Sarita Anand
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfNirmal Dwivedi
 
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...Amil baba
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxRamakrishna Reddy Bijjam
 
Plant propagation: Sexual and Asexual propapagation.pptx
Plant propagation: Sexual and Asexual propapagation.pptxPlant propagation: Sexual and Asexual propapagation.pptx
Plant propagation: Sexual and Asexual propapagation.pptxUmeshTimilsina1
 
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptxOn_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptxPooja Bhuva
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsKarakKing
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.christianmathematics
 
REMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxREMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxDr. Ravikiran H M Gowda
 

Recently uploaded (20)

Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
 
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptxCOMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptxExploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptx
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
 
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
Plant propagation: Sexual and Asexual propapagation.pptx
Plant propagation: Sexual and Asexual propapagation.pptxPlant propagation: Sexual and Asexual propapagation.pptx
Plant propagation: Sexual and Asexual propapagation.pptx
 
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptxOn_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
REMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxREMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptx
 

Interaction Modeling

  • 1.
  • 2. Interaction Modeling  Interaction modeling describes how the different elements in an object model interact with each other. The term interacted is a set of exchanged messages between the objects.  The interaction model uses :- Use case diagram Sequence diagram Activity diagram Collaboration diagram
  • 3. Use Case diagram  A UML diagram that represents the relationship between actors and use cases, and among the use cases.  Represents an “architectural” view of the requirements.  Actors :-  External entities (e.g., user role, another system)  Relationship between actors and use cases :-  Initiation  Communication  Relationship among different use cases :-  Enables the decomposition of complex use cases into smaller ones
  • 4. Example of E-homework Use Case diagram E-homework distributionTeacher Students E-homework submission E-homework grading
  • 5. Relationships in Use Case Model  In UML, there are three kinds of relationships between use cases : Include Relationship Extend Relationship Generalization Relationship
  • 6. Include Relationship  Use case A includes use case B if the flow of events for A contains the flow of events for B  A whole-part relationship  Allow use case A to access another common use case B  In use case description  At a particular point during the flow of events Mention the inclusion at that point  At any point in the flow of events Mention the inclusion in the quality requirement  In the use case diagram <<include>>
  • 7. Example of Include Relationship <<include>> withdraw Input amount Cancel transaction <<include>> customer
  • 8. Extend Relationship  A use case A extends a use case B if the flow of events in A can occur amid the flow of events in B when certain condition is true  It is like an “interrupt”  It is used to separate the exceptional behavior from the normal behavior  Use case description  Mentioned extension in the entry condition in the extending use case  Specifying the condition that would trigger the extending use case  Use case diagram <<extend>>
  • 9. Example of Extend Relationship Connection down Deposit withdraw <<extend>> <<extend>> Name: connection down … Entry condition: This use case extends the Deposit and withdraw use case. It is initialized by the system whenever the connection between the customer and the central sever is lost.
  • 10. Generalization Relationship  It is a parent-child relationship between two or more use cause.  It is a kind of relationship in which the properties of the parent use case are inherited by the child use case.  It can be represented as a directed arrow with a triangle as an arrow head, as shown below :-
  • 11. Example of Generalization Relationship Account Current Account Savings Account customer
  • 12. Example of Use Case Diagram
  • 13. Sequence Model  Sequence Model represents the flow of system events, actions, and messages between the objects over a time period.  A sequence model is of two types : Scenario Sequence diagram
  • 14. Scenario  A scenario is an instance of a use case showing a typical example of its execution.  Scenarios can be presented in UML using either sequence diagrams or collaboration diagrams.  Note that a scenario only describes an example of a use case, so conditionality cannot be expressed!
  • 15. Sequence Diagram  A sequence diagram depicts a scenario by showing the interactions among a set of objects in temporal order.  Objects (not classes!) are shown as vertical bars. Events or message dispatches are shown as horizontal (or slanted) arrows from the sender to the receiver.
  • 17. Activity Diagram  Describes how activities are coordinated.  Is particularly useful when you know that an operation has to achieve a number of different things, and you want to model what the essential dependencies between them are, before you decide in what order to do them.  Records the dependencies between activities, such as which things can happen in parallel and what must be finished before something else can start.  Represents the workflow of the process.
  • 18. Activity Diagram Notation Activity1() Activity2() 1. Activities 2. Transition
  • 20. Activity Diagram Notation 4. Join Bar 5. Fork Bar 6. Start Marker 7. Stop Marker
  • 21. Activity Diagram Notation Developers Testers Markers Swimlane SwimlaneSwimlane 8. Swimlane
  • 22. Activity Diagram of Library Member Librarian [borrower] [returner] Find book on shelf Wait in queue Prepare for next member Record borrowing Record return Put book back on shelf [returning] [borrowing]
  • 23. Collaboration Diagram  Collaboration diagrams (called Communication diagrams) depict scenarios as flows of messages between objects:
  • 24. Example of Collaboration Diagram  Collaboration Diagram of Library Management.