SlideShare a Scribd company logo
1 of 49
Unified Modeling Language Overview 1.  Object-orientation:  Terms and concepts. 2.  Use Cases:  Requirements model 3.  Class Diagram:  The static model 4.  Behavioral Modeling:  The four dynamic diagrams 5.  Implementation:  The two physical models Software and Language Technology Engineering IR&D
Introduction ,[object Object],[object Object],[object Object],[object Object]
Transitioning to Object-Orientation Functional Decomposition   vs.  Object-Orientation ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Object-Oriented Terms ,[object Object],[object Object],[object Object],[object Object]
Object-Oriented Terms (cont.) ,[object Object],[object Object],[object Object],[object Object]
An Example of a Class Employee Name DateOfBirth HomePhoneNo Title (etc.) listDepartmentsWorked() assignToSupervisior() computeVacation() listEmployees() (etc.) Class Name Attributes Operations
Object-Oriented Properties ,[object Object],[object Object],[object Object],[object Object]
Object-Oriented Properties (cont.)
Eight (or Nine, or Ten) UML Diagrams  ,[object Object],Requirements Behavioral view (dynamic) ,[object Object],[object Object],[object Object],[object Object],Implementation view ,[object Object],[object Object],Organize Models ,[object Object],[object Object],Static view ,[object Object],Class Instances Model
Use Cases ,[object Object],[object Object],[object Object],[object Object],Library System Check out books Read books, Newspapers Member Supplier Purchase Supplies Get Interlibrary loan
Class Diagram   ,[object Object],[object Object],[object Object]
Class Diagrams (cont.) ,[object Object],Boeing 737 length: meter fuelCapacity: Gal doors: int lift ( ) roll ( ) Boeing 737 Boeing 737 length: meter fuelCapacity: Gal doors: int thrust ( )
Object/Class Relationships ,[object Object],[object Object],[object Object],[object Object],[object Object],A Stronger Aggregation
UML Association Notation ,[object Object],BankAccount Person BankAccount Person ,[object Object]
UML Binary Association Notation ,[object Object],Company Person Works For employer employee Person Married To ,[object Object],[object Object],[object Object]
Qualifiers and Multiplicity ,[object Object],[object Object],. Bank Person accountNo 0..1 *
UML Association Class ,[object Object],[object Object],WorksFor Person employer employee Company salary
UML N-Ary Association ,[object Object],[object Object],GradeBook Student class Class grade exam lab Year semester * * * student
Generalization Relationships ,[object Object],[object Object],Vehicle Bus Truck Car Boeing 737 BoeingAirplane Boeing 757 Boeing 767 Shared target style Separate target style
Aggregation Relationships ,[object Object],[object Object],Player class Team 1 * Consists Of
UML Composition ,[object Object],Car 4 Wheel Light Door Engine 4, 10 2, 5 1 1 1 1 1 nested composition graphical composition Wheel 4 Door 2,5 Engine 1 Car 4,10 Light
Object Diagram   ,[object Object],[object Object],[object Object],[object Object],[object Object]
Four UML Behavior Diagrams  ,[object Object],[object Object],[object Object],[object Object],[object Object],*Object Interaction Diagram
Sequence Diagram  ,[object Object],Telephone  Call dialTone( ) : Exchange : Receiver : Caller offHook( ) ringTone( ) dialNumber( ) : Talk offHook( ) onHook( ) breakConnection( ) onHook( )
Collaboration Diagram ,[object Object],ATM Machine:Definition Checking Account Account Bank Client 5: Process Transaction 8: Transaction succeed 4:  Enter Amount 13: Terminate 1:  Request Kind 2:  Enter Kind 3:  Request Amount 9:  Dispense Cash 10: Request Take Cash 11: Take Cash 12: Request Continuation 14: Print Receipt 7: Withdraw Successful 6: Withdraw Checking Account
UML Statechart Diagram ,[object Object],[object Object],[object Object]
Idle lift receiver and get dial tone Idle State Dialing Substates Dialing Start Dial entry and start dialog exit / stop dial tone entry and  num.append(n) digit(n) num.isValid( )
UML Activity Diagram ,[object Object],[object Object],[object Object],[object Object]
Activity Diagram with Swimlanes Office Clerk Insurance Agent Loan Officer Edit Incoming Paper Complete Request Check Life insurance Draw Up Deed Calculate Mortgage Pay Provision to Agent Write Insurance Policy Index documents
Component diagrams   User Interface Update Access ,[object Object]
Deployment Diagram ,[object Object]
A Package and Its Contents ,[object Object],GradeBook Student class Class grade exam lab Year semester * * * student GradeNoteBook
Notes in UML ,[object Object],[object Object],Represents an incorporated entity Person Company employee employer Static models & revision levels released yesterday
Recap: The UML Diagrams  ,[object Object],Requirements Behavioral view (dynamic) ,[object Object],[object Object],[object Object],[object Object],Implementation view ,[object Object],[object Object],Organizing the Model ,[object Object],Static view ,[object Object],[object Object]
Recap: The UML Diagrams  ,[object Object],Requirements Behavioral view (dynamic) ,[object Object],[object Object],[object Object],[object Object],Implementation view ,[object Object],[object Object],Organize Models ,[object Object],[object Object],Static view ,[object Object],Class Instances Model
Diagrams in View Context Structural View Implementation View User View Behavioral View Environment View Class Diagrams Object Diagrams Sequence Diagrams Collaboration Diagrams Statechart Diagrams Activity Diagrams Component Diagrams Deployment Diagrams Use Case Diagrams
A Very Few Resources ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Typical UML Models/Diagrams ,[object Object],[object Object],[object Object],[object Object],[object Object],The SoSE modeling suite will be used by the System Architecture Team to capture the system requirements and architecture for system development.
Class Diagram Format actor class interface relationship system class boundary system class System Class: An abstract representation of the SoS, System, Subsystem or Configuration Item (e.g., a class of ship, airplane, truck, satellite, HWCI, or CSCI). Actor Class: An abstract role represented by an individual or a group of individuals, organizations, or external systems that interact with the system class. system class
Actor and Use Case Format actor class value or service relationship use case system boundary Use Case Name should be a statement of the goal (or service) desired by the actor expressed as an active verb and a quantifiable noun (e.g., start engines and maneuver satellite).
Use Case Diagram Example Regional Commander
Activity Diagram Format activity stop actor action classes activity flow path start swim lanes
Activity Diagram Example for Monitor Area Use Case : Regional Commander : Mobil Command Center (MCC) : AWACS
State Chart Diagram Format start state transition stop transition transition state
State Chart Diagram Example Startup Surveillance Planning Engagement Sensors Tasked Target Reported Course of Action Determined Target Report Mission Completed Mission Initiated
Sequence Diagram Format Interactions actor initiates action classes actor receives response
Sequence Diagram Example
Collaboration Diagrams Format actor initiates action actor receives response interactions
Collaboration Diagram Example : Regional Commander

