SlideShare a Scribd company logo
1 of 39
UML Diagrams
Jung Woo
What is UML?
• Standard language for specifying, visualizing,
constructing, and documenting the artifacts of
software systems, business modeling and other non-
software systems.
• The UML represents a collection of best engineering
practices that have proven successful in the
modeling of large and complex systems.
• The UML is a very important part of developing object
oriented software and the software development
process.
• The UML uses mostly graphical notations to express
the design of software projects.
• Using the UML helps project teams communicate,
explore potential designs, and validate the
architectural design of the software.
Overview of UML Diagrams
Structural
: element of spec. irrespective of time
• Class
• Component
• Deployment
• Object
• Composite structure
• Package
Behavioral
: behavioral features of a system / business
process
• Activity
• State machine
• Use case
• Interaction
Interaction
: emphasize object interaction
• Communication(collaberati
on)
• Sequence
• Interaction overview
• Timing
Class diagram
UML class diagrams show the classes of
the system, their inter-relationships,
and the operations and attributes of the
classes
• Explore domain concepts in the form of a domain
model
• Analyze requirements in the form of a
conceptual/analysis model
• Depict the detailed design of object-oriented or
object-based software
Class diagram
Class diagram
Component diagram
UML component diagrams shows the
dependencies among software
components, including the classifiers
that specify them (for example
implementation classes) and the
artifacts that implement them; such as
source code files, binary code files,
executable files, scripts and tables.
Component diagram
Deployment diagram
UML deployment diagram depicts a static
view of the run-time configuration of
hardware nodes and the software
components that run on those nodes.
Deployment diagrams show the
hardware for your system, the software
that is installed on that hardware, and
the middleware used to connect the
disparate machines to one another.
Deployment diagram
Deployment diagram
Object diagram
• UML 2 Object diagrams (instance
diagrams), are useful for exploring real
world examples of objects and the
relationships between them. It shows
instances instead of classes. They are
useful for explaining small pieces with
complicated relationships, especially
recursive relationships.
Object diagram
Package diagram
• UML 2 Package diagrams simplify
complex class diagrams, it can group
classes into packages. A package is a
collection of logically related UML
elements. Packages are depicted as file
folders and can be used on any of the
UML diagrams.
Package diagram
Composite structure diagram
• UML 2 Composite structure diagrams
used to explore run-time instances of
interconnected instances collaborating
over communications links. It shows the
internal structure (including parts and
connectors) of a structured classifier or
collaboration.
Composite structure diagram
Activity diagram
• UML 2 Activity diagrams helps to
describe the flow of control of the
target system, such as the exploring
complex business rules and operations,
describing the use case also the
business process. It is object-oriented
equivalent of flow charts and data-flow
diagrams (DFDs).
Activity diagram
Activity diagram
State machine diagram
• UML 2 State machine diagrams can
show the different states of an entity
also how an entity responds to various
events by changing from one state to
another. The history of an entity can
best be modeled by a finite state
diagram.
State machine diagram
State machine diagram
Use cases diagram
UML 2 Use cases diagrams describes the behavior of
the target system from an external point of view. Use
cases describe "the meat" of the actual requirements.
• Use cases. A use case describes a sequence of
actions that provide something of measurable value
to an actor and is drawn as a horizontal ellipse.
• Actors. An actor is a person, organization, or external
system that plays a role in one or more interactions
with your system. Actors are drawn as stick figures.
• Associations. Associations between actors and use
cases are indicated by solid lines. An association
exists whenever an actor is involved with an
interaction described by a use case.
Use cases diagram
Use cases diagram
Use cases diagram
Communication diagram
• UML 2 Communication diagrams used
to model the dynamic behavior of the
use case. When compare to Sequence
Diagram, the Communication Diagram
is more focused on showing the
collaboration of objects rather than the
time sequence.
Communication diagram
Sequence diagram
• UML 2 Sequence diagrams models the
collaboration of objects based on a
time sequence. It shows how the
objects interact with others in a
particular scenario of a use case.
Sequence diagram
Timing diagram
• UML 2 Timing diagrams shows the
behavior of the objects in a given
period of time. Timing diagram is a
special form of a sequence diagram.
The differences between timing diagram
and sequence diagram are the axes are
reversed so that the time are increase
from left to right and the lifelines are
shown in separate compartments
arranged vertically.
Timing diagram
Timing diagram
Interaction overview diagram
• UML 2 Interaction overview diagrams
focuses on the overview of the flow of
control of the interactions. It is a variant
of the Activity Diagram where the nodes
are the interactions or interaction
occurrences. It describes the
interactions where messages and
lifelines are hidden.
Interaction overview diagram
Interaction overview diagram
UML diagram hierarchy
References
• http://www.agilemodeling.com/
• http://www.visual-
paradigm.com/VPGallery/diagrams/index.html
• http://bdn.borland.com/article/0,1410,31863,00.
html
• http://en.wikipedia.org/wiki/Unified_Modeling_L
anguage
• http://pigseye.kennesaw.edu/~dbraun/csis4650/
A&D/UML_tutorial/index.htm

