SlideShare a Scribd company logo
UML DIAGRAMS
Interaction Overview Diagram
&
Profile Diagram
By:
Husnain Safdar
BSSE-S15-08
UOS M.B.Din campus
Interaction Overview Diagram:
 The Interaction Overview Diagram focuses on the overview of
the flow of control of the interactions.
 The interaction overview diagram is similar to the activity
diagram, in that both visualize a sequence of activities.
 The difference is that, for an interaction overview, each
individual activity is pictured as a frame which can contain a
nested interaction diagram.
 This makes the interaction overview diagram useful to
"deconstruct a complex scenario that would otherwise require
multiple if-then-else paths to be illustrated as a single sequence
diagram"
Notations in Interaction Diagram:
Initial Node:
An initial node is a control node at which flow starts
when the activity is invoked. An activity may have more than one
initial node.
Activity Final Node:
An activity may have more than one activity final
node. The first one reached stops all flows in the activity.
Control Flow:
A control flow is an edge that starts an activity node
after the previous one is finished.
.
Constraint:
A condition or restriction expressed in natural
language text or in a machine readable language for the
purpose of declaring some of the semantics of an element.
The condition that must be true when evaluated in order for the
constraint to be satisfied.
Decision Node:
A decision node accepts tokens on an incoming
edge and presents them to multiple outgoing edges. Which of
the edges is actually traversed depends on the evaluation of
the guards on the outgoing edges.
Merge Node:
A merge node is a control node that brings together multiple
alternate flows. . A merge node has multiple incoming edges
and a single outgoing edge.
.
Fork Node:
A fork node is a control node that splits a flow into
multiple concurrent flows. A fork node has one incoming edge
and multiple outgoing edges.
Interaction:
An interaction is a unit of behavior that focuses on
the observable exchange of information between Connectable
Elements.
Interaction Use:
The InteractionUse is a shorthand for copying the
contents of the referred Interaction where the InteractionUse
is. It is common to want to share portions of an interaction
between several other interactions. An InteractionUse allows
multiple interactions to reference an interaction that represents
a common portion of their specification.
.
Profile diagram:
 Profile diagram is basically an extensibility mechanism that allows
you to extend and customize UML by adding new building blocks,
creating new properties and specifying new semantics in order to
make the language suitable to your specific problem domain.
 A profile is essentially a kind of package, and as you might expect it
uses the same notation as a package. The keyword «profile» is used,
either above or in front of the package name, to indicate that the
package is a profile.
 Profile diagram has three types of extensibility mechanisms:
 Stereotypes
 Tagged Values
 Constraints
Stereotypes:
 Stereotypes allow you to increase vocabulary of UML. You can
add, create new model elements, derived from existing ones but
that have specific properties that are suitable to your problem
domain.
 Stereotypes are used to introduce new building blocks that speak
the language of your domain and look primitive. It allows you to
introduce new graphical symbols.
 For example: When modeling a network you might need to have
symbols for <<router>>, <<switches>>, <<hub>> etc. A stereotype
allows you to make these things appear as primitive.
Tagged Values:
 used to extend the properties of UML so that you can add additional
information in the specification of a model element.
 It allows you to specify keyword value pairs of a model where
keywords are the attributes. Tagged values are graphically rendered
as string enclose in brackets.
 For Example: Consider a release team responsible for assembling,
testing and deployment of a system. In such case it is necessary to
keep a track on version and test results of the main subsystem.
Tagged values are used to add such info.
 Tagged Value can be useful for adding properties to the model for
some useful purposes:
 Code generation
 Version control
 Configuration management
 Authorship
Constraints:
 They are the properties for specifying semantics or conditions that
must be held true at all the time.
 It allows you to extend the semantics of UML building block by
adding new protocols. Graphically a constraint is rendered as
string enclose in brackets placed near associated element.
 For example: In development of a real time system it is necessary
to adorn the model with some necessary information such as
response time.
 Constraints can be on attributes, derived attributes and
associations. It can be attached to one or more model elements
shown as a note as well.
MetaClass:
 It is a profile class and a packageable element which may
be extended through one or more stereotypes.
 A metaclass may be shown with the optional stereotype
«Metaclass» shown above or before its name (all lower-case
«metaclass» was used in UML versions prior to 2.4).
 Metaclass Component
 Metaclass may be extended by one or more stereotypes using
