SlideShare una empresa de Scribd logo
1 de 17
Object-Oriented Analysis and Design Using UML
Objectives


                In this session, you will learn to:
                   Identify the need, scope and building blocks of UML
                   Identify the types of UML diagrams




     Ver. 1.0                                                            Slide 1 of 17
Object-Oriented Analysis and Design Using UML
Overview of UML


               Unified Modeling Language (UML) is a standard language
               for creating blueprints that depicts structure and design of
               the software system.
               You can use UML for modeling systems that can range
               between enterprise information systems to distributed
               Web-based applications.
               There are several tools available, such as Rational Rose,
               Jude, AgroUML, Visio, and Poseidon, which you can use to
               design software systems by using UML.




    Ver. 1.0                                                        Slide 2 of 17
Object-Oriented Analysis and Design Using UML
Evolution of UML


                During the mid 1970s and late 1980s:
                   Object-oriented modeling languages were developed for
                   analysis and design of the software.
                    The most prominently used languages were:
                    – Booch’s Booch’93
                    – Jacobson’s Object Oriented Software Engineering (OOSE)
                    – Rumbaugh’s Object Modeling Technique-2 (OMT).
                – In October 1994, the unification of Booch’93, OMT, and OOSE
                  led to the release of version 0.9 and 0.91 of UML.




     Ver. 1.0                                                              Slide 3 of 17
Object-Oriented Analysis and Design Using UML
Scope of UML


               Rational Software Corporation defines UML as follows: “The
               Unified Modeling Language (UML) is a language for
               specifying, constructing, visualizing, and documenting the
               artifacts of a software-intensive system.”
               Artifacts include requirements, architecture, design in terms
               of classes, objects or interfaces, source code, tests,
               prototypes, and the software releases of a software system.
               UML can be defined as a language for:
                  Specifying artifacts
                  Visualizing artifacts
                  Constructing artifacts
                  Documenting artifacts




    Ver. 1.0                                                        Slide 4 of 17
Object-Oriented Analysis and Design Using UML
Building Blocks of UML


                UML building blocks include:
                – Basic UML constituents: Include the static, dynamic,
                  grouping, and annotational constituents of UML.
                – Relationships: Depict the relations between various
                  constituents of a UML model.
                – Diagrams: Represent the various artifacts of a system
                  graphically.




     Ver. 1.0                                                             Slide 5 of 17
Object-Oriented Analysis and Design Using UML
Identifying the Types of UML Diagrams


                UML provides the following thirteen diagrams to represent
                the structure and design of a software system:
                   Use case diagrams
                   Class diagrams
                   Object diagrams
                   Communication diagrams
                   Sequence diagrams
                   State Machine diagrams
                   Activity diagrams
                   Package Diagrams
                   Component diagrams




     Ver. 1.0                                                       Slide 6 of 17
Object-Oriented Analysis and Design Using UML
Identifying the Types of UML Diagrams (Contd.)


                Deployment diagrams
                Timing Diagrams
                Composite Structure Diagrams
                Interaction Overview Diagrams




     Ver. 1.0                                    Slide 7 of 17
Object-Oriented Analysis and Design Using UML
Defining Use Case Diagrams


                A use case diagram:
                   Depicts the various operations that a system performs.
                   Contains use cases, actors, and their relationships.



                                                   Order Parts




                           Inventory              Accept Supply
                          Department




     Ver. 1.0                                                               Slide 8 of 17
Object-Oriented Analysis and Design Using UML
Defining Class Diagrams


                • A class diagram represents a set of classes, interfaces, and
                  their relationships.




     Ver. 1.0                                                          Slide 9 of 17
Object-Oriented Analysis and Design Using UML
Defining Object Diagrams


                An object diagram represents an instance of a class
                diagram.




     Ver. 1.0                                                         Slide 10 of 17
Object-Oriented Analysis and Design Using UML
Defining Communication Diagrams


               Communication diagrams represent interaction between
               objects in the form of messages.



                              1. Places Order
                                                     supp1: Supplier



                               2. Supplies Order




                  Inventory
                 Department




    Ver. 1.0                                                           Slide 11 of 17