More Related Content

What's hot

UML Diagram @ Software engineering discussion
UML Diagram @ Software engineering discussionUML Diagram @ Software engineering discussion
UML Diagram @ Software engineering discussion
CherryBerry2
 
Uml Presentation
Uml PresentationUml Presentation
Uml Presentation
mewaseem
 
UML for OOAD
UML for OOADUML for OOAD
UML for OOAD
Dang Tuan
 
Object oriented methodology & unified modeling language
Object oriented methodology & unified modeling languageObject oriented methodology & unified modeling language
Object oriented methodology & unified modeling language
Ismail El Gayar
 
Object and class relationships
Object and class relationshipsObject and class relationships
Object and class relationships
Pooja mittal
 
Object oriented software engineering concepts
Object oriented software engineering conceptsObject oriented software engineering concepts
Object oriented software engineering concepts
Komal Singh
 

What's hot (20)

UML Diagram @ Software engineering discussion
UML Diagram @ Software engineering discussionUML Diagram @ Software engineering discussion
UML Diagram @ Software engineering discussion
 
Uml Presentation
Uml PresentationUml Presentation
Uml Presentation
 
Uml
UmlUml
Uml
 
34. uml
34. uml34. uml
34. uml
 
Object Oriented Design
Object Oriented DesignObject Oriented Design
Object Oriented Design
 