special kind of association - extension.
.
 .
Thank
You

More Related Content

What's hot

Ch5 system modeling
Ch5 system modelingCh5 system modeling
Ch5 system modeling
software-engineering-book
 
Timing diagram
Timing diagramTiming diagram
Timing diagram
Khaled AMIRAT
 
Uml with detail
Uml with detailUml with detail
Uml with detail
Hamza Khan
 
Uml Presentation
Uml PresentationUml Presentation
Uml Presentation
mewaseem
 
Software Design and Modularity
Software Design and ModularitySoftware Design and Modularity
Software Design and Modularity
Danyal Ahmad
 
Sequence diagrams
Sequence diagramsSequence diagrams
Sequence diagrams
Preeti Mishra
 
Uml Presentation
Uml PresentationUml Presentation
Uml Presentation
anasz3z3
 
Overview of UML Diagrams
Overview of UML DiagramsOverview of UML Diagrams
Overview of UML Diagrams
Manish Kumar
 
Timing diagram
Timing diagramTiming diagram
Timing diagram
Kamel Eddine Heragmi
 
Activity Diagram
Activity DiagramActivity Diagram
Activity Diagram
Ashesh R
 
Activity diagram
Activity diagramActivity diagram
Activity diagram
LOKENDRA PRAJAPATI
 
Collaboration diagram- UML diagram
Collaboration diagram- UML diagram Collaboration diagram- UML diagram
Collaboration diagram- UML diagram
Ramakant Soni
 
Uml in software engineering
Uml in software engineeringUml in software engineering
Uml in software engineering
Mubashir Jutt
 
Uml
UmlUml
Uml deployment diagram
Uml deployment diagramUml deployment diagram
Uml deployment diagram
Asraa Batool
 
Sequence diagram
Sequence diagramSequence diagram
Sequence diagram
Kaushik Ghosh
 
11 deployment diagrams
11 deployment diagrams11 deployment diagrams
11 deployment diagrams
Baskarkncet
 
10 component diagram
10 component diagram10 component diagram
10 component diagram
Baskarkncet
 
Slide 4 Interaction Diagram
Slide 4 Interaction DiagramSlide 4 Interaction Diagram
Slide 4 Interaction Diagram
Niloy Rocker
 
Object Oriented Analysis Design using UML
Object Oriented Analysis Design using UMLObject Oriented Analysis Design using UML
Object Oriented Analysis Design using UML
Ajit Nayak
 

What's hot (20)

Ch5 system modeling
Ch5 system modelingCh5 system modeling
Ch5 system modeling
 
Timing diagram
Timing diagramTiming diagram
Timing diagram
 
Uml with detail
Uml with detailUml with detail
Uml with detail
 
Uml Presentation
Uml PresentationUml Presentation
Uml Presentation
 
Software Design and Modularity
Software Design and ModularitySoftware Design and Modularity
Software Design and Modularity
 
Sequence diagrams
Sequence diagramsSequence diagrams
Sequence diagrams
 
Uml Presentation
Uml PresentationUml Presentation
Uml Presentation
 
Overview of UML Diagrams
Overview of UML DiagramsOverview of UML Diagrams
Overview of UML Diagrams
 
Timing diagram
Timing diagramTiming diagram
Timing diagram
 
Activity Diagram
Activity DiagramActivity Diagram
Activity Diagram
 
Activity diagram
Activity diagramActivity diagram
Activity diagram
 
Collaboration diagram- UML diagram
Collaboration diagram- UML diagram Collaboration diagram- UML diagram
Collaboration diagram- UML diagram
 
Uml in software engineering
Uml in software engineeringUml in software engineering
Uml in software engineering
 
Uml
UmlUml
Uml
 
Uml deployment diagram
Uml deployment diagramUml deployment diagram
Uml deployment diagram
 
Sequence diagram
Sequence diagramSequence diagram
Sequence diagram
 
11 deployment diagrams
11 deployment diagrams11 deployment diagrams
11 deployment diagrams
 
10 component diagram
10 component diagram10 component diagram
10 component diagram
 
Slide 4 Interaction Diagram
Slide 4 Interaction DiagramSlide 4 Interaction Diagram
Slide 4 Interaction Diagram
 
