SlideShare una empresa de Scribd logo
1 de 30
Powerpoint Templates
Software Engineering
Topic:
UML
Unified Modelling Language
Powerpoint Templates
Definition
Ϟ UML is a standard language for specifying, visualizing,
constructing and documenting the artifacts of software
systems.
Ϟ UML is different from the other programming languages
like Java, C++ but tools can be used to generate code in
various languages using UML diagrams.
Ϟ UML is a pictorial language used to make software blue
prints.
Powerpoint Templates
Goals of UML
ϞA picture is worth a thousand words, this absolutely fits while
discussing about UML.
ϞUML diagrams are not only for developers but also for
business users, common people and anybody interested to
understand the system. So it must be clear that UML is not a
development method rather it accompanies with processes to
make a successful system.
ϞThe goal of UML can be defined as a simple modelling
mechanism to model all possible practical systems in today’s
complex environment.
Powerpoint Templates
Building Blocks
This chapter describes all the UML building blocks. It can be defined as:
ϞThings
ϞRelationships
ϞDiagrams
1. Things
Things are the most important building blocks of UML. Things can be:
•Structural
•Behavioral
•Grouping
•Annotational
Powerpoint Templates
Structural Things
Class:
Class represents set of objects having similar responsibilities .
Interface:
Interface defines a set of operations which specify the
responsibility of a class.
Node:
A node can be defined as a physical element that exists at run
time.
Powerpoint Templates
Collaboration:
Collaboration defines interaction between elements.
Use case:
Use case represents a set of actions performed by a system for a specific
goal.
Component:
Component describes physical part of a system.
Powerpoint Templates
Behavioral things
A behavioral thing consists of the dynamic parts of UML models.
Following are the behavioral things:
Interaction:
Interaction is defined as a behavior that consists of a group of
messages exchanged among elements to accomplish a specific
task.
State machine:
State machine is useful when the state of an object in its life cycle
is important. It defines the sequence of states an object goes
through in response to events. Events are external factors
responsible for state change.
Powerpoint Templates
Grouping Things
Grouping things can be defined as a mechanism to group
elements of a UML model together. There is only one grouping thing
available:
Package:
Package is the only one grouping thing available for gathering
structural and behavioral things.
Powerpoint Templates
Annotational things
Annotational things can be defined as a mechanism to capture
remarks, descriptions, and comments of UML model elements.
Note is the only one Annotational thing available.
Note:
A note is used to render comments, constraints etc of an UML
element.
Powerpoint Templates
2. Relationship
Relationship is another most important building block of UML.
It shows how elements are associated with each other and this
association describes the functionality of an application.
There are four kinds of relationships available.
Dependency:
Dependency is a relationship between two things in which
change in one element also affects the other one.
Association:
Association is basically a set of links that connects elements of
an UML model. It also describes how many objects are taking
part in that relationship.
Powerpoint Templates
Generalization:
Generalization can be defined as a relationship which connects a
specialized element with a generalized element. It basically
describes inheritance relationship in the world of objects.
Realization:
Realization can be defined as a relationship in which two elements
are connected. One element describes some responsibility which
is not implemented and the other one implements them. This
relationship exists in case of interfaces.
Powerpoint Templates
3. Diagrams
UML diagrams are the ultimate output of the entire discussion. All
the elements, relationships are used to make a complete UML
diagram and the diagram represents a system.
UML includes the following nine diagrams
Structural Diagrams:
1. Class diagram
2. Object diagram
3. Component diagram
4. Deployment diagram
Behavioral Diagrams:
5. Use case diagram
6. Sequence diagram
7. Collaboration diagram
8. State diagram
9. Activity diagram
.
Powerpoint Templates
Class Diagram
Class diagrams are widely used to describe the types of objects
in a system and their relationships. Class diagram consists of
classes, interfaces, associations and collaboration.
Classes are composed of three things: a name, attributes, and
operations. Below is an example of a class.
.
Powerpoint Templates
Class diagrams also display relationships such as containment,
inheritance, associations and others.
Another common relationship in class diagrams is a generalization.
A generalization is used when two classes are similar, but have
some differences. Look at the generalization below:
Powerpoint Templates
When to Use: Class Diagrams
Class diagrams are used in nearly all Object Oriented software
designs. Use them to describe the Classes of the system and
their relationships to each other.
How to Draw: Class Diagrams
Class diagrams are some of the most difficult UML diagrams to
draw. To draw detailed and useful diagrams a person would
have to study UML and Object Oriented principles for a long
time. Therefore, this page will give a very high level overview of
the process.
Powerpoint Templates
Object Diagram
Object diagrams can be described as an instance of class diagram.
So these diagrams are more close to real life scenarios where we
implement a system.
Object diagrams are a set of objects and their relationships just like
class diagrams and also represent the static view of the system.
The usage of object diagrams is similar to class diagrams but they
are used to build prototype of a system from practical perspective.
Powerpoint Templates
Component Diagram
Component diagrams represent a set of components and
their relationships. These components consist of classes,
interfaces or collaborations.
So Component diagrams represent the implementation
view of a system.
During design phase software artifacts (classes, interfaces
etc) of a system are arranged in different groups
depending upon their relationship. Now these groups are
known as components.
Finally, component diagrams are used to visualize the
implementation.
Powerpoint Templates
Deployment Diagram
Deployment diagrams are a set of nodes and their
relationships. These nodes are physical entities where the
components are deployed.
Deployment diagrams are used for visualizing deployment
view of a system. This is generally used by the deployment
team.
Note: If the above descriptions and usages are observed
carefully then it is very clear that all the diagrams are
having some relationship with one another. Component
diagrams are dependent upon the classes, interfaces etc
which are part of class/object diagram. Again the
deployment diagram is dependent upon the components
which are used to make a component diagrams.
Powerpoint Templates
Use Case Diagrams
A use case is a set of scenarios that describing an interaction
between a user and a system. A use case diagram displays the
relationship among actors and use cases. The two main
components of a use case diagram are use cases and actors.
An actor is represents a user or another system that will interact with
the system you are modeling. A use case is an external view of the
system that represents some action the user might perform in order
to complete a task.
Powerpoint Templates
When to Use: Use Cases Diagrams
Use cases are used in almost every project. These are helpful in
exposing requirements and planning the project. During the initial
stage of a project most use cases should be defined, but as the
project continues more might become visible.
How to Draw: Use Cases Diagrams
Use cases are a relatively easy UML diagram to draw, but this is a
very simplified example. Start by listing a sequence of steps a user
might take in order to complete an action.
Powerpoint Templates
1. Browse catalog and select items.
2. Call sales representative.
3. Supply shipping information.
4. Supply payment information.
5. Receive conformation number from salesperson.
These steps would generate this simple use case diagram:
Powerpoint Templates
Sequence Diagram
A sequence diagram is an interaction diagram. From the
name it is clear that the diagram deals with some
sequences, which are the sequence of messages flowing
from one object to another.
Interaction among the components of a system is very
important from implementation and execution perspective.
So Sequence diagram is used to visualize the sequence of
calls in a system to perform a specific functionality.
Powerpoint Templates
Collaboration Diagram
Collaboration diagram is another form of interaction
diagram. It represents the structural organization of a
system and the messages sent/received. Structural
organization consists of objects and links.
The purpose of collaboration diagram is similar to sequence
diagram. But the specific purpose of collaboration diagram
is to visualize the organization of objects and their
interaction.
Powerpoint Templates
State Diagram
State diagrams are used to describe the behavior of a system. State
diagrams describe all of the possible states of an object as events
occur. Each diagram usually represents objects of a single class
and track the different states of its objects through the system.
When to Use: State Diagrams
Use state diagrams to demonstrate the behavior of an object
through many use cases of the system. Only use state diagrams for
classes where it is necessary to understand the behavior of the
object through the entire system. Not all classes will require a state
diagram and state diagrams are not useful for describing the
collaboration of all objects in a use case.
Powerpoint Templates
How to Draw: State Diagrams
State diagrams have very few elements. The basic elements are
rounded boxes representing the state of the object and arrows
indicting the transition to the next state. The activity section of the
state symbol depicts what activities the object will be doing while it
is in that state.
All state diagrams being with an initial state of the object. This is
the state of the object when it is created. After the initial state the
object begins changing states. Conditions based on the activities
can determine what the next state the object transitions to.
Powerpoint Templates
Powerpoint Templates
Activity Diagrams
Activity diagrams describe the workflow behavior of a system. Activity
diagrams are similar to state diagrams because activities are the
state of doing something. The diagrams describe the state of
activities by showing the sequence of activities performed. Activity
diagrams can show activities that are conditional or parallel.
When to Use: Activity Diagrams
Activity diagrams should be used in conjunction with other modeling
techniques such as interaction diagrams and state diagrams. The
main reason to use activity diagrams is to model the workflow behind
the system being designed. Activity Diagrams are also useful for:
analyzing a use case by describing what actions need to take place
and when they should occur; describing a complicated sequential
algorithm; and modeling applications with parallel processes.
Powerpoint Templates
How to Draw: Activity Diagrams
Activity diagrams show the flow of activities through the system.
Diagrams are read from top to bottom and have branches and forks
to describe conditions and parallel activities. A fork is used when
multiple activities are occurring at the same time.
The diagram below shows a fork after activity1. This indicates that
both activity2 and activity3 are occurring at the same time. After
activity2 there is a branch. The branch describes what activities will
take place based on a set of conditions. All branches at some point
are followed by a merge to indicate the end of the conditional
behavior started by that branch. After the merge all of the parallel
activities must be combined by a join before transitioning into the
final activity state
Powerpoint Templates
Powerpoint Templates
That’s it 