More Related Content

Similar to UML Diagrams_UNIT III.ppt

Similar to UML Diagrams_UNIT III.ppt (20)

Overview of UML Diagrams
Overview of UML DiagramsOverview of UML Diagrams
Overview of UML Diagrams
 
FSD MICRO PROJECT UML PPT.pptx
FSD MICRO PROJECT UML PPT.pptxFSD MICRO PROJECT UML PPT.pptx
FSD MICRO PROJECT UML PPT.pptx
 
Uml
UmlUml
Uml
 
Uml.pptx
Uml.pptxUml.pptx
Uml.pptx
 
8.Unified Process Modelling.ppt of software engg
8.Unified Process Modelling.ppt  of software engg8.Unified Process Modelling.ppt  of software engg
8.Unified Process Modelling.ppt of software engg
 
Uml overview modified
Uml overview modifiedUml overview modified
Uml overview modified
 
INTRODUCTION TO UML DIAGRAMS
INTRODUCTION TO UML DIAGRAMSINTRODUCTION TO UML DIAGRAMS
INTRODUCTION TO UML DIAGRAMS
 
UML tutorial
UML tutorialUML tutorial
UML tutorial
 
Understanding unified modelling language
Understanding unified modelling languageUnderstanding unified modelling language
Understanding unified modelling language
 
Uml
UmlUml
Uml
 
Uml
UmlUml
Uml
 
Lecture 3
Lecture 3Lecture 3
Lecture 3
 
Capturing System Behaviour
Capturing System BehaviourCapturing System Behaviour
Capturing System Behaviour
 
Uml with detail
Uml with detailUml with detail
Uml with detail
 
Case stydy cs701
Case stydy cs701 Case stydy cs701
Case stydy cs701
 
0136061257
01360612570136061257
0136061257
 
UML-Basics-to-AI-Powered-UML-Course.pdf
UML-Basics-to-AI-Powered-UML-Course.pdfUML-Basics-to-AI-Powered-UML-Course.pdf
UML-Basics-to-AI-Powered-UML-Course.pdf
 
4+1
4+14+1
4+1
 
Behavioural modelling
Behavioural modellingBehavioural modelling
Behavioural modelling
 
18540PhDreport.pdf
18540PhDreport.pdf18540PhDreport.pdf
18540PhDreport.pdf
 

Recently uploaded

The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Educationpboyjonauth
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpinRaunakKeshri1
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfJayanti Pande
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxmanuelaromero2013
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docxPoojaSen20
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application ) Sakshi Ghasle
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdfQucHHunhnh
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104misteraugie
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfchloefrazer622
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
 

Recently uploaded (20)

The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
Staff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSDStaff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSD
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpin
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptx
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docx
 
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application )
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdf
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
 