Object Oriented Analysis Design using UML
Object Oriented Analysis Design using UMLObject Oriented Analysis Design using UML
Object Oriented Analysis Design using UML
 

Similar to Interaction overview and Profile UML Diagrams

Uml introduciton
Uml introducitonUml introduciton
Uml introduciton
Dr. C.V. Suresh Babu
 
ooAD
ooADooAD
Uml(unified modeling language) Homework Help
Uml(unified modeling language) Homework HelpUml(unified modeling language) Homework Help
Uml(unified modeling language) Homework Help
Steve Nash
 
UML and Software Modeling Tools.pptx
UML and Software Modeling Tools.pptxUML and Software Modeling Tools.pptx
UML and Software Modeling Tools.pptx
Nwabueze Obioma
 
ASP.NET System design 2
ASP.NET System design 2ASP.NET System design 2
ASP.NET System design 2
Sisir Ghosh
 
Architecture and design
Architecture and designArchitecture and design
Architecture and design
himanshu_airon
 
Design UML diagrams
Design UML diagramsDesign UML diagrams
Design UML diagrams
Neeraj Kaushik
 
Design UML diagrams
Design UML diagramsDesign UML diagrams
Design UML diagrams
Neeraj Kaushik
 
Component based models and technology
Component based models and technologyComponent based models and technology
Component based models and technology
Mayukh Maitra
 
Component based models and technology
Component based models and technologyComponent based models and technology
Component based models and technology
Saransh Garg
 
uml2-1214558329929112-8.ppt
uml2-1214558329929112-8.pptuml2-1214558329929112-8.ppt
uml2-1214558329929112-8.ppt
AleksandarUrdarevski
 
UML- Unified Modeling Language
UML- Unified Modeling LanguageUML- Unified Modeling Language
UML- Unified Modeling Language
Shahzad
 
Software Engineering Tools and Practices.pdf
Software Engineering Tools and Practices.pdfSoftware Engineering Tools and Practices.pdf
Software Engineering Tools and Practices.pdf
MeagGhn
 
Uml
UmlUml
Uml
parag
 
UML Trainings
UML TrainingsUML Trainings
Unified Modeling Language
Unified Modeling LanguageUnified Modeling Language
Unified Modeling Language
surana college
 
Object oriented analysis and design unit- iv
Object oriented analysis and design unit- ivObject oriented analysis and design unit- iv
Object oriented analysis and design unit- iv
Shri Shankaracharya College, Bhilai,Junwani
 
UML
UMLUML
Uml - An Overview
Uml - An OverviewUml - An Overview
Uml - An Overview
Raj Thilak S
 
Ood Post1
Ood Post1Ood Post1
Ood Post1
Rajesh Kumar
 

Similar to Interaction overview and Profile UML Diagrams (20)

Uml introduciton
Uml introducitonUml introduciton
Uml introduciton
 
ooAD
ooADooAD
ooAD
 
Uml(unified modeling language) Homework Help
Uml(unified modeling language) Homework HelpUml(unified modeling language) Homework Help
Uml(unified modeling language) Homework Help
 
UML and Software Modeling Tools.pptx
UML and Software Modeling Tools.pptxUML and Software Modeling Tools.pptx
UML and Software Modeling Tools.pptx
 
ASP.NET System design 2
ASP.NET System design 2ASP.NET System design 2
ASP.NET System design 2
 
Architecture and design
Architecture and designArchitecture and design
Architecture and design
 
Design UML diagrams
Design UML diagramsDesign UML diagrams
Design UML diagrams
 
Design UML diagrams
Design UML diagramsDesign UML diagrams
Design UML diagrams
 
Component based models and technology
Component based models and technologyComponent based models and technology
Component based models and technology
 
Component based models and technology
Component based models and technologyComponent based models and technology
Component based models and technology
 
uml2-1214558329929112-8.ppt
uml2-1214558329929112-8.pptuml2-1214558329929112-8.ppt
uml2-1214558329929112-8.ppt
 
UML- Unified Modeling Language
UML- Unified Modeling LanguageUML- Unified Modeling Language
UML- Unified Modeling Language
 
Software Engineering Tools and Practices.pdf
Software Engineering Tools and Practices.pdfSoftware Engineering Tools and Practices.pdf
Software Engineering Tools and Practices.pdf
 