Más contenido relacionado

La actualidad más candente

UML diagrams and symbols
UML diagrams and symbolsUML diagrams and symbols
UML diagrams and symbolsKumar
 
Use case Diagram
Use case Diagram Use case Diagram
Use case Diagram Rahul Pola
 
Uml diagrams
Uml diagramsUml diagrams
Uml diagramsbarney92
 
UNIFIED MODELING LANGUAGE
UNIFIED MODELING LANGUAGEUNIFIED MODELING LANGUAGE
UNIFIED MODELING LANGUAGERaval Chirag
 
INTRODUCTION TO UML DIAGRAMS
INTRODUCTION TO UML DIAGRAMSINTRODUCTION TO UML DIAGRAMS
INTRODUCTION TO UML DIAGRAMSAshita Agrawal
 
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
 
Uml structural diagrams
Uml structural diagramsUml structural diagrams
Uml structural diagramsSwathy T
 
Uml in software engineering
Uml in software engineeringUml in software engineering
Uml in software engineeringMubashir Jutt
 
Use Case Diagram
Use Case DiagramUse Case Diagram
Use Case DiagramKumar
 
Unit 3(advanced state modeling & interaction meodelling)
Unit  3(advanced state modeling & interaction meodelling)Unit  3(advanced state modeling & interaction meodelling)
Unit 3(advanced state modeling & interaction meodelling)Manoj Reddy
 
