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

Use Case Diagram
Use Case DiagramUse Case Diagram
Use Case DiagramAshesh R
 
Object Modeling Techniques
Object Modeling TechniquesObject Modeling Techniques
Object Modeling TechniquesShilpa Wadhwani
 
Unit 4- Software Engineering System Model Notes
Unit 4- Software Engineering System Model Notes Unit 4- Software Engineering System Model Notes
Unit 4- Software Engineering System Model Notes arvind pandey
 
Sequence diagram- UML diagram
Sequence diagram- UML diagramSequence diagram- UML diagram
Sequence diagram- UML diagramRamakant Soni
 
Sequence diagram
Sequence diagramSequence diagram
Sequence diagramRahul Pola
 
Object Oriented Analysis and Design
Object Oriented Analysis and DesignObject Oriented Analysis and Design
Object Oriented Analysis and DesignHaitham El-Ghareeb
 
Software architecture design ppt
Software architecture design pptSoftware architecture design ppt
Software architecture design pptfarazimlak
 
SE_Lec 05_System Modelling and Context Model
SE_Lec 05_System Modelling and Context ModelSE_Lec 05_System Modelling and Context Model
SE_Lec 05_System Modelling and Context ModelAmr E. Mohamed
 
Slide 4 Interaction Diagram
Slide 4 Interaction DiagramSlide 4 Interaction Diagram
Slide 4 Interaction DiagramNiloy Rocker
 
Object Oriented Design in Software Engineering SE12
Object Oriented Design in Software Engineering SE12Object Oriented Design in Software Engineering SE12
Object Oriented Design in Software Engineering SE12koolkampus
 
Agile development, software engineering
Agile development, software engineeringAgile development, software engineering
Agile development, software engineeringRupesh Vaishnav
 

What's hot (20)

Use Case Diagram
Use Case DiagramUse Case Diagram
Use Case Diagram
 
Object Modeling Techniques
Object Modeling TechniquesObject Modeling Techniques
Object Modeling Techniques
 
Uml class-diagram
Uml class-diagramUml class-diagram
Uml class-diagram
 
Domain Modeling
Domain ModelingDomain Modeling
Domain Modeling
 
Unit 4- Software Engineering System Model Notes
Unit 4- Software Engineering System Model Notes Unit 4- Software Engineering System Model Notes
Unit 4- Software Engineering System Model Notes
 
Use case diagram
Use case diagramUse case diagram
Use case diagram
 
Sequence diagram- UML diagram
Sequence diagram- UML diagramSequence diagram- UML diagram
Sequence diagram- UML diagram
 
Sequence diagram
Sequence diagramSequence diagram
Sequence diagram
 
Software design
Software designSoftware design
Software design
 
Object Oriented Analysis and Design
Object Oriented Analysis and DesignObject Oriented Analysis and Design
Object Oriented Analysis and Design
 
UML
UMLUML
UML
 
Software architecture design ppt
Software architecture design pptSoftware architecture design ppt
Software architecture design ppt
 
System Modelling
System ModellingSystem Modelling
System Modelling
 
SE_Lec 05_System Modelling and Context Model
SE_Lec 05_System Modelling and Context ModelSE_Lec 05_System Modelling and Context Model
SE_Lec 05_System Modelling and Context Model
 
Slide 4 Interaction Diagram
Slide 4 Interaction DiagramSlide 4 Interaction Diagram
Slide 4 Interaction Diagram
 
Object Oriented Design in Software Engineering SE12
Object Oriented Design in Software Engineering SE12Object Oriented Design in Software Engineering SE12
Object Oriented Design in Software Engineering SE12
 
Software process
Software processSoftware process
Software process
 
Types of UML diagrams
Types of UML diagramsTypes of UML diagrams
Types of UML diagrams
 
Object Oriented Design
Object Oriented DesignObject Oriented Design
Object Oriented Design
 
Agile development, software engineering
Agile development, software engineeringAgile development, software engineering
Agile development, software engineering
 

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
 
System Models in Software Engineering SE7
System Models in Software Engineering SE7System Models in Software Engineering SE7
System Models in Software Engineering SE7koolkampus
 
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 (16)

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
 
System Models in Software Engineering SE7
System Models in Software Engineering SE7System Models in Software Engineering SE7
System Models in Software Engineering SE7
 
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
 
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
 
Intoduction to uml
Intoduction to umlIntoduction to uml
Intoduction to uml
 

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

HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxHMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxmarlenawright1
 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfDr Vijay Vishwakarma
 
How to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxHow to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxCeline George
 
Spellings Wk 4 and Wk 5 for Grade 4 at CAPS
Spellings Wk 4 and Wk 5 for Grade 4 at CAPSSpellings Wk 4 and Wk 5 for Grade 4 at CAPS
Spellings Wk 4 and Wk 5 for Grade 4 at CAPSAnaAcapella
 
AIM of Education-Teachers Training-2024.ppt
AIM of Education-Teachers Training-2024.pptAIM of Education-Teachers Training-2024.ppt
AIM of Education-Teachers Training-2024.pptNishitharanjan Rout
 
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
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17Celine George
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and ModificationsMJDuyan
 
OSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & SystemsOSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & SystemsSandeep D Chaudhary
 
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Pooja Bhuva
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024Elizabeth Walsh
 
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
 
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
 
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
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - Englishneillewis46
 
How to Add a Tool Tip to a Field in Odoo 17
How to Add a Tool Tip to a Field in Odoo 17How to Add a Tool Tip to a Field in Odoo 17
How to Add a Tool Tip to a Field in Odoo 17Celine George
 
Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jisc
 
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
 
Basic Intentional Injuries Health Education
Basic Intentional Injuries Health EducationBasic Intentional Injuries Health Education
Basic Intentional Injuries Health EducationNeilDeclaro1
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...Nguyen Thanh Tu Collection
 

Recently uploaded (20)

HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxHMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
 
How to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxHow to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptx
 
Spellings Wk 4 and Wk 5 for Grade 4 at CAPS
Spellings Wk 4 and Wk 5 for Grade 4 at CAPSSpellings Wk 4 and Wk 5 for Grade 4 at CAPS
Spellings Wk 4 and Wk 5 for Grade 4 at CAPS
 
AIM of Education-Teachers Training-2024.ppt
AIM of Education-Teachers Training-2024.pptAIM of Education-Teachers Training-2024.ppt
AIM of Education-Teachers Training-2024.ppt
 
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
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 
OSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & SystemsOSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & Systems
 
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024
 
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
 
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
 
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)
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - English
 
How to Add a Tool Tip to a Field in Odoo 17
How to Add a Tool Tip to a Field in Odoo 17How to Add a Tool Tip to a Field in Odoo 17
How to Add a Tool Tip to a Field in Odoo 17
 
Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)
 
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...
 
Basic Intentional Injuries Health Education
Basic Intentional Injuries Health EducationBasic Intentional Injuries Health Education
Basic Intentional Injuries Health Education
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 

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.