Uml
UmlUml
Uml
 
UML Trainings
UML TrainingsUML Trainings
UML Trainings
 
Unified Modeling Language
Unified Modeling LanguageUnified Modeling Language
Unified Modeling Language
 
Object oriented analysis and design unit- iv
Object oriented analysis and design unit- ivObject oriented analysis and design unit- iv
Object oriented analysis and design unit- iv
 
UML
UMLUML
UML
 
Uml - An Overview
Uml - An OverviewUml - An Overview
Uml - An Overview
 
Ood Post1
Ood Post1Ood Post1
Ood Post1
 

Recently uploaded

Open Source Contributions to Postgres: The Basics POSETTE 2024
Open Source Contributions to Postgres: The Basics POSETTE 2024Open Source Contributions to Postgres: The Basics POSETTE 2024
Open Source Contributions to Postgres: The Basics POSETTE 2024
ElizabethGarrettChri
 
一比一原版(Sheffield毕业证书)谢菲尔德大学毕业证如何办理
一比一原版(Sheffield毕业证书)谢菲尔德大学毕业证如何办理一比一原版(Sheffield毕业证书)谢菲尔德大学毕业证如何办理
一比一原版(Sheffield毕业证书)谢菲尔德大学毕业证如何办理
1tyxnjpia
 
一比一原版加拿大渥太华大学毕业证(uottawa毕业证书)如何办理
一比一原版加拿大渥太华大学毕业证(uottawa毕业证书)如何办理一比一原版加拿大渥太华大学毕业证(uottawa毕业证书)如何办理
一比一原版加拿大渥太华大学毕业证(uottawa毕业证书)如何办理
uevausa
 
一比一原版(lbs毕业证书)伦敦商学院毕业证如何办理
一比一原版(lbs毕业证书)伦敦商学院毕业证如何办理一比一原版(lbs毕业证书)伦敦商学院毕业证如何办理
一比一原版(lbs毕业证书)伦敦商学院毕业证如何办理
ywqeos
 
一比一原版悉尼大学毕业证如何办理
一比一原版悉尼大学毕业证如何办理一比一原版悉尼大学毕业证如何办理
一比一原版悉尼大学毕业证如何办理
keesa2
 
Sample Devops SRE Product Companies .pdf
Sample Devops SRE  Product Companies .pdfSample Devops SRE  Product Companies .pdf
Sample Devops SRE Product Companies .pdf
Vineet
 
Cell The Unit of Life for NEET Multiple Choice Questions.docx
Cell The Unit of Life for NEET Multiple Choice Questions.docxCell The Unit of Life for NEET Multiple Choice Questions.docx
Cell The Unit of Life for NEET Multiple Choice Questions.docx
vasanthatpuram
 
Overview IFM June 2024 Consumer Confidence INDEX Report.pdf
Overview IFM June 2024 Consumer Confidence INDEX Report.pdfOverview IFM June 2024 Consumer Confidence INDEX Report.pdf
Overview IFM June 2024 Consumer Confidence INDEX Report.pdf
nhutnguyen355078
 
Module 1 ppt BIG DATA ANALYTICS_NOTES FOR MCA
Module 1 ppt BIG DATA ANALYTICS_NOTES FOR MCAModule 1 ppt BIG DATA ANALYTICS_NOTES FOR MCA
Module 1 ppt BIG DATA ANALYTICS_NOTES FOR MCA
yuvarajkumar334
 
一比一原版(uom毕业证书)曼彻斯特大学毕业证如何办理
一比一原版(uom毕业证书)曼彻斯特大学毕业证如何办理一比一原版(uom毕业证书)曼彻斯特大学毕业证如何办理
一比一原版(uom毕业证书)曼彻斯特大学毕业证如何办理
osoyvvf
 
Template xxxxxxxx ssssssssssss Sertifikat.pptx
Template xxxxxxxx ssssssssssss Sertifikat.pptxTemplate xxxxxxxx ssssssssssss Sertifikat.pptx
Template xxxxxxxx ssssssssssss Sertifikat.pptx
TeukuEriSyahputra
 
