SlideShare une entreprise Scribd logo
1  sur  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
                                              Behavioral
Structural
                                                      : behavioral features of a system / business
                                                      process
    : element of spec. irrespective of time
                                              •       Activity
                                              •       State machine
•   Class
                                              •       Use case
•   Component
                                              •       Interaction
•   Deployment
•   Object
•   Composite structure                           Interaction
                                                         : emphasize object interaction
•   Package
                                                  •      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.h
  tml
• http://en.wikipedia.org/wiki/Unified_Modeling_La
  nguage
• http://pigseye.kennesaw.edu/~dbraun/csis4650/
  A&D/UML_tutorial/index.htm

Contenu connexe

Tendances

Object Oriented Analysis and Design
Object Oriented Analysis and DesignObject Oriented Analysis and Design
Object Oriented Analysis and Design
Haitham El-Ghareeb
 
Uml Presentation
Uml PresentationUml Presentation
Uml Presentation
mewaseem
 
INTRODUCTION TO UML DIAGRAMS
INTRODUCTION TO UML DIAGRAMSINTRODUCTION TO UML DIAGRAMS
INTRODUCTION TO UML DIAGRAMS
Ashita Agrawal
 

Tendances (20)

Overview of UML Diagrams
Overview of UML DiagramsOverview of UML Diagrams
Overview of UML Diagrams
 
Uml - An Overview
Uml - An OverviewUml - An Overview
Uml - An Overview
 
Object Oriented Analysis and Design
Object Oriented Analysis and DesignObject Oriented Analysis and Design
Object Oriented Analysis and Design
 
Uml Presentation
Uml PresentationUml Presentation
Uml Presentation
 
Uml with detail
Uml with detailUml with detail
Uml with detail
 
Uml Presentation
Uml PresentationUml Presentation
Uml Presentation
 
Use case diagram
Use case diagramUse case diagram
Use case diagram
 
Uml
UmlUml
Uml
 
INTRODUCTION TO UML DIAGRAMS
INTRODUCTION TO UML DIAGRAMSINTRODUCTION TO UML DIAGRAMS
INTRODUCTION TO UML DIAGRAMS
 
State Diagrams
State DiagramsState Diagrams
State Diagrams
 
Activity Diagram
Activity DiagramActivity Diagram
Activity Diagram
 
Collaboration Diagram
Collaboration DiagramCollaboration Diagram
Collaboration Diagram
 
Use Case Diagram
Use Case DiagramUse Case Diagram
Use Case Diagram
 
Software design
Software designSoftware design
Software design
 
Use Case Diagram
Use Case DiagramUse Case Diagram
Use Case Diagram
 
Object Oriented Analysis & Design
Object Oriented Analysis & DesignObject Oriented Analysis & Design
Object Oriented Analysis & Design
 
11 deployment diagrams
11 deployment diagrams11 deployment diagrams
11 deployment diagrams
 
State chart diagram
State chart diagramState chart diagram
State chart diagram
 
UML and Software Modeling Tools.pptx
UML and Software Modeling Tools.pptxUML and Software Modeling Tools.pptx
UML and Software Modeling Tools.pptx
 
Unit 2(advanced class modeling & state diagram)
Unit  2(advanced class modeling & state diagram)Unit  2(advanced class modeling & state diagram)
Unit 2(advanced class modeling & state diagram)
 

En vedette (6)

UML3
UML3UML3
UML3
 
Interaction overview & Timing diagram
Interaction overview & Timing diagramInteraction overview & Timing diagram
Interaction overview & Timing diagram
 
2010 - Einführung in die UML - Seitenbau Developer Convention
2010 -  Einführung in die UML - Seitenbau Developer Convention2010 -  Einführung in die UML - Seitenbau Developer Convention
2010 - Einführung in die UML - Seitenbau Developer Convention
 
CM uml-diag-dynamiques-interaction
CM uml-diag-dynamiques-interactionCM uml-diag-dynamiques-interaction
CM uml-diag-dynamiques-interaction
 
Uml2
Uml2Uml2
Uml2
 
Uml upxp2
Uml upxp2Uml upxp2
Uml upxp2
 

Similaire à Uml diagrams