UML (Unified Modeling Language)
UML (Unified Modeling Language)UML (Unified Modeling Language)
UML (Unified Modeling Language)Nguyen Tuan
 
Use case Diagram and Sequence Diagram
Use case Diagram and Sequence DiagramUse case Diagram and Sequence Diagram
Use case Diagram and Sequence DiagramNikhil Pandit
 
Sequence diagram
Sequence diagramSequence diagram
Sequence diagramRahul Pola
 
Collaboration Diagram
Collaboration DiagramCollaboration Diagram
Collaboration Diagramfahad_uaar
 

La actualidad más candente (20)

Uml
UmlUml
Uml
 
Object Oriented Design
Object Oriented DesignObject Oriented Design
Object Oriented Design
 
UML diagrams and symbols
UML diagrams and symbolsUML diagrams and symbols
UML diagrams and symbols
 
Use case Diagram
Use case Diagram Use case Diagram
Use case Diagram
 
Uml diagrams
Uml diagramsUml diagrams
Uml diagrams
 
UNIFIED MODELING LANGUAGE
UNIFIED MODELING LANGUAGEUNIFIED MODELING LANGUAGE
UNIFIED MODELING LANGUAGE
 
INTRODUCTION TO UML DIAGRAMS
INTRODUCTION TO UML DIAGRAMSINTRODUCTION TO UML DIAGRAMS
INTRODUCTION TO UML DIAGRAMS
 
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
 
State chart diagram
State chart diagramState chart diagram
State chart diagram
 
Uml structural diagrams
Uml structural diagramsUml structural diagrams
Uml structural diagrams
 