一比一原版斯威本理工大学毕业证(swinburne毕业证)如何办理
一比一原版斯威本理工大学毕业证(swinburne毕业证)如何办理一比一原版斯威本理工大学毕业证(swinburne毕业证)如何办理
一比一原版斯威本理工大学毕业证(swinburne毕业证)如何办理
actyx
 
原版一比一多伦多大学毕业证(UofT毕业证书)如何办理
原版一比一多伦多大学毕业证(UofT毕业证书)如何办理原版一比一多伦多大学毕业证(UofT毕业证书)如何办理
原版一比一多伦多大学毕业证(UofT毕业证书)如何办理
mkkikqvo
 
一比一原版(UofT毕业证)多伦多大学毕业证如何办理
一比一原版(UofT毕业证)多伦多大学毕业证如何办理一比一原版(UofT毕业证)多伦多大学毕业证如何办理
一比一原版(UofT毕业证)多伦多大学毕业证如何办理
exukyp
 
一比一原版英国赫特福德大学毕业证(hertfordshire毕业证书)如何办理
一比一原版英国赫特福德大学毕业证(hertfordshire毕业证书)如何办理一比一原版英国赫特福德大学毕业证(hertfordshire毕业证书)如何办理
一比一原版英国赫特福德大学毕业证(hertfordshire毕业证书)如何办理
nyvan3
 
Build applications with generative AI on Google Cloud
Build applications with generative AI on Google CloudBuild applications with generative AI on Google Cloud
Build applications with generative AI on Google Cloud
Márton Kodok
 
ML-PPT-UNIT-2 Generative Classifiers Discriminative Classifiers
ML-PPT-UNIT-2 Generative Classifiers Discriminative ClassifiersML-PPT-UNIT-2 Generative Classifiers Discriminative Classifiers
ML-PPT-UNIT-2 Generative Classifiers Discriminative Classifiers
MastanaihnaiduYasam
 
一比一原版加拿大麦吉尔大学毕业证(mcgill毕业证书)如何办理
一比一原版加拿大麦吉尔大学毕业证(mcgill毕业证书)如何办理一比一原版加拿大麦吉尔大学毕业证(mcgill毕业证书)如何办理
一比一原版加拿大麦吉尔大学毕业证(mcgill毕业证书)如何办理
agdhot
 
Drownings spike from May to August in children
Drownings spike from May to August in childrenDrownings spike from May to August in children
Drownings spike from May to August in children
Bisnar Chase Personal Injury Attorneys
 
一比一原版兰加拉学院毕业证(Langara毕业证书)学历如何办理
一比一原版兰加拉学院毕业证(Langara毕业证书)学历如何办理一比一原版兰加拉学院毕业证(Langara毕业证书)学历如何办理
一比一原版兰加拉学院毕业证(Langara毕业证书)学历如何办理
hyfjgavov
 

Recently uploaded (20)

Open Source Contributions to Postgres: The Basics POSETTE 2024
Open Source Contributions to Postgres: The Basics POSETTE 2024Open Source Contributions to Postgres: The Basics POSETTE 2024
Open Source Contributions to Postgres: The Basics POSETTE 2024
 
一比一原版(Sheffield毕业证书)谢菲尔德大学毕业证如何办理
一比一原版(Sheffield毕业证书)谢菲尔德大学毕业证如何办理一比一原版(Sheffield毕业证书)谢菲尔德大学毕业证如何办理
一比一原版(Sheffield毕业证书)谢菲尔德大学毕业证如何办理
 
一比一原版加拿大渥太华大学毕业证(uottawa毕业证书)如何办理
一比一原版加拿大渥太华大学毕业证(uottawa毕业证书)如何办理一比一原版加拿大渥太华大学毕业证(uottawa毕业证书)如何办理
一比一原版加拿大渥太华大学毕业证(uottawa毕业证书)如何办理
 
一比一原版(lbs毕业证书)伦敦商学院毕业证如何办理
一比一原版(lbs毕业证书)伦敦商学院毕业证如何办理一比一原版(lbs毕业证书)伦敦商学院毕业证如何办理
一比一原版(lbs毕业证书)伦敦商学院毕业证如何办理
 
一比一原版悉尼大学毕业证如何办理
一比一原版悉尼大学毕业证如何办理一比一原版悉尼大学毕业证如何办理
一比一原版悉尼大学毕业证如何办理
 