UML Diagrams.ppt
UML Diagrams.pptUML Diagrams.ppt
UML Diagrams.ppt
jeyasrig
 
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
SukhmanSingh91
 
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
viju001
 

Similaire à Uml diagrams (20)

Uml Diagrams
Uml DiagramsUml Diagrams
Uml Diagrams
 
UML Diagrams_UNIT III.ppt
UML Diagrams_UNIT III.pptUML Diagrams_UNIT III.ppt
UML Diagrams_UNIT III.ppt
 
UML Diagrams.ppt
UML Diagrams.pptUML Diagrams.ppt
UML Diagrams.ppt
 
Class diagrams are a type of UML (Unified Modeling Language) diagram used in ...
Class diagrams are a type of UML (Unified Modeling Language) diagram used in ...Class diagrams are a type of UML (Unified Modeling Language) diagram used in ...
Class diagrams are a type of UML (Unified Modeling Language) diagram used in ...
 
Lect-4: UML diagrams - Unified Modeling Language - SPM
Lect-4: UML diagrams - Unified Modeling Language - SPMLect-4: UML diagrams - Unified Modeling Language - SPM
Lect-4: UML diagrams - Unified Modeling Language - SPM
 
UML Diagrams.ppt
UML Diagrams.pptUML Diagrams.ppt
UML Diagrams.ppt
 
Intoduction to uml
Intoduction to umlIntoduction to uml
Intoduction to uml
 
Modeling software with UML
Modeling software with UMLModeling software with UML
Modeling software with UML
 
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
 
Case Study Uml
Case Study UmlCase Study Uml
Case Study Uml
 
Uml diagrams
Uml diagramsUml diagrams
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
 
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
 
Uml
UmlUml
Uml
 
Case stydy cs701
Case stydy cs701 Case stydy cs701
Case stydy cs701
 
UML tutorial
UML tutorialUML tutorial
UML tutorial
 
R1x g02 enterprise architecture i
R1x g02 enterprise architecture iR1x g02 enterprise architecture i
R1x g02 enterprise architecture i
 
Understanding unified modelling language
Understanding unified modelling languageUnderstanding unified modelling language
Understanding unified modelling language
 
Design UML diagrams
Design UML diagramsDesign UML diagrams
Design UML diagrams
 
Design UML diagrams
Design UML diagramsDesign UML diagrams
Design UML diagrams
 

Dernier

1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
QucHHunhnh
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
ZurliaSoop
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
negromaestrong
 

Dernier (20)

Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdf
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxSKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
Dyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptxDyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptx
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
 
Magic bus Group work1and 2 (Team 3).pptx
Magic bus Group work1and 2 (Team 3).pptxMagic bus Group work1and 2 (Team 3).pptx
Magic bus Group work1and 2 (Team 3).pptx
 
Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...
 

Uml diagrams

  • 1. UML Diagrams Jung Woo
  • 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 Behavioral Structural : behavioral features of a system / business process : element of spec. irrespective of time • Activity • State machine • Class • Use case • Component • Interaction • Deployment • Object • Composite structure Interaction : emphasize object interaction • Package • 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.h tml • http://en.wikipedia.org/wiki/Unified_Modeling_La nguage • http://pigseye.kennesaw.edu/~dbraun/csis4650/ A&D/UML_tutorial/index.htm

Notes de l'éditeur

  1. Dashed oval : collaboration , rectangular : instances of any type of classifier, including classes, objects, or interfaces
  2. Dashed oval : collaboration , rectangular : instances of any type of classifier, including classes, objects, or interfaces
  3. A swimlane is a way to group activities performed by the same actor on an activity diagram or to group activities in a single thread.
  4. Dashed oval : collaboration , rectangular : instances of any type of classifier, including classes, objects, or interfaces
  5. Dashed oval : collaboration , rectangular : instances of any type of classifier, including classes, objects, or interfaces
  6. Dashed oval : collaboration , rectangular : instances of any type of classifier, including classes, objects, or interfaces
  7. Dashed oval : collaboration , rectangular : instances of any type of classifier, including classes, objects, or interfaces
  8. Dashed oval : collaboration , rectangular : instances of any type of classifier, including classes, objects, or interfaces
  9. Dashed oval : collaboration , rectangular : instances of any type of classifier, including classes, objects, or interfaces