Object-Oriented Analysis and Design Using UML
Defining Sequence Diagrams


                Sequence diagrams represent interaction between objects
                in the form of messages ordered in sequence by time.
                          Inventory
                         Department

                                                          supp1: Supplier



                                      1. Places Order




                                      2. Supplies Order




     Ver. 1.0                                                               Slide 12 of 17
Object-Oriented Analysis and Design Using UML
Defining State Machine Diagrams


                A state machine diagram shows how a class reacts when
                an event occurs.



                                    Receive Supply
                  Out of Stock                           In Stock




     Ver. 1.0                                                       Slide 13 of 17
Object-Oriented Analysis and Design Using UML
Defining Activity Diagrams


                • Activities are a representation of various
                  operations performed by a class.
                • An activity diagram depicts the flow of
                  control from one activity to another.




     Ver. 1.0                                                  Slide 14 of 17
Object-Oriented Analysis and Design Using UML
Defining Package Diagrams


                All the interrelated classes and interfaces of the system
                when grouped together form a package.
                Package diagrams represent all these interrelated classes
                and interfaces.
                Package diagrams help in representing the various
                packages of a software system and the dependencies
                between them.




     Ver. 1.0                                                      Slide 15 of 17
Object-Oriented Analysis and Design Using UML
Defining Component Diagrams


               You combine packages or individual entities to form
               components.
               A component diagram depicts various components and their
               dependencies.

                     Order.cs




                                                     <<executable>>
                                                      Orderprocess


               processsupply.cs




    Ver. 1.0                                                          Slide 16 of 17
Object-Oriented Analysis and Design Using UML
Summary


               In this session, you learned that:
                  Unified Modeling Language (UML) is a standard language for
                  creating blueprints that depict the structure and design of the
                  software system. It is used to specify, visualize, construct, and
                  document the artifacts of a software system.
                  The building blocks of UML consist of basic constituents,
                  relationships, and diagrams. The basic constituents include the
                  structural, behavioral, grouping, and annotational constituents.
                  UML diagrams enable you to visualize the software system by
                  graphical representation of the various constituents.




    Ver. 1.0                                                              Slide 17 of 17

Más contenido relacionado

La actualidad más candente

13 ooad uml-17
13 ooad uml-1713 ooad uml-17
13 ooad uml-17Niit Care
 
10 ooad uml-13
10 ooad uml-1310 ooad uml-13
10 ooad uml-13Niit Care
 
12 ooad uml-16
12 ooad uml-1612 ooad uml-16
12 ooad uml-16Niit Care
 
11 ooad uml-14
11 ooad uml-1411 ooad uml-14
11 ooad uml-14Niit Care
 
Object-Oriented Application Frameworks
Object-Oriented Application FrameworksObject-Oriented Application Frameworks
Object-Oriented Application Frameworkskim.mens
 
Arch06 1
Arch06 1Arch06 1
Arch06 1nazn
 
Object oriented analysis and design
Object oriented analysis and designObject oriented analysis and design
Object oriented analysis and designnaveed428
 
Function oriented design
Function oriented designFunction oriented design
Function oriented designVidhun T
 
OO Development 3 - Models And UML
OO Development 3 - Models And UMLOO Development 3 - Models And UML
OO Development 3 - Models And UMLRandy Connolly
 
Unit 1- OOAD ppt
Unit 1- OOAD  pptUnit 1- OOAD  ppt
Unit 1- OOAD pptPRIANKA R
 
08 ooad uml-10
08 ooad uml-1008 ooad uml-10
08 ooad uml-10Niit Care
 
Object oriented methodology & unified modeling language
Object oriented methodology & unified modeling languageObject oriented methodology & unified modeling language
Object oriented methodology & unified modeling languageIsmail El Gayar
 
Lab # 06
Lab # 06Lab # 06
Lab # 06Mr SMAK
 
An Automatic Approach to Translate Use Cases to Sequence Diagrams
An Automatic Approach to Translate Use Cases to Sequence DiagramsAn Automatic Approach to Translate Use Cases to Sequence Diagrams
An Automatic Approach to Translate Use Cases to Sequence DiagramsMohammed Misbhauddin
 