Sample Devops SRE Product Companies .pdf
Sample Devops SRE  Product Companies .pdfSample Devops SRE  Product Companies .pdf
Sample Devops SRE Product Companies .pdf
 
Cell The Unit of Life for NEET Multiple Choice Questions.docx
Cell The Unit of Life for NEET Multiple Choice Questions.docxCell The Unit of Life for NEET Multiple Choice Questions.docx
Cell The Unit of Life for NEET Multiple Choice Questions.docx
 
Overview IFM June 2024 Consumer Confidence INDEX Report.pdf
Overview IFM June 2024 Consumer Confidence INDEX Report.pdfOverview IFM June 2024 Consumer Confidence INDEX Report.pdf
Overview IFM June 2024 Consumer Confidence INDEX Report.pdf
 
Module 1 ppt BIG DATA ANALYTICS_NOTES FOR MCA
Module 1 ppt BIG DATA ANALYTICS_NOTES FOR MCAModule 1 ppt BIG DATA ANALYTICS_NOTES FOR MCA
Module 1 ppt BIG DATA ANALYTICS_NOTES FOR MCA
 
一比一原版(uom毕业证书)曼彻斯特大学毕业证如何办理
一比一原版(uom毕业证书)曼彻斯特大学毕业证如何办理一比一原版(uom毕业证书)曼彻斯特大学毕业证如何办理
一比一原版(uom毕业证书)曼彻斯特大学毕业证如何办理
 
Template xxxxxxxx ssssssssssss Sertifikat.pptx
Template xxxxxxxx ssssssssssss Sertifikat.pptxTemplate xxxxxxxx ssssssssssss Sertifikat.pptx
Template xxxxxxxx ssssssssssss Sertifikat.pptx
 
一比一原版斯威本理工大学毕业证(swinburne毕业证)如何办理
一比一原版斯威本理工大学毕业证(swinburne毕业证)如何办理一比一原版斯威本理工大学毕业证(swinburne毕业证)如何办理
一比一原版斯威本理工大学毕业证(swinburne毕业证)如何办理
 
原版一比一多伦多大学毕业证(UofT毕业证书)如何办理
原版一比一多伦多大学毕业证(UofT毕业证书)如何办理原版一比一多伦多大学毕业证(UofT毕业证书)如何办理
原版一比一多伦多大学毕业证(UofT毕业证书)如何办理
 
一比一原版(UofT毕业证)多伦多大学毕业证如何办理
一比一原版(UofT毕业证)多伦多大学毕业证如何办理一比一原版(UofT毕业证)多伦多大学毕业证如何办理
一比一原版(UofT毕业证)多伦多大学毕业证如何办理
 
一比一原版英国赫特福德大学毕业证(hertfordshire毕业证书)如何办理
一比一原版英国赫特福德大学毕业证(hertfordshire毕业证书)如何办理一比一原版英国赫特福德大学毕业证(hertfordshire毕业证书)如何办理
一比一原版英国赫特福德大学毕业证(hertfordshire毕业证书)如何办理
 
Build applications with generative AI on Google Cloud
Build applications with generative AI on Google CloudBuild applications with generative AI on Google Cloud
Build applications with generative AI on Google Cloud
 
ML-PPT-UNIT-2 Generative Classifiers Discriminative Classifiers
ML-PPT-UNIT-2 Generative Classifiers Discriminative ClassifiersML-PPT-UNIT-2 Generative Classifiers Discriminative Classifiers
ML-PPT-UNIT-2 Generative Classifiers Discriminative Classifiers
 
一比一原版加拿大麦吉尔大学毕业证(mcgill毕业证书)如何办理
一比一原版加拿大麦吉尔大学毕业证(mcgill毕业证书)如何办理一比一原版加拿大麦吉尔大学毕业证(mcgill毕业证书)如何办理
一比一原版加拿大麦吉尔大学毕业证(mcgill毕业证书)如何办理
 
Drownings spike from May to August in children
Drownings spike from May to August in childrenDrownings spike from May to August in children
Drownings spike from May to August in children
 
一比一原版兰加拉学院毕业证(Langara毕业证书)学历如何办理
一比一原版兰加拉学院毕业证(Langara毕业证书)学历如何办理一比一原版兰加拉学院毕业证(Langara毕业证书)学历如何办理
一比一原版兰加拉学院毕业证(Langara毕业证书)学历如何办理
 

