SlideShare a Scribd company logo
1 of 17
Slide 1 of 17Ver. 1.0
Object-Oriented Analysis and Design Using UML
In this session, you will learn to:
Identify the need, scope and building blocks of UML
Identify the types of UML diagrams
Objectives
Slide 2 of 17Ver. 1.0
Object-Oriented Analysis and Design Using 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.
Overview of UML
Slide 3 of 17Ver. 1.0
Object-Oriented Analysis and Design Using 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.
Evolution of UML
Slide 4 of 17Ver. 1.0
Object-Oriented Analysis and Design Using 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
Scope of UML
Slide 5 of 17Ver. 1.0
Object-Oriented Analysis and Design Using 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.
Building Blocks of UML
Slide 6 of 17Ver. 1.0
Object-Oriented Analysis and Design Using UML
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
Identifying the Types of UML Diagrams
Slide 7 of 17Ver. 1.0
Object-Oriented Analysis and Design Using UML
Deployment diagrams
Timing Diagrams
Composite Structure Diagrams
Interaction Overview Diagrams
Identifying the Types of UML Diagrams (Contd.)
Slide 8 of 17Ver. 1.0
Object-Oriented Analysis and Design Using UML
A use case diagram:
Depicts the various operations that a system performs.
Contains use cases, actors, and their relationships.
Defining Use Case Diagrams
Inventory
Department
Order Parts
Accept Supply
Slide 9 of 17Ver. 1.0
Object-Oriented Analysis and Design Using UML
A class diagram represents a set of classes, interfaces, and
their relationships.
Defining Class Diagrams
Supplier
scode
name
city
supply()
receivepayment()
Parts
pcode
name
qty_ordered
qty_received
qty_rejected
order()
received()
updateinventory()
Slide 10 of 17Ver. 1.0
Object-Oriented Analysis and Design Using UML
An object diagram represents an instance of a class
diagram.
Defining Object Diagrams
Slide 11 of 17Ver. 1.0
Object-Oriented Analysis and Design Using UML
Communication diagrams represent interaction between
objects in the form of messages.
Defining Communication Diagrams
Inventory
Department
supp1: Supplier
1. Places Order
2. Supplies Order
Slide 12 of 17Ver. 1.0
Object-Oriented Analysis and Design Using UML
Sequence diagrams represent interaction between objects
in the form of messages ordered in sequence by time.
Defining Sequence Diagrams
Inventory
Department
supp1: Supplier
1. Places Order
2. Supplies Order
Slide 13 of 17Ver. 1.0
Object-Oriented Analysis and Design Using UML
A state machine diagram shows how a class reacts when
an event occurs.
Defining State Machine Diagrams
Out of Stock In Stock
Receive Supply
Slide 14 of 17Ver. 1.0
Object-Oriented Analysis and Design Using UML
Activities are a representation of various
operations performed by a class.
An activity diagram depicts the flow of
control from one activity to another.
Defining Activity Diagrams
Slide 15 of 17Ver. 1.0
Object-Oriented Analysis and Design Using UML
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.
Defining Package Diagrams
Slide 16 of 17Ver. 1.0
Object-Oriented Analysis and Design Using UML
You combine packages or individual entities to form
components.
A component diagram depicts various components and their
dependencies.
Defining Component Diagrams
Order.cs
processsupply.cs
<<executable>>
Orderprocess
Slide 17 of 17Ver. 1.0
Object-Oriented Analysis and Design Using UML
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.
Summary

More Related Content

What's hot

UNIFIED MODELLING LANGUAGE (UML)
UNIFIED MODELLING LANGUAGE (UML)UNIFIED MODELLING LANGUAGE (UML)
UNIFIED MODELLING LANGUAGE (UML)Shamsunder Malgikar
 
Component and Deployment Diagram - Brief Overview
Component and Deployment Diagram - Brief OverviewComponent and Deployment Diagram - Brief Overview
Component and Deployment Diagram - Brief OverviewRajiv Kumar
 