UNIFIED MODELING LANGUAGE
UNIFIED MODELING LANGUAGEUNIFIED MODELING LANGUAGE
UNIFIED MODELING LANGUAGERaval Chirag
 

La actualidad más candente (19)

13 ooad uml-17
13 ooad uml-1713 ooad uml-17
13 ooad uml-17
 
10 ooad uml-13
10 ooad uml-1310 ooad uml-13
10 ooad uml-13
 
12 ooad uml-16
12 ooad uml-1612 ooad uml-16
12 ooad uml-16
 
11 ooad uml-14
11 ooad uml-1411 ooad uml-14
11 ooad uml-14
 
Object-Oriented Application Frameworks
Object-Oriented Application FrameworksObject-Oriented Application Frameworks
Object-Oriented Application Frameworks
 
Arch06 1
Arch06 1Arch06 1
Arch06 1
 
Object oriented analysis and design
Object oriented analysis and designObject oriented analysis and design
Object oriented analysis and design
 
Function oriented design
Function oriented designFunction oriented design
Function oriented design
 
OO Development 3 - Models And UML
OO Development 3 - Models And UMLOO Development 3 - Models And UML
OO Development 3 - Models And UML
 
Unified Modeling Language
Unified Modeling LanguageUnified Modeling Language
Unified Modeling Language
 
Unit 1- OOAD ppt
Unit 1- OOAD  pptUnit 1- OOAD  ppt
Unit 1- OOAD ppt
 
08 ooad uml-10
08 ooad uml-1008 ooad uml-10
08 ooad uml-10
 
Object oriented methodology & unified modeling language
Object oriented methodology & unified modeling languageObject oriented methodology & unified modeling language
Object oriented methodology & unified modeling language
 
Lab # 06
Lab # 06Lab # 06
Lab # 06
 
An Automatic Approach to Translate Use Cases to Sequence Diagrams
An Automatic Approach to Translate Use Cases to Sequence DiagramsAn Automatic Approach to Translate Use Cases to Sequence Diagrams
An Automatic Approach to Translate Use Cases to Sequence Diagrams
 
Seng 123 8-ooad
Seng 123 8-ooadSeng 123 8-ooad
Seng 123 8-ooad
 
UNIFIED MODELING LANGUAGE
UNIFIED MODELING LANGUAGEUNIFIED MODELING LANGUAGE
UNIFIED MODELING LANGUAGE
 
Uml
UmlUml
Uml
 
Unified Modeling Language
Unified Modeling LanguageUnified Modeling Language
Unified Modeling Language
 

Similar a 02 ooad uml-02

03 ooad-uml 03
03 ooad-uml 0303 ooad-uml 03
03 ooad-uml 03PujiHst
 
4.o o design tools=uml -_lecture 4
4.o o design tools=uml -_lecture 44.o o design tools=uml -_lecture 4
4.o o design tools=uml -_lecture 4Warui Maina
 
Uml Presentation
Uml PresentationUml Presentation
Uml Presentationanasz3z3
 
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 MODELLING LANGUAGE (UML)
UNIFIED MODELLING LANGUAGE (UML)UNIFIED MODELLING LANGUAGE (UML)
UNIFIED MODELLING LANGUAGE (UML)Shamsunder Malgikar
 
Understanding unified modelling language
Understanding unified modelling languageUnderstanding unified modelling language
Understanding unified modelling languageEmmanuel Kumah
 
Object Oriented Database
Object Oriented DatabaseObject Oriented Database
Object Oriented DatabaseMegan Espinoza
 
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.pdfssuser200e7a1
 
Object-oriented modeling and design.pdf
Object-oriented modeling and  design.pdfObject-oriented modeling and  design.pdf
Object-oriented modeling and design.pdfSHIVAM691605
 
Introduction to Unified Modeling Language
Introduction to Unified Modeling LanguageIntroduction to Unified Modeling Language
Introduction to Unified Modeling LanguageAMITJain879
 
PhD Core Paper Unit 5 _Part 1 Software Design and UML Use Case Modeling.pdf
PhD Core Paper Unit 5 _Part 1 Software Design and UML Use Case Modeling.pdfPhD Core Paper Unit 5 _Part 1 Software Design and UML Use Case Modeling.pdf
PhD Core Paper Unit 5 _Part 1 Software Design and UML Use Case Modeling.pdfJAYANTHIKANNAN8
 