Uml in software engineering
Uml in software engineeringUml in software engineering
Uml in software engineering
 
Class diagrams
Class diagramsClass diagrams
Class diagrams
 
Use Case Diagram
Use Case DiagramUse Case Diagram
Use Case Diagram
 
Unit 3(advanced state modeling & interaction meodelling)
Unit  3(advanced state modeling & interaction meodelling)Unit  3(advanced state modeling & interaction meodelling)
Unit 3(advanced state modeling & interaction meodelling)
 
Unified Modeling Language
Unified Modeling LanguageUnified Modeling Language
Unified Modeling Language
 
UML (Unified Modeling Language)
UML (Unified Modeling Language)UML (Unified Modeling Language)
UML (Unified Modeling Language)
 
Jeet ooad unit-2
Jeet ooad unit-2Jeet ooad unit-2
Jeet ooad unit-2
 
Use case Diagram and Sequence Diagram
Use case Diagram and Sequence DiagramUse case Diagram and Sequence Diagram
Use case Diagram and Sequence Diagram
 
Sequence diagram
Sequence diagramSequence diagram
Sequence diagram
 
Collaboration Diagram
Collaboration DiagramCollaboration Diagram
Collaboration Diagram
 

Similar a UML

Uml with detail
Uml with detailUml with detail
Uml with detailHamza Khan
 
Introduction to Unified Modeling Language
Introduction to Unified Modeling LanguageIntroduction to Unified Modeling Language
Introduction to Unified Modeling LanguageAMITJain879
 
Uml(unified modeling language) Homework Help
Uml(unified modeling language) Homework HelpUml(unified modeling language) Homework Help
Uml(unified modeling language) Homework HelpSteve Nash
 
Unified Modeling Language
Unified Modeling LanguageUnified Modeling Language
Unified Modeling Languagesurana college
 
Understanding unified modelling language
Understanding unified modelling languageUnderstanding unified modelling language
Understanding unified modelling languageEmmanuel Kumah
 
UNIT-3 Design Using UML (1).pptx
UNIT-3 Design Using UML (1).pptxUNIT-3 Design Using UML (1).pptx
UNIT-3 Design Using UML (1).pptxviju001
 
Software Engineering Tools and Practices.pdf
Software Engineering Tools and Practices.pdfSoftware Engineering Tools and Practices.pdf
Software Engineering Tools and Practices.pdfMeagGhn
 
UML and Software Modeling Tools.pptx
UML and Software Modeling Tools.pptxUML and Software Modeling Tools.pptx
UML and Software Modeling Tools.pptxNwabueze Obioma
 
R1x g02 enterprise architecture i
R1x g02 enterprise architecture iR1x g02 enterprise architecture i
R1x g02 enterprise architecture icairo university
 

Similar a UML (20)

Learn sqa process
Learn sqa processLearn sqa process
Learn sqa process
 
Uml
UmlUml
Uml
 
Uml with detail
Uml with detailUml with detail
Uml with detail
 
Introduction to Unified Modeling Language
Introduction to Unified Modeling LanguageIntroduction to Unified Modeling Language
Introduction to Unified Modeling Language
 
Uml(unified modeling language) Homework Help
Uml(unified modeling language) Homework HelpUml(unified modeling language) Homework Help
Uml(unified modeling language) Homework Help
 
Experiment no
Experiment noExperiment no
Experiment no
 
Unified Modeling Language
Unified Modeling LanguageUnified Modeling Language
Unified Modeling Language
 
Uml introduciton
Uml introducitonUml introduciton
Uml introduciton
 
ooAD
ooADooAD
ooAD
 
Uml.pptx
Uml.pptxUml.pptx
Uml.pptx
 
432
432432
432
 
Understanding unified modelling language
Understanding unified modelling languageUnderstanding unified modelling language
Understanding unified modelling language
 
Ch 2.1
Ch 2.1Ch 2.1
Ch 2.1
 
UNIT-3 Design Using UML (1).pptx
UNIT-3 Design Using UML (1).pptxUNIT-3 Design Using UML (1).pptx
UNIT-3 Design Using UML (1).pptx
 
Design UML diagrams
Design UML diagramsDesign UML diagrams
Design UML diagrams
 
Design UML diagrams
Design UML diagramsDesign UML diagrams
Design UML diagrams
 