UML Diagrams_UNIT III.ppt

  • 2. What is UML? • Standard language for specifying, visualizing, constructing, and documenting the artifacts of software systems, business modeling and other non- software systems. • The UML represents a collection of best engineering practices that have proven successful in the modeling of large and complex systems. • The UML is a very important part of developing object oriented software and the software development process. • The UML uses mostly graphical notations to express the design of software projects. • Using the UML helps project teams communicate, explore potential designs, and validate the architectural design of the software.
  • 3. Overview of UML Diagrams Structural : element of spec. irrespective of time • Class • Component • Deployment • Object • Composite structure • Package Behavioral : behavioral features of a system / business process • Activity • State machine • Use case • Interaction Interaction : emphasize object interaction • Communication(collaberati on) • Sequence • Interaction overview • Timing
  • 4. Class diagram UML class diagrams show the classes of the system, their inter-relationships, and the operations and attributes of the classes • Explore domain concepts in the form of a domain model • Analyze requirements in the form of a conceptual/analysis model • Depict the detailed design of object-oriented or object-based software
  • 7. Component diagram UML component diagrams shows the dependencies among software components, including the classifiers that specify them (for example implementation classes) and the artifacts that implement them; such as source code files, binary code files, executable files, scripts and tables.
  • 9. Deployment diagram UML deployment diagram depicts a static view of the run-time configuration of hardware nodes and the software components that run on those nodes. Deployment diagrams show the hardware for your system, the software that is installed on that hardware, and the middleware used to connect the disparate machines to one another.
  • 12. Object diagram • UML 2 Object diagrams (instance diagrams), are useful for exploring real world examples of objects and the relationships between them. It shows instances instead of classes. They are useful for explaining small pieces with complicated relationships, especially recursive relationships.
  • 14. Package diagram • UML 2 Package diagrams simplify complex class diagrams, it can group classes into packages. A package is a collection of logically related UML elements. Packages are depicted as file folders and can be used on any of the UML diagrams.
  • 16. Composite structure diagram • UML 2 Composite structure diagrams used to explore run-time instances of interconnected instances collaborating over communications links. It shows the internal structure (including parts and connectors) of a structured classifier or collaboration.
  • 18. Activity diagram • UML 2 Activity diagrams helps to describe the flow of control of the target system, such as the exploring complex business rules and operations, describing the use case also the business process. It is object-oriented equivalent of flow charts and data-flow diagrams (DFDs).
  • 21. State machine diagram • UML 2 State machine diagrams can show the different states of an entity also how an entity responds to various events by changing from one state to another. The history of an entity can best be modeled by a finite state diagram.
  • 24. Use cases diagram UML 2 Use cases diagrams describes the behavior of the target system from an external point of view. Use cases describe "the meat" of the actual requirements. • Use cases. A use case describes a sequence of actions that provide something of measurable value to an actor and is drawn as a horizontal ellipse. • Actors. An actor is a person, organization, or external system that plays a role in one or more interactions with your system. Actors are drawn as stick figures. • Associations. Associations between actors and use cases are indicated by solid lines. An association exists whenever an actor is involved with an interaction described by a use case.
  • 28. Communication diagram • UML 2 Communication diagrams used to model the dynamic behavior of the use case. When compare to Sequence Diagram, the Communication Diagram is more focused on showing the collaboration of objects rather than the time sequence.
  • 30. Sequence diagram • UML 2 Sequence diagrams models the collaboration of objects based on a time sequence. It shows how the objects interact with others in a particular scenario of a use case.
  • 32. Timing diagram • UML 2 Timing diagrams shows the behavior of the objects in a given period of time. Timing diagram is a special form of a sequence diagram. The differences between timing diagram and sequence diagram are the axes are reversed so that the time are increase from left to right and the lifelines are shown in separate compartments arranged vertically.
  • 35. Interaction overview diagram • UML 2 Interaction overview diagrams focuses on the overview of the flow of control of the interactions. It is a variant of the Activity Diagram where the nodes are the interactions or interaction occurrences. It describes the interactions where messages and lifelines are hidden.
  • 39. References • http://www.agilemodeling.com/ • http://www.visual- paradigm.com/VPGallery/diagrams/index.html • http://bdn.borland.com/article/0,1410,31863,00. html • http://en.wikipedia.org/wiki/Unified_Modeling_L anguage • http://pigseye.kennesaw.edu/~dbraun/csis4650/ A&D/UML_tutorial/index.htm