Cs 2401 Unit 1
Cs 2401 Unit 1Cs 2401 Unit 1
Cs 2401 Unit 1Susan Cox
 
UML Modeling and Profiling Lab - Advanced Software Engineering Course 2014/2015
UML Modeling and Profiling Lab - Advanced Software Engineering Course 2014/2015UML Modeling and Profiling Lab - Advanced Software Engineering Course 2014/2015
UML Modeling and Profiling Lab - Advanced Software Engineering Course 2014/2015Luca Berardinelli
 
Chapter 3 UML Structured Diagrams.pptx
Chapter 3 UML Structured Diagrams.pptxChapter 3 UML Structured Diagrams.pptx
Chapter 3 UML Structured Diagrams.pptxditsinieves
 

Similar a 02 ooad uml-02 (20)

03 ooad-uml 03
03 ooad-uml 0303 ooad-uml 03
03 ooad-uml 03
 
4.o o design tools=uml -_lecture 4
4.o o design tools=uml -_lecture 44.o o design tools=uml -_lecture 4
4.o o design tools=uml -_lecture 4
 
Uml Presentation
Uml PresentationUml Presentation
Uml Presentation
 
Uml(unified modeling language) Homework Help
Uml(unified modeling language) Homework HelpUml(unified modeling language) Homework Help
Uml(unified modeling language) Homework Help
 
UNIFIED MODELLING LANGUAGE (UML)
UNIFIED MODELLING LANGUAGE (UML)UNIFIED MODELLING LANGUAGE (UML)
UNIFIED MODELLING LANGUAGE (UML)
 
Understanding unified modelling language
Understanding unified modelling languageUnderstanding unified modelling language
Understanding unified modelling language
 
Object Oriented Database
Object Oriented DatabaseObject Oriented Database
Object Oriented Database
 
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
 
Object-oriented modeling and design.pdf
Object-oriented modeling and  design.pdfObject-oriented modeling and  design.pdf
Object-oriented modeling and design.pdf
 
Introduction to Unified Modeling Language
Introduction to Unified Modeling LanguageIntroduction to Unified Modeling Language
Introduction to Unified Modeling Language
 
PhD Core Paper Unit 5 _Part 1 Software Design and UML Use Case Modeling.pdf
PhD Core Paper Unit 5 _Part 1 Software Design and UML Use Case Modeling.pdfPhD Core Paper Unit 5 _Part 1 Software Design and UML Use Case Modeling.pdf
PhD Core Paper Unit 5 _Part 1 Software Design and UML Use Case Modeling.pdf
 
Modeling software architecture with uml
Modeling software architecture with umlModeling software architecture with uml
Modeling software architecture with uml
 
4+1
4+14+1
4+1
 
Cs 2401 Unit 1
Cs 2401 Unit 1Cs 2401 Unit 1
Cs 2401 Unit 1
 
OOAD
OOADOOAD
OOAD
 
UML overview
UML overviewUML overview
UML overview
 
UML Modeling and Profiling Lab - Advanced Software Engineering Course 2014/2015
UML Modeling and Profiling Lab - Advanced Software Engineering Course 2014/2015UML Modeling and Profiling Lab - Advanced Software Engineering Course 2014/2015
UML Modeling and Profiling Lab - Advanced Software Engineering Course 2014/2015
 
Uml types
Uml typesUml types
Uml types
 
Uml.pptx
Uml.pptxUml.pptx
Uml.pptx
 
Chapter 3 UML Structured Diagrams.pptx
Chapter 3 UML Structured Diagrams.pptxChapter 3 UML Structured Diagrams.pptx
Chapter 3 UML Structured Diagrams.pptx
 

Más de Niit Care (20)

Ajs 1 b
Ajs 1 bAjs 1 b
Ajs 1 b
 
Ajs 4 b
Ajs 4 bAjs 4 b
Ajs 4 b
 
Ajs 4 a
Ajs 4 aAjs 4 a
Ajs 4 a
 
Ajs 4 c
Ajs 4 cAjs 4 c
Ajs 4 c
 
