SlideShare a Scribd company logo
UNIT I UML DIAGRAMS
Introduction to OOAD – Unified Process –
UML diagrams – Use Case – Class Diagrams–
Interaction Diagrams – State Diagrams –
Activity Diagrams –
Package, component and Deployment Diagrams.
Unified Modeling Language (UML)
Standard Visual Modeling Language
For specifying, visualizing, constructing, and
documenting the artifacts of s/w systems,
as well as for business modeling and
other non-software systems
About UML
• UML is a standard modeling language, not a software
development process.
• In 1997 UML was adopted as a standard by the Object
Management Group (OMG)
• In 2005 UML was published by the International Organization
for Standardization (ISO) as an approved ISO standard
UML Support OO Software
• UML is generally used to model OO s/w applications
• OO design is transformed into UML diagrams
– According to the requirement.
• Input from the OO analysis and design is
– The input to the UML diagrams.
Three Ways to Apply UML
• UML as Sketch – Informal and incomplete diagrams
– Created to explore the difficult parts of the problem
• UML as Blueprint – Relatively detailed design diagrams used either for
1. Reverse engineering
(to visualize & better understand existing code in UML diagrams)
2. Code Generation (forward engineering)
• UML as Programming Language
– Complete executable specification of a s/w system in UML
– Executable code will be automatically generated
• Agile modeling emphasizes UML as Sketch.
– Consider an agile modeling approach to apply UML
Three Perspective to Apply UML
• Conceptual Perspective
– Diagrams are interpreted as describing things of the real world
• Specification (s/w) Perspective
– Diagrams describe s/w abstractions or components with specifications & interfaces,
– But no commitment to a particular implementation
(for example, not specifically a class in C# or Java)
• Implementation (s/w) Perspective
– Diagrams describe s/w implementations in a particular technology
(such as java)
Different Perspective with UML
Conceptual Perspective
(domain model )
Raw UML class diagram
notation used to visualize
real-world concepts .
Specification or
Implementation
Perspective
(design class diagram )
Raw UML class diagram
notation used to visualize
software elements .
2
Die
faceValue : int
getFaceValue() : int
roll()
DiceGame
die1 : Die
die2 : Die
play()
DiceGame Die
faceValue
Includes 21
Domain Model shows a conceptual perspective
Design Model shows a specification or implementation perspective
“Class” in Different Perspectives
• Rectangular boxes are classes.
– But they can be physical things, abstract concepts, software things, events, …
• A method can be applies to alternative terminologies
• For example, in Unified Process (UP),
– When UML boxes are drawn in Domain Model, they are called as conceptual class
(or domain concept)
– When UML boxes are drawn in Design Model, they are called as design class
“Class” in Different Perspectives
• Use class-related terms consistent with the UML and the UP :
1. Conceptual class
– Represents the real-world concept or thing
– UP Domain Model contains conceptual classes
2. Software class
– A class representing a specification or implementation perspective of s/w
component
3. Implementation class
– A class implemented in a specific OO language (such as Java)
02 uml

More Related Content

PPTX
Chapter 9:Representing Object-Oriented Concepts with UML
PPT
Object oriented analysis & Design- Overview
ODP
A brief look inside UML
PPT
PPT
Object Oriented Analysis and Design - Overview
PPT
Uml1 concepts
PPT
UML (Hemant rajak)
DOCX
Uml Common Mechanism
Chapter 9:Representing Object-Oriented Concepts with UML
Object oriented analysis & Design- Overview
A brief look inside UML
Object Oriented Analysis and Design - Overview
Uml1 concepts
UML (Hemant rajak)
Uml Common Mechanism

What's hot (19)

PPTX
Object oriented analysis and design
PPTX
Uml basics
PPTX
Uml Diagrams for Web Developers
PPT
Object Oriented Analysis and Design
PPT
OOAD UNIT I UML DIAGRAMS
PPTX
Uml BSE
PDF
Lecture 4-oop class diagram
PPSX
MDE in Practice
PPTX
modeling concepts
PPT
Information Systems Analysis and Design Overview of OOAD, UML, and RUP
PPT
Ooad overview
PPS
01 ooad uml-01
PPTX
Enhancement of Action Description Language for UML Activity Diagram Review
PPT
Unit 4 designing classes
PDF
Using MDE for the Formal Verification of Embedded Systems Modeled by UML Se...
PPTX
UML overview
PPTX
Class Diagrams
PPT
Ecmfa2013
PDF
CS8592-OOAD Lecture Notes Unit-1
Object oriented analysis and design
Uml basics
Uml Diagrams for Web Developers
Object Oriented Analysis and Design
OOAD UNIT I UML DIAGRAMS
Uml BSE
Lecture 4-oop class diagram
MDE in Practice
modeling concepts
Information Systems Analysis and Design Overview of OOAD, UML, and RUP
Ooad overview
01 ooad uml-01
Enhancement of Action Description Language for UML Activity Diagram Review
Unit 4 designing classes
Using MDE for the Formal Verification of Embedded Systems Modeled by UML Se...
UML overview
Class Diagrams
Ecmfa2013
CS8592-OOAD Lecture Notes Unit-1
Ad

Similar to 02 uml (20)

PDF
UNIFIED MODELING LANGUAGE
PPT
object oriented modelng and design-unit-ii-cgpa.ppt
PPTX
UML Modeling and Profiling Lab - Advanced Software Engineering Course 2014/2015
PPTX
06-unit-iintrouml25sep2015-160901172758.pptx
PPTX
3.UML Diagrams.pptx
PPTX
What is UML (Unified Modeling Language)?
PPT
IntroductionToUML.ppt
PPT
Object Oriented Analysis and Design Unit-1
PPT
SE UML.ppt
PDF
Object Oriented Analysis Design using UML
PPTX
Uml assignment help
PPTX
Uml Presentation
PDF
4 (uml basic)
PPT
Unit-II(STATIC UML DIAGRAMS).ppt
PPTX
SDAM a ddnd mmdmsmfkvskkejj sehfjvksxkmwnejjfjbjsnenfPRESENTATION.pptx
PDF
Case stydy cs701
DOCX
Ooad unit 1
PPT
Executable UML and SysML Workshop
UNIFIED MODELING LANGUAGE
object oriented modelng and design-unit-ii-cgpa.ppt
UML Modeling and Profiling Lab - Advanced Software Engineering Course 2014/2015
06-unit-iintrouml25sep2015-160901172758.pptx
3.UML Diagrams.pptx
What is UML (Unified Modeling Language)?
IntroductionToUML.ppt
Object Oriented Analysis and Design Unit-1
SE UML.ppt
Object Oriented Analysis Design using UML
Uml assignment help
Uml Presentation
4 (uml basic)
Unit-II(STATIC UML DIAGRAMS).ppt
SDAM a ddnd mmdmsmfkvskkejj sehfjvksxkmwnejjfjbjsnenfPRESENTATION.pptx
Case stydy cs701
Ooad unit 1
Executable UML and SysML Workshop
Ad

More from Baskarkncet (20)

PPTX
Unit_I.pptx
PPTX
Cocomo model
PPTX
Unit 1
PPT
PPT
03 x files
PPT
03 namespace
PPT
02 xml schema
PPT
02 well formed and valid documents
PPT
00 introduction
PPT
01 xml document structure
PPT
11 deployment diagrams
PPT
10 component diagram
PPT
09 package diagram
PPT
08 state diagram and activity diagram
PPT
07 interaction diagrams
PPT
06 class diagrams
PPT
05 use case
PPT
03 unified process
PPT
04 uml diagrams
PPT
01 introduction
Unit_I.pptx
Cocomo model
Unit 1
03 x files
03 namespace
02 xml schema
02 well formed and valid documents
00 introduction
01 xml document structure
11 deployment diagrams
10 component diagram
09 package diagram
08 state diagram and activity diagram
07 interaction diagrams
06 class diagrams
05 use case
03 unified process
04 uml diagrams
01 introduction

Recently uploaded (20)

PPTX
Amdahl’s law is explained in the above power point presentations
PPTX
Fundamentals of Mechanical Engineering.pptx
PDF
Level 2 – IBM Data and AI Fundamentals (1)_v1.1.PDF
PDF
Soil Improvement Techniques Note - Rabbi
PPTX
AUTOMOTIVE ENGINE MANAGEMENT (MECHATRONICS).pptx
PDF
Accra-Kumasi Expressway - Prefeasibility Report Volume 1 of 7.11.2018.pdf
PPTX
Management Information system : MIS-e-Business Systems.pptx
PDF
EXPLORING LEARNING ENGAGEMENT FACTORS INFLUENCING BEHAVIORAL, COGNITIVE, AND ...
PDF
BIO-INSPIRED HORMONAL MODULATION AND ADAPTIVE ORCHESTRATION IN S-AI-GPT
PDF
distributed database system" (DDBS) is often used to refer to both the distri...
PDF
BIO-INSPIRED ARCHITECTURE FOR PARSIMONIOUS CONVERSATIONAL INTELLIGENCE : THE ...
PPTX
Chemical Technological Processes, Feasibility Study and Chemical Process Indu...
PDF
ChapteR012372321DFGDSFGDFGDFSGDFGDFGDFGSDFGDFGFD
PDF
Abrasive, erosive and cavitation wear.pdf
PPTX
ASME PCC-02 TRAINING -DESKTOP-NLE5HNP.pptx
PDF
Improvement effect of pyrolyzed agro-food biochar on the properties of.pdf
PDF
Artificial Superintelligence (ASI) Alliance Vision Paper.pdf
PDF
22EC502-MICROCONTROLLER AND INTERFACING-8051 MICROCONTROLLER.pdf
PDF
SMART SIGNAL TIMING FOR URBAN INTERSECTIONS USING REAL-TIME VEHICLE DETECTI...
PPTX
Current and future trends in Computer Vision.pptx
Amdahl’s law is explained in the above power point presentations
Fundamentals of Mechanical Engineering.pptx
Level 2 – IBM Data and AI Fundamentals (1)_v1.1.PDF
Soil Improvement Techniques Note - Rabbi
AUTOMOTIVE ENGINE MANAGEMENT (MECHATRONICS).pptx
Accra-Kumasi Expressway - Prefeasibility Report Volume 1 of 7.11.2018.pdf
Management Information system : MIS-e-Business Systems.pptx
EXPLORING LEARNING ENGAGEMENT FACTORS INFLUENCING BEHAVIORAL, COGNITIVE, AND ...
BIO-INSPIRED HORMONAL MODULATION AND ADAPTIVE ORCHESTRATION IN S-AI-GPT
distributed database system" (DDBS) is often used to refer to both the distri...
BIO-INSPIRED ARCHITECTURE FOR PARSIMONIOUS CONVERSATIONAL INTELLIGENCE : THE ...
Chemical Technological Processes, Feasibility Study and Chemical Process Indu...
ChapteR012372321DFGDSFGDFGDFSGDFGDFGDFGSDFGDFGFD
Abrasive, erosive and cavitation wear.pdf
ASME PCC-02 TRAINING -DESKTOP-NLE5HNP.pptx
Improvement effect of pyrolyzed agro-food biochar on the properties of.pdf
Artificial Superintelligence (ASI) Alliance Vision Paper.pdf
22EC502-MICROCONTROLLER AND INTERFACING-8051 MICROCONTROLLER.pdf
SMART SIGNAL TIMING FOR URBAN INTERSECTIONS USING REAL-TIME VEHICLE DETECTI...
Current and future trends in Computer Vision.pptx

02 uml

  • 1. UNIT I UML DIAGRAMS Introduction to OOAD – Unified Process – UML diagrams – Use Case – Class Diagrams– Interaction Diagrams – State Diagrams – Activity Diagrams – Package, component and Deployment Diagrams.
  • 2. Unified Modeling Language (UML) Standard Visual Modeling Language For specifying, visualizing, constructing, and documenting the artifacts of s/w systems, as well as for business modeling and other non-software systems
  • 3. About UML • UML is a standard modeling language, not a software development process. • In 1997 UML was adopted as a standard by the Object Management Group (OMG) • In 2005 UML was published by the International Organization for Standardization (ISO) as an approved ISO standard
  • 4. UML Support OO Software • UML is generally used to model OO s/w applications • OO design is transformed into UML diagrams – According to the requirement. • Input from the OO analysis and design is – The input to the UML diagrams.
  • 5. Three Ways to Apply UML • UML as Sketch – Informal and incomplete diagrams – Created to explore the difficult parts of the problem • UML as Blueprint – Relatively detailed design diagrams used either for 1. Reverse engineering (to visualize & better understand existing code in UML diagrams) 2. Code Generation (forward engineering) • UML as Programming Language – Complete executable specification of a s/w system in UML – Executable code will be automatically generated • Agile modeling emphasizes UML as Sketch. – Consider an agile modeling approach to apply UML
  • 6. Three Perspective to Apply UML • Conceptual Perspective – Diagrams are interpreted as describing things of the real world • Specification (s/w) Perspective – Diagrams describe s/w abstractions or components with specifications & interfaces, – But no commitment to a particular implementation (for example, not specifically a class in C# or Java) • Implementation (s/w) Perspective – Diagrams describe s/w implementations in a particular technology (such as java)
  • 7. Different Perspective with UML Conceptual Perspective (domain model ) Raw UML class diagram notation used to visualize real-world concepts . Specification or Implementation Perspective (design class diagram ) Raw UML class diagram notation used to visualize software elements . 2 Die faceValue : int getFaceValue() : int roll() DiceGame die1 : Die die2 : Die play() DiceGame Die faceValue Includes 21 Domain Model shows a conceptual perspective Design Model shows a specification or implementation perspective
  • 8. “Class” in Different Perspectives • Rectangular boxes are classes. – But they can be physical things, abstract concepts, software things, events, … • A method can be applies to alternative terminologies • For example, in Unified Process (UP), – When UML boxes are drawn in Domain Model, they are called as conceptual class (or domain concept) – When UML boxes are drawn in Design Model, they are called as design class
  • 9. “Class” in Different Perspectives • Use class-related terms consistent with the UML and the UP : 1. Conceptual class – Represents the real-world concept or thing – UP Domain Model contains conceptual classes 2. Software class – A class representing a specification or implementation perspective of s/w component 3. Implementation class – A class implemented in a specific OO language (such as Java)