analysis and design with uml
analysis and design with umlanalysis and design with uml
analysis and design with uml
 
Object Oriented Modeling and Design with UML
Object Oriented Modeling and Design with UMLObject Oriented Modeling and Design with UML
Object Oriented Modeling and Design with UML
 
UML for OOAD
UML for OOADUML for OOAD
UML for OOAD
 
Domain Modeling
Domain ModelingDomain Modeling
Domain Modeling
 
Object oriented methodology & unified modeling language
Object oriented methodology & unified modeling languageObject oriented methodology & unified modeling language
Object oriented methodology & unified modeling language
 
Lecture-03 Introduction to UML
Lecture-03 Introduction to UMLLecture-03 Introduction to UML
Lecture-03 Introduction to UML
 
Uml unified-modeling-language-presented by dileep
Uml unified-modeling-language-presented by dileepUml unified-modeling-language-presented by dileep
Uml unified-modeling-language-presented by dileep
 
Software Engineering :UML class diagrams
Software Engineering :UML class diagramsSoftware Engineering :UML class diagrams
Software Engineering :UML class diagrams
 
Ooad unit 1
Ooad unit 1Ooad unit 1
Ooad unit 1
 
Unified Modeling Language
Unified Modeling LanguageUnified Modeling Language
Unified Modeling Language
 
Object and class relationships
Object and class relationshipsObject and class relationships
Object and class relationships
 
Object oriented software engineering concepts
Object oriented software engineering conceptsObject oriented software engineering concepts
Object oriented software engineering concepts
 
Uml in software engineering
Uml in software engineeringUml in software engineering
Uml in software engineering
 
Uml
UmlUml
Uml
 
unified modelling language(UML) diagrams
unified modelling language(UML) diagramsunified modelling language(UML) diagrams
unified modelling language(UML) diagrams
 

Viewers also liked

08 ooad uml-10
08 ooad uml-1008 ooad uml-10
08 ooad uml-10
Niit Care
 
10 ooad uml-13
10 ooad uml-1310 ooad uml-13
10 ooad uml-13
Niit Care
 
11 ooad uml-14
11 ooad uml-1411 ooad uml-14
11 ooad uml-14
Niit Care
 
Software Engineering - Ch1
Software Engineering - Ch1Software Engineering - Ch1
Software Engineering - Ch1
Siddharth Ayer
 

Viewers also liked (20)

Ooad lab manual
Ooad lab manualOoad lab manual
Ooad lab manual
 
08 ooad uml-10
08 ooad uml-1008 ooad uml-10
08 ooad uml-10
 
Cse
CseCse
Cse
 
Introduction to QuickBooks
Introduction to QuickBooksIntroduction to QuickBooks
Introduction to QuickBooks
 
10 ooad uml-13
10 ooad uml-1310 ooad uml-13
10 ooad uml-13
 
Use case model
Use case modelUse case model
Use case model
 
Fundamentals of QuickBooks
Fundamentals of QuickBooksFundamentals of QuickBooks
Fundamentals of QuickBooks
 
11 ooad uml-14
11 ooad uml-1411 ooad uml-14
11 ooad uml-14
 
Ooad 3
Ooad 3Ooad 3
Ooad 3
 
25 quickbooks tips
25   quickbooks tips25   quickbooks tips
25 quickbooks tips
 
Quickbook Complete notes
Quickbook Complete notesQuickbook Complete notes
Quickbook Complete notes
 
Seq uml
Seq umlSeq uml
Seq uml
 
Bressenham’s Midpoint Circle Drawing Algorithm
Bressenham’s Midpoint Circle Drawing AlgorithmBressenham’s Midpoint Circle Drawing Algorithm
Bressenham’s Midpoint Circle Drawing Algorithm
 