Ajs 3 b
Ajs 3 bAjs 3 b
Ajs 3 b
 
Ajs 3 a
Ajs 3 aAjs 3 a
Ajs 3 a
 
Ajs 3 c
Ajs 3 cAjs 3 c
Ajs 3 c
 
Ajs 2 b
Ajs 2 bAjs 2 b
Ajs 2 b
 
Ajs 2 a
Ajs 2 aAjs 2 a
Ajs 2 a
 
Ajs 2 c
Ajs 2 cAjs 2 c
Ajs 2 c
 
Ajs 1 a
Ajs 1 aAjs 1 a
Ajs 1 a
 
Ajs 1 c
Ajs 1 cAjs 1 c
Ajs 1 c
 
Dacj 4 2-c
Dacj 4 2-cDacj 4 2-c
Dacj 4 2-c
 
Dacj 4 2-b
Dacj 4 2-bDacj 4 2-b
Dacj 4 2-b
 
Dacj 4 2-a
Dacj 4 2-aDacj 4 2-a
Dacj 4 2-a
 
Dacj 4 1-c
Dacj 4 1-cDacj 4 1-c
Dacj 4 1-c
 
Dacj 4 1-b
Dacj 4 1-bDacj 4 1-b
Dacj 4 1-b
 
Dacj 4 1-a
Dacj 4 1-aDacj 4 1-a
Dacj 4 1-a
 
Dacj 1-2 b
Dacj 1-2 bDacj 1-2 b
Dacj 1-2 b
 
Dacj 1-3 c
Dacj 1-3 cDacj 1-3 c
Dacj 1-3 c
 

Último

AI+A11Y 11MAY2024 HYDERBAD GAAD 2024 - HelloA11Y (11 May 2024)
AI+A11Y 11MAY2024 HYDERBAD GAAD 2024 - HelloA11Y (11 May 2024)AI+A11Y 11MAY2024 HYDERBAD GAAD 2024 - HelloA11Y (11 May 2024)
AI+A11Y 11MAY2024 HYDERBAD GAAD 2024 - HelloA11Y (11 May 2024)Samir Dash
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfOrbitshub
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAndrey Devyatkin
 
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUKSpring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUKJago de Vreede
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native ApplicationsWSO2
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...Zilliz
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Orbitshub
 
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxRemote DBA Services
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Zilliz
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...apidays
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...apidays
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...apidays
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...apidays
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxRustici Software
 
Introduction to use of FHIR Documents in ABDM
Introduction to use of FHIR Documents in ABDMIntroduction to use of FHIR Documents in ABDM
Introduction to use of FHIR Documents in ABDMKumar Satyam
 

Último (20)

AI+A11Y 11MAY2024 HYDERBAD GAAD 2024 - HelloA11Y (11 May 2024)
AI+A11Y 11MAY2024 HYDERBAD GAAD 2024 - HelloA11Y (11 May 2024)AI+A11Y 11MAY2024 HYDERBAD GAAD 2024 - HelloA11Y (11 May 2024)
AI+A11Y 11MAY2024 HYDERBAD GAAD 2024 - HelloA11Y (11 May 2024)
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUKSpring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptx
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
Introduction to use of FHIR Documents in ABDM
Introduction to use of FHIR Documents in ABDMIntroduction to use of FHIR Documents in ABDM
Introduction to use of FHIR Documents in ABDM
 