Software Engineering Tools and Practices.pdf
Software Engineering Tools and Practices.pdfSoftware Engineering Tools and Practices.pdf
Software Engineering Tools and Practices.pdf
 
UML and Software Modeling Tools.pptx
UML and Software Modeling Tools.pptxUML and Software Modeling Tools.pptx
UML and Software Modeling Tools.pptx
 
R1x g02 enterprise architecture i
R1x g02 enterprise architecture iR1x g02 enterprise architecture i
R1x g02 enterprise architecture i
 
Uml
UmlUml
Uml
 

Último

Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Call Girls in Nagpur High Profile
 
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Bookingdharasingh5698
 
chapter 5.pptx: drainage and irrigation engineering
chapter 5.pptx: drainage and irrigation engineeringchapter 5.pptx: drainage and irrigation engineering
chapter 5.pptx: drainage and irrigation engineeringmulugeta48
 
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...SUHANI PANDEY
 
Call Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance BookingCall Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance Bookingroncy bisnoi
 
UNIT-IFLUID PROPERTIES & FLOW CHARACTERISTICS
UNIT-IFLUID PROPERTIES & FLOW CHARACTERISTICSUNIT-IFLUID PROPERTIES & FLOW CHARACTERISTICS
UNIT-IFLUID PROPERTIES & FLOW CHARACTERISTICSrknatarajan
 
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...roncy bisnoi
 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlysanyuktamishra911
 
Extrusion Processes and Their Limitations
Extrusion Processes and Their LimitationsExtrusion Processes and Their Limitations
Extrusion Processes and Their Limitations120cr0395
 
data_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfdata_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfJiananWang21
 
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...Call Girls in Nagpur High Profile
 
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdfONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdfKamal Acharya
 
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingUNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingrknatarajan
 
University management System project report..pdf
University management System project report..pdfUniversity management System project report..pdf
University management System project report..pdfKamal Acharya
 
Unit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdfUnit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdfRagavanV2
 
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Christo Ananth
 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Dr.Costas Sachpazis
 

Último (20)

Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
 
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
 
chapter 5.pptx: drainage and irrigation engineering
chapter 5.pptx: drainage and irrigation engineeringchapter 5.pptx: drainage and irrigation engineering
chapter 5.pptx: drainage and irrigation engineering
 
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
 
Call Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance BookingCall Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance Booking
 
UNIT-IFLUID PROPERTIES & FLOW CHARACTERISTICS
UNIT-IFLUID PROPERTIES & FLOW CHARACTERISTICSUNIT-IFLUID PROPERTIES & FLOW CHARACTERISTICS
UNIT-IFLUID PROPERTIES & FLOW CHARACTERISTICS
 
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghly
 
NFPA 5000 2024 standard .
NFPA 5000 2024 standard                                  .NFPA 5000 2024 standard                                  .
NFPA 5000 2024 standard .
 
Extrusion Processes and Their Limitations
Extrusion Processes and Their LimitationsExtrusion Processes and Their Limitations
Extrusion Processes and Their Limitations
 
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar ≼🔝 Delhi door step de...
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar  ≼🔝 Delhi door step de...Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar  ≼🔝 Delhi door step de...
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar ≼🔝 Delhi door step de...
 
data_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfdata_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdf
 
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...
 
Roadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and RoutesRoadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and Routes
 
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdfONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
 
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingUNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
 
University management System project report..pdf
University management System project report..pdfUniversity management System project report..pdf
University management System project report..pdf
 
Unit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdfUnit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdf
 
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
 