Testing
TestingTesting
Testing
 
Software Engineering - Ch1
Software Engineering - Ch1Software Engineering - Ch1
Software Engineering - Ch1
 
UML daigrams for Bank ATM system
UML daigrams for Bank ATM systemUML daigrams for Bank ATM system
UML daigrams for Bank ATM system
 
Atm Simulator
Atm SimulatorAtm Simulator
Atm Simulator
 
Bozorgmeh os lab
Bozorgmeh os labBozorgmeh os lab
Bozorgmeh os lab
 
Lab2
Lab2Lab2
Lab2
 
work order of logic laboratory
work order of logic laboratory work order of logic laboratory
work order of logic laboratory
 

Similar to Intro Uml

UML_Lecture.pptxnd bfdjjrnekdddkeeeenekejneje
UML_Lecture.pptxnd bfdjjrnekdddkeeeenekejnejeUML_Lecture.pptxnd bfdjjrnekdddkeeeenekejneje
UML_Lecture.pptxnd bfdjjrnekdddkeeeenekejneje
ssusera6a60c1
 
ASP.NET System design 2
ASP.NET System design 2ASP.NET System design 2
ASP.NET System design 2
Sisir Ghosh
 
08 class and sequence diagrams
08   class and sequence diagrams08   class and sequence diagrams
08 class and sequence diagrams
kebsterz
 
Object-oriented modeling and design.pdf
Object-oriented modeling and  design.pdfObject-oriented modeling and  design.pdf
Object-oriented modeling and design.pdf
SHIVAM691605
 
MC0083 – Object Oriented Analysis &. Design using UML - Master of Computer Sc...
MC0083 – Object Oriented Analysis &. Design using UML - Master of Computer Sc...MC0083 – Object Oriented Analysis &. Design using UML - Master of Computer Sc...
MC0083 – Object Oriented Analysis &. Design using UML - Master of Computer Sc...
Aravind NC
 

Similar to Intro Uml (20)

Fundamentals of Software Engineering
Fundamentals of Software Engineering Fundamentals of Software Engineering
Fundamentals of Software Engineering
 
432
432432
432
 
uml2-1214558329929112-8.ppt
uml2-1214558329929112-8.pptuml2-1214558329929112-8.ppt
uml2-1214558329929112-8.ppt
 
UML_Lecture.pptxnd bfdjjrnekdddkeeeenekejneje
UML_Lecture.pptxnd bfdjjrnekdddkeeeenekejnejeUML_Lecture.pptxnd bfdjjrnekdddkeeeenekejneje
UML_Lecture.pptxnd bfdjjrnekdddkeeeenekejneje
 
Unified Modelling Language
Unified Modelling LanguageUnified Modelling Language
Unified Modelling Language
 
Unified Modeling Language
Unified Modeling LanguageUnified Modeling Language
Unified Modeling Language
 
ASP.NET System design 2
ASP.NET System design 2ASP.NET System design 2
ASP.NET System design 2
 
CASE Tools lab.ppt
CASE Tools lab.pptCASE Tools lab.ppt
CASE Tools lab.ppt
 
Uml lecture
Uml lectureUml lecture
Uml lecture
 
Uml introduciton
Uml introducitonUml introduciton
Uml introduciton
 
ooAD
ooADooAD
ooAD
 
08 class and sequence diagrams
08   class and sequence diagrams08   class and sequence diagrams
08 class and sequence diagrams
 
Object-oriented modeling and design.pdf
Object-oriented modeling and  design.pdfObject-oriented modeling and  design.pdf
Object-oriented modeling and design.pdf
 
2 class use case
2 class use case2 class use case
2 class use case
 
Uml report
Uml reportUml report
Uml report
 
MC0083 – Object Oriented Analysis &. Design using UML - Master of Computer Sc...
MC0083 – Object Oriented Analysis &. Design using UML - Master of Computer Sc...MC0083 – Object Oriented Analysis &. Design using UML - Master of Computer Sc...
MC0083 – Object Oriented Analysis &. Design using UML - Master of Computer Sc...
 