02 ooad uml-02

  • 1. Object-Oriented Analysis and Design Using UML Objectives In this session, you will learn to: Identify the need, scope and building blocks of UML Identify the types of UML diagrams Ver. 1.0 Slide 1 of 17
  • 2. Object-Oriented Analysis and Design Using UML Overview of UML Unified Modeling Language (UML) is a standard language for creating blueprints that depicts structure and design of the software system. You can use UML for modeling systems that can range between enterprise information systems to distributed Web-based applications. There are several tools available, such as Rational Rose, Jude, AgroUML, Visio, and Poseidon, which you can use to design software systems by using UML. Ver. 1.0 Slide 2 of 17
  • 3. Object-Oriented Analysis and Design Using UML Evolution of UML During the mid 1970s and late 1980s: Object-oriented modeling languages were developed for analysis and design of the software. The most prominently used languages were: – Booch’s Booch’93 – Jacobson’s Object Oriented Software Engineering (OOSE) – Rumbaugh’s Object Modeling Technique-2 (OMT). – In October 1994, the unification of Booch’93, OMT, and OOSE led to the release of version 0.9 and 0.91 of UML. Ver. 1.0 Slide 3 of 17
  • 4. Object-Oriented Analysis and Design Using UML Scope of UML Rational Software Corporation defines UML as follows: “The Unified Modeling Language (UML) is a language for specifying, constructing, visualizing, and documenting the artifacts of a software-intensive system.” Artifacts include requirements, architecture, design in terms of classes, objects or interfaces, source code, tests, prototypes, and the software releases of a software system. UML can be defined as a language for: Specifying artifacts Visualizing artifacts Constructing artifacts Documenting artifacts Ver. 1.0 Slide 4 of 17
  • 5. Object-Oriented Analysis and Design Using UML Building Blocks of UML UML building blocks include: – Basic UML constituents: Include the static, dynamic, grouping, and annotational constituents of UML. – Relationships: Depict the relations between various constituents of a UML model. – Diagrams: Represent the various artifacts of a system graphically. Ver. 1.0 Slide 5 of 17
  • 6. Object-Oriented Analysis and Design Using UML Identifying the Types of UML Diagrams UML provides the following thirteen diagrams to represent the structure and design of a software system: Use case diagrams Class diagrams Object diagrams Communication diagrams Sequence diagrams State Machine diagrams Activity diagrams Package Diagrams Component diagrams Ver. 1.0 Slide 6 of 17
  • 7. Object-Oriented Analysis and Design Using UML Identifying the Types of UML Diagrams (Contd.) Deployment diagrams Timing Diagrams Composite Structure Diagrams Interaction Overview Diagrams Ver. 1.0 Slide 7 of 17
  • 8. Object-Oriented Analysis and Design Using UML Defining Use Case Diagrams A use case diagram: Depicts the various operations that a system performs. Contains use cases, actors, and their relationships. Order Parts Inventory Accept Supply Department Ver. 1.0 Slide 8 of 17
  • 9. Object-Oriented Analysis and Design Using UML Defining Class Diagrams • A class diagram represents a set of classes, interfaces, and their relationships. Ver. 1.0 Slide 9 of 17
  • 10. Object-Oriented Analysis and Design Using UML Defining Object Diagrams An object diagram represents an instance of a class diagram. Ver. 1.0 Slide 10 of 17
  • 11. Object-Oriented Analysis and Design Using UML Defining Communication Diagrams Communication diagrams represent interaction between objects in the form of messages. 1. Places Order supp1: Supplier 2. Supplies Order Inventory Department Ver. 1.0 Slide 11 of 17
  • 12. Object-Oriented Analysis and Design Using UML Defining Sequence Diagrams Sequence diagrams represent interaction between objects in the form of messages ordered in sequence by time. Inventory Department supp1: Supplier 1. Places Order 2. Supplies Order Ver. 1.0 Slide 12 of 17
  • 13. Object-Oriented Analysis and Design Using UML Defining State Machine Diagrams A state machine diagram shows how a class reacts when an event occurs. Receive Supply Out of Stock In Stock Ver. 1.0 Slide 13 of 17
  • 14. Object-Oriented Analysis and Design Using UML Defining Activity Diagrams • Activities are a representation of various operations performed by a class. • An activity diagram depicts the flow of control from one activity to another. Ver. 1.0 Slide 14 of 17
  • 15. Object-Oriented Analysis and Design Using UML Defining Package Diagrams All the interrelated classes and interfaces of the system when grouped together form a package. Package diagrams represent all these interrelated classes and interfaces. Package diagrams help in representing the various packages of a software system and the dependencies between them. Ver. 1.0 Slide 15 of 17
  • 16. Object-Oriented Analysis and Design Using UML Defining Component Diagrams You combine packages or individual entities to form components. A component diagram depicts various components and their dependencies. Order.cs <<executable>> Orderprocess processsupply.cs Ver. 1.0 Slide 16 of 17
  • 17. Object-Oriented Analysis and Design Using UML Summary In this session, you learned that: Unified Modeling Language (UML) is a standard language for creating blueprints that depict the structure and design of the software system. It is used to specify, visualize, construct, and document the artifacts of a software system. The building blocks of UML consist of basic constituents, relationships, and diagrams. The basic constituents include the structural, behavioral, grouping, and annotational constituents. UML diagrams enable you to visualize the software system by graphical representation of the various constituents. Ver. 1.0 Slide 17 of 17