Uml(unified modeling language) Homework Help
Uml(unified modeling language) Homework HelpUml(unified modeling language) Homework Help
Uml(unified modeling language) Homework HelpSteve Nash
 
UNIFIED MODELING LANGUAGE
UNIFIED MODELING LANGUAGEUNIFIED MODELING LANGUAGE
UNIFIED MODELING LANGUAGERaval Chirag
 
UML and Case study
UML and Case study UML and Case study
UML and Case study Mihika-QA
 
Deployment Diagram Example Templates
Deployment Diagram Example TemplatesDeployment Diagram Example Templates
Deployment Diagram Example TemplatesCreately
 
Uml with detail
Uml with detailUml with detail
Uml with detailHamza Khan
 
10 component diagram
10 component diagram10 component diagram
10 component diagramBaskarkncet
 
UML and Software Modeling Tools.pptx
UML and Software Modeling Tools.pptxUML and Software Modeling Tools.pptx
UML and Software Modeling Tools.pptxNwabueze Obioma
 
Interaction overview and Profile UML Diagrams
Interaction overview and Profile UML DiagramsInteraction overview and Profile UML Diagrams
Interaction overview and Profile UML DiagramsHusnain Safdar
 
Book of Uml
Book of UmlBook of Uml
Book of UmlNiit
 
05 ooad uml-05
05 ooad uml-0505 ooad uml-05
05 ooad uml-05Niit Care
 

What's hot (20)

Uml types
Uml typesUml types
Uml types
 
Component Diagram
Component DiagramComponent Diagram
Component Diagram
 
UNIFIED MODELLING LANGUAGE (UML)
UNIFIED MODELLING LANGUAGE (UML)UNIFIED MODELLING LANGUAGE (UML)
UNIFIED MODELLING LANGUAGE (UML)
 
Component and Deployment Diagram - Brief Overview
Component and Deployment Diagram - Brief OverviewComponent and Deployment Diagram - Brief Overview
Component and Deployment Diagram - Brief Overview
 
Uml(unified modeling language) Homework Help
Uml(unified modeling language) Homework HelpUml(unified modeling language) Homework Help
Uml(unified modeling language) Homework Help
 
Case Study Uml
Case Study UmlCase Study Uml
Case Study Uml
 
UNIFIED MODELING LANGUAGE
UNIFIED MODELING LANGUAGEUNIFIED MODELING LANGUAGE
UNIFIED MODELING LANGUAGE
 
UML and Case study
UML and Case study UML and Case study
UML and Case study
 
UML
UMLUML
UML
 
Chapter9
Chapter9Chapter9
Chapter9
 
Uml diagrams
Uml diagramsUml diagrams
Uml diagrams
 
Deployment Diagram Example Templates
Deployment Diagram Example TemplatesDeployment Diagram Example Templates
Deployment Diagram Example Templates
 
Uml introduciton
Uml introducitonUml introduciton
Uml introduciton
 
Uml with detail
Uml with detailUml with detail
Uml with detail
 
10 component diagram
10 component diagram10 component diagram
10 component diagram
 
Uml overview modified
Uml overview modifiedUml overview modified
Uml overview modified
 
UML and Software Modeling Tools.pptx
UML and Software Modeling Tools.pptxUML and Software Modeling Tools.pptx
UML and Software Modeling Tools.pptx
 
Interaction overview and Profile UML Diagrams
Interaction overview and Profile UML DiagramsInteraction overview and Profile UML Diagrams
Interaction overview and Profile UML Diagrams
 
Book of Uml
Book of UmlBook of Uml
Book of Uml
 
05 ooad uml-05
05 ooad uml-0505 ooad uml-05
05 ooad uml-05
 

Viewers also liked

Production of 1-Tetradecene at 100 tons per year
Production of 1-Tetradecene at 100 tons per yearProduction of 1-Tetradecene at 100 tons per year
Production of 1-Tetradecene at 100 tons per yearaman_hb
 