UML-Advanced Software Engineering
UML-Advanced Software EngineeringUML-Advanced Software Engineering
UML-Advanced Software Engineering
 
Ooad
OoadOoad
Ooad
 
Ch 2.1
Ch 2.1Ch 2.1
Ch 2.1
 
UML and Software Modeling Tools.pptx
UML and Software Modeling Tools.pptxUML and Software Modeling Tools.pptx
UML and Software Modeling Tools.pptx
 

Recently uploaded

Recently uploaded (20)

Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Evaluating the top large language models.pdf
Evaluating the top large language models.pdfEvaluating the top large language models.pdf
Evaluating the top large language models.pdf
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdf
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 

Intro Uml

  • 1. Unified Modeling Language Overview 1. Object-orientation: Terms and concepts. 2. Use Cases: Requirements model 3. Class Diagram: The static model 4. Behavioral Modeling: The four dynamic diagrams 5. Implementation: The two physical models Software and Language Technology Engineering IR&D
  • 2.
  • 3.
  • 4.
  • 5.
  • 6. An Example of a Class Employee Name DateOfBirth HomePhoneNo Title (etc.) listDepartmentsWorked() assignToSupervisior() computeVacation() listEmployees() (etc.) Class Name Attributes Operations
  • 7.
  • 9.
  • 10.
  • 11.
  • 12.
  • 13.
  • 14.
  • 15.
  • 16.
  • 17.
  • 18.
  • 19.
  • 20.
  • 21.
  • 22.
  • 23.
  • 24.
  • 25.
  • 26.
  • 27. Idle lift receiver and get dial tone Idle State Dialing Substates Dialing Start Dial entry and start dialog exit / stop dial tone entry and num.append(n) digit(n) num.isValid( )
  • 28.
  • 29. Activity Diagram with Swimlanes Office Clerk Insurance Agent Loan Officer Edit Incoming Paper Complete Request Check Life insurance Draw Up Deed Calculate Mortgage Pay Provision to Agent Write Insurance Policy Index documents
  • 30.
  • 31.
  • 32.
  • 33.
  • 34.
  • 35.
  • 36. Diagrams in View Context Structural View Implementation View User View Behavioral View Environment View Class Diagrams Object Diagrams Sequence Diagrams Collaboration Diagrams Statechart Diagrams Activity Diagrams Component Diagrams Deployment Diagrams Use Case Diagrams
  • 37.
  • 38.
  • 39. Class Diagram Format actor class interface relationship system class boundary system class System Class: An abstract representation of the SoS, System, Subsystem or Configuration Item (e.g., a class of ship, airplane, truck, satellite, HWCI, or CSCI). Actor Class: An abstract role represented by an individual or a group of individuals, organizations, or external systems that interact with the system class. system class
  • 40. Actor and Use Case Format actor class value or service relationship use case system boundary Use Case Name should be a statement of the goal (or service) desired by the actor expressed as an active verb and a quantifiable noun (e.g., start engines and maneuver satellite).
  • 41. Use Case Diagram Example Regional Commander
  • 42. Activity Diagram Format activity stop actor action classes activity flow path start swim lanes
  • 43. Activity Diagram Example for Monitor Area Use Case : Regional Commander : Mobil Command Center (MCC) : AWACS
  • 44. State Chart Diagram Format start state transition stop transition transition state
  • 45. State Chart Diagram Example Startup Surveillance Planning Engagement Sensors Tasked Target Reported Course of Action Determined Target Report Mission Completed Mission Initiated
  • 46. Sequence Diagram Format Interactions actor initiates action classes actor receives response
  • 48. Collaboration Diagrams Format actor initiates action actor receives response interactions
  • 49. Collaboration Diagram Example : Regional Commander

Editor's Notes

  1. This is a brief introduction to the Unified Modeling Language. Before looking into the UML we will recap a few principles and terms of object-orientation. We’ll then look at each of the eight different UML diagrams and show where they are used in the system development life cycle.