UML

  • 2. Powerpoint Templates Definition Ϟ UML is a standard language for specifying, visualizing, constructing and documenting the artifacts of software systems. Ϟ UML is different from the other programming languages like Java, C++ but tools can be used to generate code in various languages using UML diagrams. Ϟ UML is a pictorial language used to make software blue prints.
  • 3. Powerpoint Templates Goals of UML ϞA picture is worth a thousand words, this absolutely fits while discussing about UML. ϞUML diagrams are not only for developers but also for business users, common people and anybody interested to understand the system. So it must be clear that UML is not a development method rather it accompanies with processes to make a successful system. ϞThe goal of UML can be defined as a simple modelling mechanism to model all possible practical systems in today’s complex environment.
  • 4. Powerpoint Templates Building Blocks This chapter describes all the UML building blocks. It can be defined as: ϞThings ϞRelationships ϞDiagrams 1. Things Things are the most important building blocks of UML. Things can be: •Structural •Behavioral •Grouping •Annotational
  • 5. Powerpoint Templates Structural Things Class: Class represents set of objects having similar responsibilities . Interface: Interface defines a set of operations which specify the responsibility of a class. Node: A node can be defined as a physical element that exists at run time.
  • 6. Powerpoint Templates Collaboration: Collaboration defines interaction between elements. Use case: Use case represents a set of actions performed by a system for a specific goal. Component: Component describes physical part of a system.
  • 7. Powerpoint Templates Behavioral things A behavioral thing consists of the dynamic parts of UML models. Following are the behavioral things: Interaction: Interaction is defined as a behavior that consists of a group of messages exchanged among elements to accomplish a specific task. State machine: State machine is useful when the state of an object in its life cycle is important. It defines the sequence of states an object goes through in response to events. Events are external factors responsible for state change.
  • 8. Powerpoint Templates Grouping Things Grouping things can be defined as a mechanism to group elements of a UML model together. There is only one grouping thing available: Package: Package is the only one grouping thing available for gathering structural and behavioral things.
  • 9. Powerpoint Templates Annotational things Annotational things can be defined as a mechanism to capture remarks, descriptions, and comments of UML model elements. Note is the only one Annotational thing available. Note: A note is used to render comments, constraints etc of an UML element.
  • 10. Powerpoint Templates 2. Relationship Relationship is another most important building block of UML. It shows how elements are associated with each other and this association describes the functionality of an application. There are four kinds of relationships available. Dependency: Dependency is a relationship between two things in which change in one element also affects the other one. Association: Association is basically a set of links that connects elements of an UML model. It also describes how many objects are taking part in that relationship.
  • 11. Powerpoint Templates Generalization: Generalization can be defined as a relationship which connects a specialized element with a generalized element. It basically describes inheritance relationship in the world of objects. Realization: Realization can be defined as a relationship in which two elements are connected. One element describes some responsibility which is not implemented and the other one implements them. This relationship exists in case of interfaces.
  • 12. Powerpoint Templates 3. Diagrams UML diagrams are the ultimate output of the entire discussion. All the elements, relationships are used to make a complete UML diagram and the diagram represents a system. UML includes the following nine diagrams Structural Diagrams: 1. Class diagram 2. Object diagram 3. Component diagram 4. Deployment diagram Behavioral Diagrams: 5. Use case diagram 6. Sequence diagram 7. Collaboration diagram 8. State diagram 9. Activity diagram .
  • 13. Powerpoint Templates Class Diagram Class diagrams are widely used to describe the types of objects in a system and their relationships. Class diagram consists of classes, interfaces, associations and collaboration. Classes are composed of three things: a name, attributes, and operations. Below is an example of a class. .
  • 14. Powerpoint Templates Class diagrams also display relationships such as containment, inheritance, associations and others. Another common relationship in class diagrams is a generalization. A generalization is used when two classes are similar, but have some differences. Look at the generalization below:
  • 15. Powerpoint Templates When to Use: Class Diagrams Class diagrams are used in nearly all Object Oriented software designs. Use them to describe the Classes of the system and their relationships to each other. How to Draw: Class Diagrams Class diagrams are some of the most difficult UML diagrams to draw. To draw detailed and useful diagrams a person would have to study UML and Object Oriented principles for a long time. Therefore, this page will give a very high level overview of the process.
  • 16. Powerpoint Templates Object Diagram Object diagrams can be described as an instance of class diagram. So these diagrams are more close to real life scenarios where we implement a system. Object diagrams are a set of objects and their relationships just like class diagrams and also represent the static view of the system. The usage of object diagrams is similar to class diagrams but they are used to build prototype of a system from practical perspective.
  • 17. Powerpoint Templates Component Diagram Component diagrams represent a set of components and their relationships. These components consist of classes, interfaces or collaborations. So Component diagrams represent the implementation view of a system. During design phase software artifacts (classes, interfaces etc) of a system are arranged in different groups depending upon their relationship. Now these groups are known as components. Finally, component diagrams are used to visualize the implementation.
  • 18. Powerpoint Templates Deployment Diagram Deployment diagrams are a set of nodes and their relationships. These nodes are physical entities where the components are deployed. Deployment diagrams are used for visualizing deployment view of a system. This is generally used by the deployment team. Note: If the above descriptions and usages are observed carefully then it is very clear that all the diagrams are having some relationship with one another. Component diagrams are dependent upon the classes, interfaces etc which are part of class/object diagram. Again the deployment diagram is dependent upon the components which are used to make a component diagrams.
  • 19. Powerpoint Templates Use Case Diagrams A use case is a set of scenarios that describing an interaction between a user and a system. A use case diagram displays the relationship among actors and use cases. The two main components of a use case diagram are use cases and actors. An actor is represents a user or another system that will interact with the system you are modeling. A use case is an external view of the system that represents some action the user might perform in order to complete a task.
  • 20. Powerpoint Templates When to Use: Use Cases Diagrams Use cases are used in almost every project. These are helpful in exposing requirements and planning the project. During the initial stage of a project most use cases should be defined, but as the project continues more might become visible. How to Draw: Use Cases Diagrams Use cases are a relatively easy UML diagram to draw, but this is a very simplified example. Start by listing a sequence of steps a user might take in order to complete an action.
  • 21. Powerpoint Templates 1. Browse catalog and select items. 2. Call sales representative. 3. Supply shipping information. 4. Supply payment information. 5. Receive conformation number from salesperson. These steps would generate this simple use case diagram:
  • 22. Powerpoint Templates Sequence Diagram A sequence diagram is an interaction diagram. From the name it is clear that the diagram deals with some sequences, which are the sequence of messages flowing from one object to another. Interaction among the components of a system is very important from implementation and execution perspective. So Sequence diagram is used to visualize the sequence of calls in a system to perform a specific functionality.
  • 23. Powerpoint Templates Collaboration Diagram Collaboration diagram is another form of interaction diagram. It represents the structural organization of a system and the messages sent/received. Structural organization consists of objects and links. The purpose of collaboration diagram is similar to sequence diagram. But the specific purpose of collaboration diagram is to visualize the organization of objects and their interaction.
  • 24. Powerpoint Templates State Diagram State diagrams are used to describe the behavior of a system. State diagrams describe all of the possible states of an object as events occur. Each diagram usually represents objects of a single class and track the different states of its objects through the system. When to Use: State Diagrams Use state diagrams to demonstrate the behavior of an object through many use cases of the system. Only use state diagrams for classes where it is necessary to understand the behavior of the object through the entire system. Not all classes will require a state diagram and state diagrams are not useful for describing the collaboration of all objects in a use case.
  • 25. Powerpoint Templates How to Draw: State Diagrams State diagrams have very few elements. The basic elements are rounded boxes representing the state of the object and arrows indicting the transition to the next state. The activity section of the state symbol depicts what activities the object will be doing while it is in that state. All state diagrams being with an initial state of the object. This is the state of the object when it is created. After the initial state the object begins changing states. Conditions based on the activities can determine what the next state the object transitions to.
  • 27. Powerpoint Templates Activity Diagrams Activity diagrams describe the workflow behavior of a system. Activity diagrams are similar to state diagrams because activities are the state of doing something. The diagrams describe the state of activities by showing the sequence of activities performed. Activity diagrams can show activities that are conditional or parallel. When to Use: Activity Diagrams Activity diagrams should be used in conjunction with other modeling techniques such as interaction diagrams and state diagrams. The main reason to use activity diagrams is to model the workflow behind the system being designed. Activity Diagrams are also useful for: analyzing a use case by describing what actions need to take place and when they should occur; describing a complicated sequential algorithm; and modeling applications with parallel processes.
  • 28. Powerpoint Templates How to Draw: Activity Diagrams Activity diagrams show the flow of activities through the system. Diagrams are read from top to bottom and have branches and forks to describe conditions and parallel activities. A fork is used when multiple activities are occurring at the same time. The diagram below shows a fork after activity1. This indicates that both activity2 and activity3 are occurring at the same time. After activity2 there is a branch. The branch describes what activities will take place based on a set of conditions. All branches at some point are followed by a merge to indicate the end of the conditional behavior started by that branch. After the merge all of the parallel activities must be combined by a join before transitioning into the final activity state