X pages day発表_20141118
X pages day発表_20141118X pages day発表_20141118
X pages day発表_20141118Takashi Yamori
 
Dr. Almerindo Graziano - log maturity-compressed
Dr. Almerindo Graziano - log maturity-compressedDr. Almerindo Graziano - log maturity-compressed
Dr. Almerindo Graziano - log maturity-compressedpromediakw
 
Magazine analysis
Magazine analysis    Magazine analysis
Magazine analysis Amir Mohseny
 
Analisa morfologi barium heksaferit dengan sem
Analisa morfologi barium heksaferit  dengan semAnalisa morfologi barium heksaferit  dengan sem
Analisa morfologi barium heksaferit dengan semnandasari
 
2014 2nd me cloud conference trust in the cloud v01
2014 2nd me cloud conference trust in the cloud v012014 2nd me cloud conference trust in the cloud v01
2014 2nd me cloud conference trust in the cloud v01promediakw
 
Environmentally sensitive areas
Environmentally sensitive areasEnvironmentally sensitive areas
Environmentally sensitive areasgscplanning
 

Viewers also liked (20)

Production of 1-Tetradecene at 100 tons per year
Production of 1-Tetradecene at 100 tons per yearProduction of 1-Tetradecene at 100 tons per year
Production of 1-Tetradecene at 100 tons per year
 
Lr1 3 n
Lr1 3 nLr1 3 n
Lr1 3 n
 
X pages day発表_20141118
X pages day発表_20141118X pages day発表_20141118
X pages day発表_20141118
 
Health kpi
Health kpiHealth kpi
Health kpi
 
Passive voice
Passive voicePassive voice
Passive voice
 
Gremio 2015
Gremio 2015Gremio 2015
Gremio 2015
 
Dr. Almerindo Graziano - log maturity-compressed
Dr. Almerindo Graziano - log maturity-compressedDr. Almerindo Graziano - log maturity-compressed
Dr. Almerindo Graziano - log maturity-compressed
 
Trabajo informatica
Trabajo informaticaTrabajo informatica
Trabajo informatica
 
Definition of a kpi
Definition of a kpiDefinition of a kpi
Definition of a kpi
 
Cash for gold company canada
Cash for gold company canadaCash for gold company canada
Cash for gold company canada
 
Social etiquette file
Social etiquette fileSocial etiquette file
Social etiquette file
 
bahasa cinta
bahasa cintabahasa cinta
bahasa cinta
 
Magazine analysis
Magazine analysis    Magazine analysis
Magazine analysis
 
Analisa morfologi barium heksaferit dengan sem
Analisa morfologi barium heksaferit  dengan semAnalisa morfologi barium heksaferit  dengan sem
Analisa morfologi barium heksaferit dengan sem
 
2014 2nd me cloud conference trust in the cloud v01
2014 2nd me cloud conference trust in the cloud v012014 2nd me cloud conference trust in the cloud v01
2014 2nd me cloud conference trust in the cloud v01
 
Lr2n
Lr2nLr2n
Lr2n
 
Geoff's Gym
Geoff's GymGeoff's Gym
Geoff's Gym
 
Media Buy
Media BuyMedia Buy
Media Buy
 
Delivery kpi
Delivery kpiDelivery kpi
Delivery kpi
 
Environmentally sensitive areas
Environmentally sensitive areasEnvironmentally sensitive areas
Environmentally sensitive areas
 

Similar to 03 ooad-uml 03

02 ooad uml-02
02 ooad uml-0202 ooad uml-02
02 ooad uml-02Niit Care
 
Uml Presentation
Uml PresentationUml Presentation
Uml Presentationanasz3z3
 
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
 
Introduction to Unified Modeling Language
Introduction to Unified Modeling LanguageIntroduction to Unified Modeling Language
Introduction to Unified Modeling LanguageAMITJain879
 
18540PhDreport.pdf
18540PhDreport.pdf18540PhDreport.pdf
18540PhDreport.pdfTaraTrends
 
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
 