Interaction overview and Profile UML Diagrams

  • 1. UML DIAGRAMS Interaction Overview Diagram & Profile Diagram By: Husnain Safdar BSSE-S15-08 UOS M.B.Din campus
  • 2. Interaction Overview Diagram:  The Interaction Overview Diagram focuses on the overview of the flow of control of the interactions.  The interaction overview diagram is similar to the activity diagram, in that both visualize a sequence of activities.  The difference is that, for an interaction overview, each individual activity is pictured as a frame which can contain a nested interaction diagram.  This makes the interaction overview diagram useful to "deconstruct a complex scenario that would otherwise require multiple if-then-else paths to be illustrated as a single sequence diagram"
  • 3. Notations in Interaction Diagram: Initial Node: An initial node is a control node at which flow starts when the activity is invoked. An activity may have more than one initial node. Activity Final Node: An activity may have more than one activity final node. The first one reached stops all flows in the activity. Control Flow: A control flow is an edge that starts an activity node after the previous one is finished.
  • 4. . Constraint: A condition or restriction expressed in natural language text or in a machine readable language for the purpose of declaring some of the semantics of an element. The condition that must be true when evaluated in order for the constraint to be satisfied. Decision Node: A decision node accepts tokens on an incoming edge and presents them to multiple outgoing edges. Which of the edges is actually traversed depends on the evaluation of the guards on the outgoing edges. Merge Node: A merge node is a control node that brings together multiple alternate flows. . A merge node has multiple incoming edges and a single outgoing edge.
  • 5. . Fork Node: A fork node is a control node that splits a flow into multiple concurrent flows. A fork node has one incoming edge and multiple outgoing edges. Interaction: An interaction is a unit of behavior that focuses on the observable exchange of information between Connectable Elements. Interaction Use: The InteractionUse is a shorthand for copying the contents of the referred Interaction where the InteractionUse is. It is common to want to share portions of an interaction between several other interactions. An InteractionUse allows multiple interactions to reference an interaction that represents a common portion of their specification.
  • 6. .
  • 7. Profile diagram:  Profile diagram is basically an extensibility mechanism that allows you to extend and customize UML by adding new building blocks, creating new properties and specifying new semantics in order to make the language suitable to your specific problem domain.  A profile is essentially a kind of package, and as you might expect it uses the same notation as a package. The keyword «profile» is used, either above or in front of the package name, to indicate that the package is a profile.  Profile diagram has three types of extensibility mechanisms:  Stereotypes  Tagged Values  Constraints
  • 8. Stereotypes:  Stereotypes allow you to increase vocabulary of UML. You can add, create new model elements, derived from existing ones but that have specific properties that are suitable to your problem domain.  Stereotypes are used to introduce new building blocks that speak the language of your domain and look primitive. It allows you to introduce new graphical symbols.  For example: When modeling a network you might need to have symbols for <<router>>, <<switches>>, <<hub>> etc. A stereotype allows you to make these things appear as primitive.
  • 9. Tagged Values:  used to extend the properties of UML so that you can add additional information in the specification of a model element.  It allows you to specify keyword value pairs of a model where keywords are the attributes. Tagged values are graphically rendered as string enclose in brackets.  For Example: Consider a release team responsible for assembling, testing and deployment of a system. In such case it is necessary to keep a track on version and test results of the main subsystem. Tagged values are used to add such info.  Tagged Value can be useful for adding properties to the model for some useful purposes:  Code generation  Version control  Configuration management  Authorship
  • 10. Constraints:  They are the properties for specifying semantics or conditions that must be held true at all the time.  It allows you to extend the semantics of UML building block by adding new protocols. Graphically a constraint is rendered as string enclose in brackets placed near associated element.  For example: In development of a real time system it is necessary to adorn the model with some necessary information such as response time.  Constraints can be on attributes, derived attributes and associations. It can be attached to one or more model elements shown as a note as well.
  • 11. MetaClass:  It is a profile class and a packageable element which may be extended through one or more stereotypes.  A metaclass may be shown with the optional stereotype «Metaclass» shown above or before its name (all lower-case «metaclass» was used in UML versions prior to 2.4).  Metaclass Component  Metaclass may be extended by one or more stereotypes using special kind of association - extension.