SlideShare une entreprise Scribd logo
1  sur  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 

Contenu connexe

Tendances

Uml Presentation
Uml PresentationUml Presentation
Uml Presentationmewaseem
 
Overview of UML Diagrams
Overview of UML DiagramsOverview of UML Diagrams
Overview of UML DiagramsManish Kumar
 
Object Oriented Analysis and Design
Object Oriented Analysis and DesignObject Oriented Analysis and Design
Object Oriented Analysis and DesignHaitham El-Ghareeb
 
UNIFIED MODELING LANGUAGE
UNIFIED MODELING LANGUAGEUNIFIED MODELING LANGUAGE
UNIFIED MODELING LANGUAGERaval Chirag
 
Uml diagrams
Uml diagramsUml diagrams
Uml diagramsbarney92
 
Object Oriented Analysis Design using UML
Object Oriented Analysis Design using UMLObject Oriented Analysis Design using UML
Object Oriented Analysis Design using UMLAjit Nayak
 
Object oriented-systems-development-life-cycle ppt
Object oriented-systems-development-life-cycle pptObject oriented-systems-development-life-cycle ppt
Object oriented-systems-development-life-cycle pptKunal Kishor Nirala
 
Use Case Diagram
Use Case DiagramUse Case Diagram
Use Case DiagramAshesh R
 
Collaboration diagram- UML diagram
Collaboration diagram- UML diagram Collaboration diagram- UML diagram
Collaboration diagram- UML diagram Ramakant Soni
 
Rational Unified Process
Rational Unified ProcessRational Unified Process
Rational Unified ProcessKumar
 
Sequence diagram- UML diagram
Sequence diagram- UML diagramSequence diagram- UML diagram
Sequence diagram- UML diagramRamakant Soni
 
11 deployment diagrams
11 deployment diagrams11 deployment diagrams
11 deployment diagramsBaskarkncet
 

Tendances (20)

Uml Presentation
Uml PresentationUml Presentation
Uml Presentation
 
UML Diagrams
UML DiagramsUML Diagrams
UML Diagrams
 
Overview of UML Diagrams
Overview of UML DiagramsOverview of UML Diagrams
Overview of UML Diagrams
 
Behavioural modelling
Behavioural modellingBehavioural modelling
Behavioural modelling
 
Domain Modeling
Domain ModelingDomain Modeling
Domain Modeling
 
Object Oriented Analysis and Design
Object Oriented Analysis and DesignObject Oriented Analysis and Design
Object Oriented Analysis and Design
 
UNIFIED MODELING LANGUAGE
UNIFIED MODELING LANGUAGEUNIFIED MODELING LANGUAGE
UNIFIED MODELING LANGUAGE
 
Software design
Software designSoftware design
Software design
 
Object Oriented Design
Object Oriented DesignObject Oriented Design
Object Oriented Design
 
Uml diagrams
Uml diagramsUml diagrams
Uml diagrams
 
Object Oriented Analysis Design using UML
Object Oriented Analysis Design using UMLObject Oriented Analysis Design using UML
Object Oriented Analysis Design using UML
 
Object oriented-systems-development-life-cycle ppt
Object oriented-systems-development-life-cycle pptObject oriented-systems-development-life-cycle ppt
Object oriented-systems-development-life-cycle ppt
 
Use Case Diagram
Use Case DiagramUse Case Diagram
Use Case Diagram
 
Rad model
Rad modelRad model
Rad model
 
CS8592-OOAD Lecture Notes Unit-3
CS8592-OOAD Lecture Notes Unit-3CS8592-OOAD Lecture Notes Unit-3
CS8592-OOAD Lecture Notes Unit-3
 
Activity diagram
Activity diagramActivity diagram
Activity diagram
 
Collaboration diagram- UML diagram
Collaboration diagram- UML diagram Collaboration diagram- UML diagram
Collaboration diagram- UML diagram
 
Rational Unified Process
Rational Unified ProcessRational Unified Process
Rational Unified Process
 
Sequence diagram- UML diagram
Sequence diagram- UML diagramSequence diagram- UML diagram
Sequence diagram- UML diagram
 
11 deployment diagrams
11 deployment diagrams11 deployment diagrams
11 deployment diagrams
 

Similaire à 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
 
UML (Unified Modeling Language)
UML (Unified Modeling Language)UML (Unified Modeling Language)
UML (Unified Modeling Language)Nguyen Tuan
 
Unified Modeling Language
Unified Modeling LanguageUnified Modeling Language
Unified Modeling Languagesurana college
 
Uml structural diagrams
Uml structural diagramsUml structural diagrams
Uml structural diagramsSwathy T
 
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
 

Similaire à 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
 
UML (Unified Modeling Language)
UML (Unified Modeling Language)UML (Unified Modeling Language)
UML (Unified Modeling Language)
 
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
 
Uml structural diagrams
Uml structural diagramsUml structural diagrams
Uml structural diagrams
 
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
 

Dernier

The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...ranjana rawat
 
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptxBSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptxfenichawla
 
AKTU Computer Networks notes --- Unit 3.pdf
AKTU Computer Networks notes ---  Unit 3.pdfAKTU Computer Networks notes ---  Unit 3.pdf
AKTU Computer Networks notes --- Unit 3.pdfankushspencer015
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escortsranjana rawat
 
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSMANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSSIVASHANKAR N
 
Glass Ceramics: Processing and Properties
Glass Ceramics: Processing and PropertiesGlass Ceramics: Processing and Properties
Glass Ceramics: Processing and PropertiesPrabhanshu Chaturvedi
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...ranjana rawat
 
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
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxAsutosh Ranjan
 
University management System project report..pdf
University management System project report..pdfUniversity management System project report..pdf
University management System project report..pdfKamal Acharya
 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlysanyuktamishra911
 
Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxProcessing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxpranjaldaimarysona
 
result management system report for college project
result management system report for college projectresult management system report for college project
result management system report for college projectTonystark477637
 
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
Online banking management system project.pdf
Online banking management system project.pdfOnline banking management system project.pdf
Online banking management system project.pdfKamal Acharya
 
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...Call Girls in Nagpur High Profile
 
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
 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Christo Ananth
 
Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)simmis5
 

Dernier (20)

The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
 
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptxBSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
 
AKTU Computer Networks notes --- Unit 3.pdf
AKTU Computer Networks notes ---  Unit 3.pdfAKTU Computer Networks notes ---  Unit 3.pdf
AKTU Computer Networks notes --- Unit 3.pdf
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
 
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSMANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
 
Glass Ceramics: Processing and Properties
Glass Ceramics: Processing and PropertiesGlass Ceramics: Processing and Properties
Glass Ceramics: Processing and Properties
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
 
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...
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptx
 
University management System project report..pdf
University management System project report..pdfUniversity management System project report..pdf
University management System project report..pdf
 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghly
 
Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxProcessing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptx
 
result management system report for college project
result management system report for college projectresult management system report for college project
result management system report for college project
 
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
Online banking management system project.pdf
Online banking management system project.pdfOnline banking management system project.pdf
Online banking management system project.pdf
 
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
 
Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024
 
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...
 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
 
Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)
 

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