Introduction To Uml
Introduction To UmlIntroduction To Uml
Introduction To Umlguest514814
 
Software Engineering Tools and Practices.pdf
Software Engineering Tools and Practices.pdfSoftware Engineering Tools and Practices.pdf
Software Engineering Tools and Practices.pdfMeagGhn
 
Understanding unified modelling language
Understanding unified modelling languageUnderstanding unified modelling language
Understanding unified modelling languageEmmanuel Kumah
 
Cs 2401 Unit 1
Cs 2401 Unit 1Cs 2401 Unit 1
Cs 2401 Unit 1Susan Cox
 
10 ooad uml-13
10 ooad uml-1310 ooad uml-13
10 ooad uml-13Niit Care
 
Unified modeling language diagrams
Unified modeling language diagramsUnified modeling language diagrams
Unified modeling language diagramsAlaa Ahmed
 

Similar to 03 ooad-uml 03 (20)

02 ooad uml-02
02 ooad uml-0202 ooad uml-02
02 ooad uml-02
 
Uml Presentation
Uml PresentationUml Presentation
Uml Presentation
 
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
 
Introduction to Unified Modeling Language
Introduction to Unified Modeling LanguageIntroduction to Unified Modeling Language
Introduction to Unified Modeling Language
 
18540PhDreport.pdf
18540PhDreport.pdf18540PhDreport.pdf
18540PhDreport.pdf
 
ooAD
ooADooAD
ooAD
 
Modeling software architecture with uml
Modeling software architecture with umlModeling software architecture with uml
Modeling software architecture with uml
 
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
 
Introduction To Uml
Introduction To UmlIntroduction To Uml
Introduction To Uml
 
Software Engineering Tools and Practices.pdf
Software Engineering Tools and Practices.pdfSoftware Engineering Tools and Practices.pdf
Software Engineering Tools and Practices.pdf
 
0136061257
01360612570136061257
0136061257
 
Understanding unified modelling language
Understanding unified modelling languageUnderstanding unified modelling language
Understanding unified modelling language
 
Cs 2401 Unit 1
Cs 2401 Unit 1Cs 2401 Unit 1
Cs 2401 Unit 1
 
10 ooad uml-13
10 ooad uml-1310 ooad uml-13
10 ooad uml-13
 
Unified modeling language diagrams
Unified modeling language diagramsUnified modeling language diagrams
Unified modeling language diagrams
 
Chapter1
Chapter1Chapter1
Chapter1
 
Presentation on uml
Presentation on umlPresentation on uml
Presentation on uml
 
Design UML diagrams
Design UML diagramsDesign UML diagrams
Design UML diagrams
 
Design UML diagrams
Design UML diagramsDesign UML diagrams
Design UML diagrams
 
Uml introduction
Uml introductionUml introduction
Uml introduction
 

Recently uploaded

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
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentInMediaRes1
 
Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...jaredbarbolino94
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon AUnboundStockton
 
AmericanHighSchoolsprezentacijaoskolama.
AmericanHighSchoolsprezentacijaoskolama.AmericanHighSchoolsprezentacijaoskolama.
AmericanHighSchoolsprezentacijaoskolama.arsicmarija21
 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfSumit Tiwari
 
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfLike-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfMr Bounab Samir
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Celine George
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdfssuser54595a
 
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...JhezDiaz1
 
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfFraming an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfUjwalaBharambe
 
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
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatYousafMalik24
 
Hierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementHierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementmkooblal
 
MARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized GroupMARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized GroupJonathanParaisoCruz
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxOH TEIK BIN
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxiammrhaywood
 
Meghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media ComponentMeghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media ComponentInMediaRes1
 

Recently uploaded (20)

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
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media Component
 
Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon A
 
AmericanHighSchoolsprezentacijaoskolama.
AmericanHighSchoolsprezentacijaoskolama.AmericanHighSchoolsprezentacijaoskolama.
AmericanHighSchoolsprezentacijaoskolama.
 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
 
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfLike-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
 
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
 
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfFraming an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
 
OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...
 
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
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice great
 
Hierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementHierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of management
 
MARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized GroupMARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized Group
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptx
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
 
9953330565 Low Rate Call Girls In Rohini Delhi NCR
9953330565 Low Rate Call Girls In Rohini  Delhi NCR9953330565 Low Rate Call Girls In Rohini  Delhi NCR
9953330565 Low Rate Call Girls In Rohini Delhi NCR
 
Meghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media ComponentMeghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media Component
 

03 ooad-uml 03

  • 1. Slide 1 of 17Ver. 1.0 Object-Oriented Analysis and Design Using UML In this session, you will learn to: Identify the need, scope and building blocks of UML Identify the types of UML diagrams Objectives
  • 2. Slide 2 of 17Ver. 1.0 Object-Oriented Analysis and Design Using 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. Overview of UML
  • 3. Slide 3 of 17Ver. 1.0 Object-Oriented Analysis and Design Using 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. Evolution of UML
  • 4. Slide 4 of 17Ver. 1.0 Object-Oriented Analysis and Design Using 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 Scope of UML
  • 5. Slide 5 of 17Ver. 1.0 Object-Oriented Analysis and Design Using 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. Building Blocks of UML
  • 6. Slide 6 of 17Ver. 1.0 Object-Oriented Analysis and Design Using UML 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 Identifying the Types of UML Diagrams
  • 7. Slide 7 of 17Ver. 1.0 Object-Oriented Analysis and Design Using UML Deployment diagrams Timing Diagrams Composite Structure Diagrams Interaction Overview Diagrams Identifying the Types of UML Diagrams (Contd.)
  • 8. Slide 8 of 17Ver. 1.0 Object-Oriented Analysis and Design Using UML A use case diagram: Depicts the various operations that a system performs. Contains use cases, actors, and their relationships. Defining Use Case Diagrams Inventory Department Order Parts Accept Supply
  • 9. Slide 9 of 17Ver. 1.0 Object-Oriented Analysis and Design Using UML A class diagram represents a set of classes, interfaces, and their relationships. Defining Class Diagrams Supplier scode name city supply() receivepayment() Parts pcode name qty_ordered qty_received qty_rejected order() received() updateinventory()
  • 10. Slide 10 of 17Ver. 1.0 Object-Oriented Analysis and Design Using UML An object diagram represents an instance of a class diagram. Defining Object Diagrams
  • 11. Slide 11 of 17Ver. 1.0 Object-Oriented Analysis and Design Using UML Communication diagrams represent interaction between objects in the form of messages. Defining Communication Diagrams Inventory Department supp1: Supplier 1. Places Order 2. Supplies Order
  • 12. Slide 12 of 17Ver. 1.0 Object-Oriented Analysis and Design Using UML Sequence diagrams represent interaction between objects in the form of messages ordered in sequence by time. Defining Sequence Diagrams Inventory Department supp1: Supplier 1. Places Order 2. Supplies Order
  • 13. Slide 13 of 17Ver. 1.0 Object-Oriented Analysis and Design Using UML A state machine diagram shows how a class reacts when an event occurs. Defining State Machine Diagrams Out of Stock In Stock Receive Supply
  • 14. Slide 14 of 17Ver. 1.0 Object-Oriented Analysis and Design Using UML Activities are a representation of various operations performed by a class. An activity diagram depicts the flow of control from one activity to another. Defining Activity Diagrams
  • 15. Slide 15 of 17Ver. 1.0 Object-Oriented Analysis and Design Using UML 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. Defining Package Diagrams
  • 16. Slide 16 of 17Ver. 1.0 Object-Oriented Analysis and Design Using UML You combine packages or individual entities to form components. A component diagram depicts various components and their dependencies. Defining Component Diagrams Order.cs processsupply.cs <<executable>> Orderprocess
  • 17. Slide 17 of 17Ver. 1.0 Object-Oriented Analysis and Design Using UML 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. Summary

Editor's Notes

  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.