Notas del editor

  1. Explain the session objectives to the students. Bring about the need of UML by providing the analogy of an architect who has acquired the contract of a building. Compare the analogy with designing software systems using UML.
  2. Initiate a discussion by asking the students the purpose of OOAD. Then explain that OOAD is a technique for analyzing the requirements and creating the design for a software system. Tell the students that UML is the standard language used for modeling the structure and design of a software system. UML provides a variety of diagrams to represent the structure and design of a software system. List the common UML tools available and tell the students that this course uses Microsoft Visio as the UML tool.
  3. List the three main modeling languages developed in the specified period. Tell the students that each of these languages had certain strengths and weaknesses. Booch’93 was efficient in projecting the software system during the design and construction phases. OOSE was more helpful in the requirements capturing and analysis phases. OMT was helpful for the analysis of data-intensive information systems. Because different languages were being used, all having their own strengths and weaknesses, the three languages were unified to create a single standard language. As a result, UML was formed. The initial version of UML was UML 0.9. Since then, several versions have been released. This course is based on UML 2.0.
  4. Explain the definition of UML as given by Rational Software Corporation. Tell the students that Rational Software Corporation has now been acquired by IBM and is now a division of IBM. Explain how UML can be used for specifying, visualizing, constructing, and documenting artifacts by using the information given in the student guide. After discussing the scope of UML, you can discuss the areas where UML may not be applicable. The following information throws more light on this topic. You use UML diagrams to visualize a system from various aspects. However, UML might not be useful in certain situations and, therefore, may not help depict a system completely. For example, UML does not provide any graphical notations to depict the screen flow diagrams. The screen flow diagrams depict the various graphical user interface (GUI) screens used in the software system and the flow between the screens . Similarly, you may find that UML is not suitable for developing models for function-oriented systems. UML is an object-oriented modeling technique that involves the design in terms of classes, objects, and their relationship, interaction, and states. Function-oriented systems do not involve the usage of classes or objects and, therefore, UML is not suitable for developing such software systems. Earlier versions of UML were not suitable for modeling real-time systems. This is because real-time systems require precise measurements to depict the request and response time, which are critical for the functioning of such systems. However, UML (1.x) diagrams do not provide notations for the request and response time. In UML 2.0, some new diagram types have been included to depict the design of real-time systems.
  5. Take up the building analogy to explain the constructs used to build UML models. For further details, refer the student guide.
  6. List the thirteen UML diagrams.
  7. Tell the students that three of these diagrams (Timing, Composite Structure, and Interaction Overview diagrams) were not there in earlier versions of UML and have been added in UML 2.0.
  8. Use the use case diagram given on the slide to explain the meaning and notations for actor, use case, and relationship.
  9. Use the class diagram given in the slide to explain the symbol for a class. Also explain attributes, methods, and relationships.
  10. Use the object diagram given on the slide to explain the symbol for an object. Tell the students that an object does not contain methods because methods remain same for all objects of a class.
  11. Use the communication diagram given on the slide to explain how messages flow between various objects.
  12. Use the sequence diagram given on the slide to explain how messages flow between various objects. Explain the difference between sequence diagrams and communication diagrams.
  13. Use the state machine diagram given on the slide to explain the transition between the states of a class.
  14. Use the activity diagram given on the slide to explain the flow of control from one activity to another.
  15. Explain the components of the package given in the figure. Tell the students that Supplier class and Order class have been combined to form the OrderSubmission Package.
  16. Explain the component diagram given on the slide by telling the students that the orderprocess executable component regulates the order and supply procedure. It depends on the order.cs file for placing an order and on the processupply.cs file for processing the supply received.
  17. Summarize the session by using the summary points given in the slide.