SlideShare una empresa de Scribd logo
1 de 48
Module 2: Introduction to UML ,[object Object],[object Object],[object Object],[object Object]
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],UML History pre-UML UML 1.x UML 2.0
Unified  Modeling Language (UML) ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],de facto  industry standard
UML is for Visual Modeling Business Process Places Order Item Ships the Item - standard graphical notations:  Semi-formal - for modeling  enterprise info. systems, distributed Web-based applications, real time embedded systems, … A picture is worth a thousand words! via Fulfill Order Customer Sales  Representative ,[object Object],[object Object],[object Object],[object Object]
Three (3) basic  building blocks  of UML  (cf. Harry) ,[object Object],[object Object],[object Object],Just glance thru for now Water Rivers Oceans Fish Penguins Crocodiles Fresh water Salt water have have have live in have have
[object Object],[object Object],[object Object],[object Object],[object Object],3 basic building blocks of UML -  Things Main
[object Object],[object Object],Structural  Things  in UML-  7 Kinds  (Classifiers) Student std_id grade changeLevel( ) setGrade( ) getGrade( ) IGrade Manage Course Registration Register for Courses Event Mgr thread time Start suspend( ) stop( ) Course.cpp Class Interface Collaboration Use Case Active Class  (processes / threads) Component Node UnivWebServer <<interface>> IGrade setGrade() getGrade() (collection of externally Visible ops) (chain of responsibility  shared by a web of interacting objects,  structural and behavioral) ,[object Object],[object Object],[object Object],(replaceable part, realizes interfaces) (computational  resource at run-time, processing power w. memory)
Behavioral  Things  in UML ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],ask-for-an-A ,[object Object],[object Object],inParty inStudy harry: Student  name = “Harry Kid” katie: Professor  name = “Katie Holmes” received-an-A/ buy-beer sober/turn-on-PC
Grouping  Things  in UML:  Packages - For organizing elements (structural/behavioral) into groups. - Purely conceptual; only exists at development time. - Can be nested. -  Variations of packages are: Frameworks, models, & subsystems. Course Manager Annotational  Things  in UML:  Note - Explanatory/Comment parts of UML models - usually called adornments  - Expressed in informal or formal text. flexible drop-out dates Course Manager University Administration Student Admission -Student +Department operation() {for all g in children g.operation() }
3 basic building blocks of UML  -  Relationships 1.  Associations Structural  relationship that describes a set of links, a link being a connection between objects. 4.  Dependency a change to one thing (independent) may affect the semantics of the other thing (dependent). (direction, label are optional) variants:  aggregation & composition 2.  Generalization a specialized element (the child) is more specific the generalized element. 3.  Realization one element guarantees to carry out what is expected by the other element.  (e.g, interfaces and classes/components; use cases and collaborations) Student University Student Person Student IGrade Student harry: Student <<instanceOf>> attends
3 basic building blocks of UML   -  Diagrams A connected graph: Vertices are things; Arcs are relationships/behaviors. UML 2.0: 12 diagram types ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],UML 1.x: 9 diagram types .
Diagrams  in UML  ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],What’s most important?
Diagrams  in UML –  Actors  in  Use Case  Diagram ,[object Object],Student Registrar Professor Billing System ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Diagrams  in UML –  Use Cases  in  Use Case  Diagram Student Registrar Professor Billing System ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],Maintain Curriculum Request Course Roster Register for Courses Set Course Offerings
Diagrams  in UML –  Use Case  Diagram ,[object Object],Student Registrar Professor Billing System Maintain Curriculum Request Course Roster Register for Courses Set Course Offerings system boundary Manage Seminar Anything wrong? UTD Registration System
Diagrams  in UML  -   Uses  and  Extends  in Use Case Diagram ,[object Object],[object Object],Register for courses <<uses>> Logon validation <<uses>> Maintain curriculum Register for  Distance Learning courses <<extends>> Create course <<uses>> Maintain Schedule <<uses>>
Diagrams  in UML  –   Flow of Events for each use case:  Typical contents: How the use case starts and ends Normal flow of events (focus on the normal first!) Alternate/Exceptional flow of events ,[object Object],[object Object],[object Object],[object Object],Flow of Events for Creating a Course Registrar Create Course
Diagrams  in UML  – Interaction Diagrams ,[object Object],[object Object],[object Object],[object Object],[object Object],A use case diagram presents an  outside  view of the system. Then, how about the  inside  view of the system?
Diagrams  in UML  -  Sequence  Diagram ,[object Object],1: set course info 2: request processing 3: add course 4: <<create>> : Registrar course form :  CourseForm theManager :  CurriculumManager aCourse :  Course This use case begins after the Registrar logs onto the Registration System with a valid password.  The  registrar  fills in the  course form  with the appropriate semester and course related info.  The Registrar requests the system to process the course form. The system creates a new  course , and this use case ends  Registrar Create Course Traceability!
Diagrams  in UML  –  Collaboration  (Communication) ,[object Object],[object Object],: Registrar course form:  CourseForm theManager :  CurriculumManager aCourse:  Course 1: set course info 2: request processing 3: add course 4: <<create>> 1: set course info 2: request processing 3: add course 4: <<create>> : Registrar course form :  CourseForm theManager :  CurriculumManager aCourse:  Course Traceability!
Diagrams  in UML  –  Collaboration  (Communication) ,[object Object],: Student registration  form registration  manager math 101 1: fill in info 2: submit 3: add course(Sue, math 01) 4: are you open? 5: are you open? 6: add (Sue) 7: add (Sue) math 101  section 1 Which use case could this be for? How about <----------
Skip the following for now: In M3.2
public Class Selection   {  private Purchase myPurchase = new Purchase();   private Payment myPayment;     public void purchase()   {  myPurchase.buyMajor();   myPurchase.buyMinor():   myPayment = new Payment( cashTender );     //. .    }     // . .    }   :Selection :Purchase :Payment purchase buyMajor buyMinor create(cashTender) Sequence Diagrams & Some Programming
Interactions - Modeling Actions ,[object Object],[object Object],[object Object],[object Object],: TicketAgent c : Client p : PlanningAgent <<create>> setItenerary( i ) calculateRoute() route X notify() return value send call on self <<destroy>> actual parameter return end of object life destroy: e.g., in C++ manual garbage collection; in Java/C#, unnecessary 1 natural death/ self destruction asynchronous in 2.0 (stick arrowhead) – no return value expected at end of callee activation half arrow in 1.x activation of caller may end before callee’s for each conference loop
[object Object],[object Object],[object Object],linking sequence diagrams ob1:C1 ob3:C3 ob2:C2 ob3:C3 op1 [x>0] foo(x) [x<0] bar(x) do(w) do(z) recurse() [z=0] jar(z) ob3:C3 [z=0] jar(z) ob3:C3 conditional recursion Sequence Diagrams  – Generic vs. Instance ,[object Object],[object Object],[object Object],Here, conditional or concurrency?
Interaction Diagram:  sequence  vs  communication s1 : StockQuoteSubscriber p : StockQuotePublisher attach(s1) s2 : StockQuoteSubscriber attach(s2) notify() update() update() getState() getState() s1 : StockQuoteSubscriber p : StockQuotePublisher s2 : StockQuoteSubscriber 1 : attach(s1) 6 : getState() 2 : attach(s2) 7 : getState() 3 : notify() 4 : update() 5 : update() Observer design pattern object role:ClassName Procedure call, RMI, JDBC, … ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],objects Time {update < 1 minutes} classifiers or their instances, use cases or actors.
Skip end: resume
Diagrams  in UML  -  Class  Diagrams ,[object Object],[object Object],[object Object],CurriculumManager registration  form registration  manager 3: add course(Sue, math 01) RegistrationManager addCourse(Student,Course) 4: <<create>> theManager :  CurriculumManager aCourse :  Course Course Traceability!
Diagrams  in UML  -  Class  Diagrams:  static structure in the system 1 0..* 0..* 1 1 1..* 4 1..10 0..4 1 Reading? name User 1 0..* ,[object Object],[object Object],[object Object],RegistrationForm RegistrationManager Course Student CourseOffering Professor addStudent(student, course) name numberCredits open() addStudent(StudentInfo) major location open() addStudent(StudentInfo) tenureStatus ScheduleAlgorithm CurriculumManager
Diagrams  in UML  –  Object  Diagrams ,[object Object],[object Object],harry: Student name = “Harry Kid” katie: Professor name = “Katie Holmes” ooado: CourseOffering location = “Fujitsu” tom: Student name = “Tom Cruise” surie: Professor name = “Surie Holmes” arch: CourseOffering location = “UTD” ooad06S: Course name = “OOAD” harry1: Professor name = “Harry William” arch06F: Course name = “Sw Architecture” alg06F: Course name = “Adv Algorithms” Anything wrong?
Diagrams  in UML  –  State Transition  Diagram   ( Statechart  Diagram) entry: Register student exit: Increment count ,[object Object],[object Object],[object Object],What life history/class is this for?   Anything wrong? … until the drop date? initial final event/action (internal) condition state State name activity Initialization Open Closed Canceled do: Initialize course do: Finalize course do: Notify registered students Add Student /  Set count = 0 Add student [count < 10] [ count = 10 ] Cancel Cancel Cancel
Diagrams  in UML   –  Activity  Diagrams Synchronization Initialize course [ count < 10 ] ,[object Object],Add student Close course [else] Notify Registrar Notify Billing fork/spawn activity guard initial final What is this for? Traceability??? Can you model this using SD?  Can you model this using CD?
Diagrams  in UML  –  Component  Diagram Course.dll Course People.dll User Register.exe Billing.exe Billing shows the organizations and dependencies among a set of components  (mostly <<uses>>).   In UML 1.1, a component represented implementation items, such as files and executables; … In  UML 2.0 , a component is a replaceable/reusable,  architecture /design-time construct   w. interfaces Course Course Offering Student Professor Student Professor
Diagrams  in UML  –  Deployment  Diagram Library Server Dorm PC Main Building Solaris ,[object Object],[object Object],Register.exe People.dll Billing.exe Course Course   Offering People Database Student Professor wireless RMI, sockets TCP/IP Registrar Webserver Course Oracle Server
3 basic building blocks of UML   -  Diagrams ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],Using UML Concepts in a Nutshell
Summary ,[object Object],[object Object],[object Object],[object Object],[object Object]
Module 2: Introduction to UML - Appendix
Extensibility of UML ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],More on this later
Architecture & Views  (You can skip this part on the first reading) Deployment View Process View Design View Implementation View Use Case View vocabulary functionality performance scalability throughput behavior system assembly configuration mgmt. system topology distribution delivery installation ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Views ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Rules of UML ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Process for Using UML ,[object Object],[object Object],[object Object],How do we use UML as a notation to construct a good model? The Rational Unified Process (RUP)
Process for Using UML  -   Iterative Life Cycle ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Process for Using UML  -   Iterative Approach ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Process for Using UML  - Risk Reduction Drives Iterations Initial Project Risks Initial Project Scope ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],Assess Iteration N Risks Eliminated ,[object Object],[object Object],[object Object],[object Object],Define scenarios to address highest risks Iteration N
Process for Using UML  - Use Cases Drive the Iteration Process Inception Elaboration Construction Transition Iteration 1 Iteration 2 Iteration 3 Iteration Planning Reqs Capture  Analysis & Design Implementation  Test  Prepare Release “ Mini-Waterfall” Process Each iteration is defined in terms of the scenarios it implements Selected scenarios ,[object Object],[object Object],[object Object],Release description Updated risk assessment Controlled libraries
Points to Ponder Are Sequence and Collaboration Diagrams Isomorphic?
Points to Ponder ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]

Más contenido relacionado

La actualidad más candente

Intro to UML 2
Intro to UML 2Intro to UML 2
Intro to UML 2rchakra
 
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
 
Uml with detail
Uml with detailUml with detail
Uml with detailHamza Khan
 
Lect-4: UML diagrams - Unified Modeling Language - SPM
Lect-4: UML diagrams - Unified Modeling Language - SPMLect-4: UML diagrams - Unified Modeling Language - SPM
Lect-4: UML diagrams - Unified Modeling Language - SPMMubashir Ali
 
UML diagrams and symbols
UML diagrams and symbolsUML diagrams and symbols
UML diagrams and symbolsKumar
 
analysis and design with uml
analysis and design with umlanalysis and design with uml
analysis and design with umlsabin kafle
 
Unit 1- OOAD ppt
Unit 1- OOAD  pptUnit 1- OOAD  ppt
Unit 1- OOAD pptPRIANKA R
 
Software Engineering : OOAD using UML
Software Engineering : OOAD using UMLSoftware Engineering : OOAD using UML
Software Engineering : OOAD using UMLAjit Nayak
 
What is UML (Unified Modeling Language)?
What is UML (Unified Modeling Language)?What is UML (Unified Modeling Language)?
What is UML (Unified Modeling Language)?Eliza Wright
 
Unified modeling language diagrams
Unified modeling language diagramsUnified modeling language diagrams
Unified modeling language diagramsAlaa Ahmed
 
An introduction to uml
An introduction to umlAn introduction to uml
An introduction to umlTony Huynh
 
Unified modelling language (UML)
Unified modelling language (UML)Unified modelling language (UML)
Unified modelling language (UML)Hirra Sultan
 
Use case Diagram and Sequence Diagram
Use case Diagram and Sequence DiagramUse case Diagram and Sequence Diagram
Use case Diagram and Sequence DiagramNikhil Pandit
 

La actualidad más candente (20)

Intro to UML 2
Intro to UML 2Intro to UML 2
Intro to UML 2
 
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
 
Uml with detail
Uml with detailUml with detail
Uml with detail
 
Lect-4: UML diagrams - Unified Modeling Language - SPM
Lect-4: UML diagrams - Unified Modeling Language - SPMLect-4: UML diagrams - Unified Modeling Language - SPM
Lect-4: UML diagrams - Unified Modeling Language - SPM
 
UML diagrams and symbols
UML diagrams and symbolsUML diagrams and symbols
UML diagrams and symbols
 
Uml2
Uml2Uml2
Uml2
 
Case Study Uml
Case Study UmlCase Study Uml
Case Study Uml
 
analysis and design with uml
analysis and design with umlanalysis and design with uml
analysis and design with uml
 
Unified Modeling Language
Unified Modeling LanguageUnified Modeling Language
Unified Modeling Language
 
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
 
Software Engineering : OOAD using UML
Software Engineering : OOAD using UMLSoftware Engineering : OOAD using UML
Software Engineering : OOAD using UML
 
What is UML (Unified Modeling Language)?
What is UML (Unified Modeling Language)?What is UML (Unified Modeling Language)?
What is UML (Unified Modeling Language)?
 
Unified modeling language diagrams
Unified modeling language diagramsUnified modeling language diagrams
Unified modeling language diagrams
 
An introduction to uml
An introduction to umlAn introduction to uml
An introduction to uml
 
Unified Modeling Language
Unified Modeling LanguageUnified Modeling Language
Unified Modeling Language
 
Unified modelling language (UML)
Unified modelling language (UML)Unified modelling language (UML)
Unified modelling language (UML)
 
Uml - An Overview
Uml - An OverviewUml - An Overview
Uml - An Overview
 
Use case Diagram and Sequence Diagram
Use case Diagram and Sequence DiagramUse case Diagram and Sequence Diagram
Use case Diagram and Sequence Diagram
 
Uml 9
Uml 9Uml 9
Uml 9
 

Destacado

Use Case Diagram
Use Case DiagramUse Case Diagram
Use Case DiagramAshesh R
 
Dependencies, dependencies, dependencies
Dependencies, dependencies, dependenciesDependencies, dependencies, dependencies
Dependencies, dependencies, dependenciesMarcel Offermans
 
Uml Omg Fundamental Certification 5
Uml Omg Fundamental Certification 5Uml Omg Fundamental Certification 5
Uml Omg Fundamental Certification 5Ricardo Quintero
 
Uml Omg Fundamental Certification 3
Uml Omg Fundamental Certification 3Uml Omg Fundamental Certification 3
Uml Omg Fundamental Certification 3Ricardo Quintero
 
Uml tutorial (1) (1)
Uml tutorial (1) (1)Uml tutorial (1) (1)
Uml tutorial (1) (1)IIUM
 
Shipment address classification in logistics, Ravindra Babu, Flipkart
Shipment address classification in logistics, Ravindra Babu, FlipkartShipment address classification in logistics, Ravindra Babu, Flipkart
Shipment address classification in logistics, Ravindra Babu, FlipkartMohit Ranjan
 
Optimization Modeling and Decision Support for Wireless Infrastructure Deploy...
Optimization Modeling and Decision Support for Wireless Infrastructure Deploy...Optimization Modeling and Decision Support for Wireless Infrastructure Deploy...
Optimization Modeling and Decision Support for Wireless Infrastructure Deploy...streamspotter
 
Supplementary specification
Supplementary specificationSupplementary specification
Supplementary specificationHeba Fathy
 
Requirment anlaysis
Requirment anlaysisRequirment anlaysis
Requirment anlaysiscsk selva
 
Omg Fundamental Certification 4
Omg Fundamental Certification 4Omg Fundamental Certification 4
Omg Fundamental Certification 4Ricardo Quintero
 
Polyglot Persistence & Multi-Model Databases
Polyglot Persistence & Multi-Model DatabasesPolyglot Persistence & Multi-Model Databases
Polyglot Persistence & Multi-Model DatabasesArangoDB Database
 
UMLtoGraphDB: Mapping Conceptual Schemas to Graph Databases
UMLtoGraphDB: Mapping Conceptual Schemas to Graph DatabasesUMLtoGraphDB: Mapping Conceptual Schemas to Graph Databases
UMLtoGraphDB: Mapping Conceptual Schemas to Graph DatabasesGwendal Daniel
 
Persistence that tells the truth: event sourcing
Persistence that tells the truth: event sourcingPersistence that tells the truth: event sourcing
Persistence that tells the truth: event sourcingJohn Platte
 
Uml Omg Fundamental Certification 2
Uml Omg Fundamental Certification 2Uml Omg Fundamental Certification 2
Uml Omg Fundamental Certification 2Ricardo Quintero
 

Destacado (20)

Use Case Diagram
Use Case DiagramUse Case Diagram
Use Case Diagram
 
Dependencies, dependencies, dependencies
Dependencies, dependencies, dependenciesDependencies, dependencies, dependencies
Dependencies, dependencies, dependencies
 
Uml Omg Fundamental Certification 5
Uml Omg Fundamental Certification 5Uml Omg Fundamental Certification 5
Uml Omg Fundamental Certification 5
 
Uml Omg Fundamental Certification 3
Uml Omg Fundamental Certification 3Uml Omg Fundamental Certification 3
Uml Omg Fundamental Certification 3
 
Chap13
Chap13Chap13
Chap13
 
Uml tutorial (1) (1)
Uml tutorial (1) (1)Uml tutorial (1) (1)
Uml tutorial (1) (1)
 
Uml
UmlUml
Uml
 
Shipment address classification in logistics, Ravindra Babu, Flipkart
Shipment address classification in logistics, Ravindra Babu, FlipkartShipment address classification in logistics, Ravindra Babu, Flipkart
Shipment address classification in logistics, Ravindra Babu, Flipkart
 
Optimization Modeling and Decision Support for Wireless Infrastructure Deploy...
Optimization Modeling and Decision Support for Wireless Infrastructure Deploy...Optimization Modeling and Decision Support for Wireless Infrastructure Deploy...
Optimization Modeling and Decision Support for Wireless Infrastructure Deploy...
 
Supplementary specification
Supplementary specificationSupplementary specification
Supplementary specification
 
Requirment anlaysis
Requirment anlaysisRequirment anlaysis
Requirment anlaysis
 
Omg Fundamental Certification 4
Omg Fundamental Certification 4Omg Fundamental Certification 4
Omg Fundamental Certification 4
 
Itt1 sd uml and oo
Itt1 sd uml and ooItt1 sd uml and oo
Itt1 sd uml and oo
 
JavaYDL15
JavaYDL15JavaYDL15
JavaYDL15
 
OO & UML
OO & UMLOO & UML
OO & UML
 
Wrapper classes
Wrapper classesWrapper classes
Wrapper classes
 
Polyglot Persistence & Multi-Model Databases
Polyglot Persistence & Multi-Model DatabasesPolyglot Persistence & Multi-Model Databases
Polyglot Persistence & Multi-Model Databases
 
UMLtoGraphDB: Mapping Conceptual Schemas to Graph Databases
UMLtoGraphDB: Mapping Conceptual Schemas to Graph DatabasesUMLtoGraphDB: Mapping Conceptual Schemas to Graph Databases
UMLtoGraphDB: Mapping Conceptual Schemas to Graph Databases
 
Persistence that tells the truth: event sourcing
Persistence that tells the truth: event sourcingPersistence that tells the truth: event sourcing
Persistence that tells the truth: event sourcing
 
Uml Omg Fundamental Certification 2
Uml Omg Fundamental Certification 2Uml Omg Fundamental Certification 2
Uml Omg Fundamental Certification 2
 

Similar a M02 Uml Overview

Analysis and design of entreprise with uml
Analysis and design of entreprise with umlAnalysis and design of entreprise with uml
Analysis and design of entreprise with umlzineb encgk
 
fdocuments.in_unit-2-ooad.ppt
fdocuments.in_unit-2-ooad.pptfdocuments.in_unit-2-ooad.ppt
fdocuments.in_unit-2-ooad.pptRAJESH S
 
Chapter-2 UML and UML Diagrams.pdf
Chapter-2 UML and UML Diagrams.pdfChapter-2 UML and UML Diagrams.pdf
Chapter-2 UML and UML Diagrams.pdfAkfeteAssefa
 
Visual Modelling and the Unified Modeling Language.ppt
Visual Modelling and the Unified Modeling Language.pptVisual Modelling and the Unified Modeling Language.ppt
Visual Modelling and the Unified Modeling Language.pptgirumdethio
 
Unified Modeling Language
Unified Modeling LanguageUnified Modeling Language
Unified Modeling Languagesurana college
 
Software Engineering Tools and Practices.pdf
Software Engineering Tools and Practices.pdfSoftware Engineering Tools and Practices.pdf
Software Engineering Tools and Practices.pdfMeagGhn
 
Chap5 oodm-uml-part1
Chap5 oodm-uml-part1Chap5 oodm-uml-part1
Chap5 oodm-uml-part1SJC
 
Chap5 oodm-uml-part11
Chap5 oodm-uml-part11Chap5 oodm-uml-part11
Chap5 oodm-uml-part11SJC
 
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
 
CASE Tools lab.ppt
CASE Tools lab.pptCASE Tools lab.ppt
CASE Tools lab.pptRAJESH S
 
Object oriented methodologies
Object oriented methodologiesObject oriented methodologies
Object oriented methodologiesnaina-rani
 
UNIFIED MODELING LANGUAGE
UNIFIED MODELING LANGUAGEUNIFIED MODELING LANGUAGE
UNIFIED MODELING LANGUAGERaval Chirag
 
Ooad Overview
Ooad OverviewOoad Overview
Ooad OverviewDang Tuan
 

Similar a M02 Uml Overview (20)

OOAD.ppt.pptx
OOAD.ppt.pptxOOAD.ppt.pptx
OOAD.ppt.pptx
 
Analysis and design of entreprise with uml
Analysis and design of entreprise with umlAnalysis and design of entreprise with uml
Analysis and design of entreprise with uml
 
Ch 2.1
Ch 2.1Ch 2.1
Ch 2.1
 
fdocuments.in_unit-2-ooad.ppt
fdocuments.in_unit-2-ooad.pptfdocuments.in_unit-2-ooad.ppt
fdocuments.in_unit-2-ooad.ppt
 
Object oriented analysis and design unit- ii
Object oriented analysis and design unit- iiObject oriented analysis and design unit- ii
Object oriented analysis and design unit- ii
 
Chapter-2 UML and UML Diagrams.pdf
Chapter-2 UML and UML Diagrams.pdfChapter-2 UML and UML Diagrams.pdf
Chapter-2 UML and UML Diagrams.pdf
 
Uml
UmlUml
Uml
 
Visual Modelling and the Unified Modeling Language.ppt
Visual Modelling and the Unified Modeling Language.pptVisual Modelling and the Unified Modeling Language.ppt
Visual Modelling and the Unified Modeling Language.ppt
 
432
432432
432
 
Unified Modeling Language
Unified Modeling LanguageUnified Modeling Language
Unified Modeling Language
 
Software Engineering Tools and Practices.pdf
Software Engineering Tools and Practices.pdfSoftware Engineering Tools and Practices.pdf
Software Engineering Tools and Practices.pdf
 
Chap5 oodm-uml-part1
Chap5 oodm-uml-part1Chap5 oodm-uml-part1
Chap5 oodm-uml-part1
 
Chap5 oodm-uml-part11
Chap5 oodm-uml-part11Chap5 oodm-uml-part11
Chap5 oodm-uml-part11
 
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...
 
CASE Tools lab.ppt
CASE Tools lab.pptCASE Tools lab.ppt
CASE Tools lab.ppt
 
Object oriented methodologies
Object oriented methodologiesObject oriented methodologies
Object oriented methodologies
 
UNIFIED MODELING LANGUAGE
UNIFIED MODELING LANGUAGEUNIFIED MODELING LANGUAGE
UNIFIED MODELING LANGUAGE
 
Design UML diagrams
Design UML diagramsDesign UML diagrams
Design UML diagrams
 
Design UML diagrams
Design UML diagramsDesign UML diagrams
Design UML diagrams
 
Ooad Overview
Ooad OverviewOoad Overview
Ooad Overview
 

Más de Dang Tuan

Javascript for php developer
Javascript for php developerJavascript for php developer
Javascript for php developerDang Tuan
 
Power your web skills
Power your web skillsPower your web skills
Power your web skillsDang Tuan
 
Ube Databases
Ube DatabasesUbe Databases
Ube DatabasesDang Tuan
 
Session02 Part Ii
Session02 Part IiSession02 Part Ii
Session02 Part IiDang Tuan
 
PHÂN TÍCH VÀ THIẾT KẾ HỆ THỐNG DÙNG UML
PHÂN TÍCH VÀ THIẾT KẾ HỆ THỐNG DÙNG UMLPHÂN TÍCH VÀ THIẾT KẾ HỆ THỐNG DÙNG UML
PHÂN TÍCH VÀ THIẾT KẾ HỆ THỐNG DÙNG UMLDang Tuan
 
UML for OOAD
UML for OOADUML for OOAD
UML for OOADDang Tuan
 
Object-Oriented Analysis & Design (OOAD) Domain Modeling Introduction
  Object-Oriented Analysis & Design (OOAD)  Domain Modeling Introduction  Object-Oriented Analysis & Design (OOAD)  Domain Modeling Introduction
Object-Oriented Analysis & Design (OOAD) Domain Modeling IntroductionDang Tuan
 
Introduction to Modeling Java and UML
Introduction to Modeling Java and UMLIntroduction to Modeling Java and UML
Introduction to Modeling Java and UMLDang Tuan
 
Information Systems Analysis and Design Overview of OOAD, UML, and RUP
 Information Systems Analysis and Design Overview of OOAD, UML, and RUP Information Systems Analysis and Design Overview of OOAD, UML, and RUP
Information Systems Analysis and Design Overview of OOAD, UML, and RUPDang Tuan
 
M03 2 Behavioral Diagrams
M03 2 Behavioral DiagramsM03 2 Behavioral Diagrams
M03 2 Behavioral DiagramsDang Tuan
 
M05 Metamodel
M05 MetamodelM05 Metamodel
M05 MetamodelDang Tuan
 
M04 Design Patterns
M04 Design PatternsM04 Design Patterns
M04 Design PatternsDang Tuan
 
M03 1 Structuraldiagrams
M03 1 StructuraldiagramsM03 1 Structuraldiagrams
M03 1 StructuraldiagramsDang Tuan
 
M01 Oo Intro
M01 Oo IntroM01 Oo Intro
M01 Oo IntroDang Tuan
 

Más de Dang Tuan (20)

Javascript for php developer
Javascript for php developerJavascript for php developer
Javascript for php developer
 
Power your web skills
Power your web skillsPower your web skills
Power your web skills
 
Ube Databases
Ube DatabasesUbe Databases
Ube Databases
 
Chapter1
Chapter1Chapter1
Chapter1
 
Chapter9
Chapter9Chapter9
Chapter9
 
Chapter3
Chapter3Chapter3
Chapter3
 
Chapter7
Chapter7Chapter7
Chapter7
 
Chapter5
Chapter5Chapter5
Chapter5
 
Session02 Part Ii
Session02 Part IiSession02 Part Ii
Session02 Part Ii
 
PHÂN TÍCH VÀ THIẾT KẾ HỆ THỐNG DÙNG UML
PHÂN TÍCH VÀ THIẾT KẾ HỆ THỐNG DÙNG UMLPHÂN TÍCH VÀ THIẾT KẾ HỆ THỐNG DÙNG UML
PHÂN TÍCH VÀ THIẾT KẾ HỆ THỐNG DÙNG UML
 
Ooad Uml
Ooad UmlOoad Uml
Ooad Uml
 
UML for OOAD
UML for OOADUML for OOAD
UML for OOAD
 
Object-Oriented Analysis & Design (OOAD) Domain Modeling Introduction
  Object-Oriented Analysis & Design (OOAD)  Domain Modeling Introduction  Object-Oriented Analysis & Design (OOAD)  Domain Modeling Introduction
Object-Oriented Analysis & Design (OOAD) Domain Modeling Introduction
 
Introduction to Modeling Java and UML
Introduction to Modeling Java and UMLIntroduction to Modeling Java and UML
Introduction to Modeling Java and UML
 
Information Systems Analysis and Design Overview of OOAD, UML, and RUP
 Information Systems Analysis and Design Overview of OOAD, UML, and RUP Information Systems Analysis and Design Overview of OOAD, UML, and RUP
Information Systems Analysis and Design Overview of OOAD, UML, and RUP
 
M03 2 Behavioral Diagrams
M03 2 Behavioral DiagramsM03 2 Behavioral Diagrams
M03 2 Behavioral Diagrams
 
M05 Metamodel
M05 MetamodelM05 Metamodel
M05 Metamodel
 
M04 Design Patterns
M04 Design PatternsM04 Design Patterns
M04 Design Patterns
 
M03 1 Structuraldiagrams
M03 1 StructuraldiagramsM03 1 Structuraldiagrams
M03 1 Structuraldiagrams
 
M01 Oo Intro
M01 Oo IntroM01 Oo Intro
M01 Oo Intro
 

Último

Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Paola De la Torre
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
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 MenDelhi Call girls
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
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 MenDelhi Call girls
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024The Digital Insurer
 
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...Enterprise Knowledge
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
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 WorkerThousandEyes
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
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 Scriptwesley chun
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsRoshan Dwivedi
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 

Último (20)

Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101
 
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 Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
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
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
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
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
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...
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
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
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
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
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 

M02 Uml Overview

  • 1.
  • 2.
  • 3.
  • 4.
  • 5.
  • 6.
  • 7.
  • 8.
  • 9. Grouping Things in UML: Packages - For organizing elements (structural/behavioral) into groups. - Purely conceptual; only exists at development time. - Can be nested. - Variations of packages are: Frameworks, models, & subsystems. Course Manager Annotational Things in UML: Note - Explanatory/Comment parts of UML models - usually called adornments - Expressed in informal or formal text. flexible drop-out dates Course Manager University Administration Student Admission -Student +Department operation() {for all g in children g.operation() }
  • 10. 3 basic building blocks of UML - Relationships 1. Associations Structural relationship that describes a set of links, a link being a connection between objects. 4. Dependency a change to one thing (independent) may affect the semantics of the other thing (dependent). (direction, label are optional) variants: aggregation & composition 2. Generalization a specialized element (the child) is more specific the generalized element. 3. Realization one element guarantees to carry out what is expected by the other element. (e.g, interfaces and classes/components; use cases and collaborations) Student University Student Person Student IGrade Student harry: Student <<instanceOf>> attends
  • 11.
  • 12.
  • 13.
  • 14.
  • 15.
  • 16.
  • 17.
  • 18.
  • 19.
  • 20.
  • 21.
  • 22. Skip the following for now: In M3.2
  • 23. public Class Selection { private Purchase myPurchase = new Purchase(); private Payment myPayment; public void purchase() { myPurchase.buyMajor(); myPurchase.buyMinor(): myPayment = new Payment( cashTender ); //. .  } // . .  } :Selection :Purchase :Payment purchase buyMajor buyMinor create(cashTender) Sequence Diagrams & Some Programming
  • 24.
  • 25.
  • 26.
  • 28.
  • 29.
  • 30.
  • 31.
  • 32.
  • 33. Diagrams in UML – Component Diagram Course.dll Course People.dll User Register.exe Billing.exe Billing shows the organizations and dependencies among a set of components (mostly <<uses>>). In UML 1.1, a component represented implementation items, such as files and executables; … In UML 2.0 , a component is a replaceable/reusable, architecture /design-time construct w. interfaces Course Course Offering Student Professor Student Professor
  • 34.
  • 35.
  • 36.
  • 37. Module 2: Introduction to UML - Appendix
  • 38.
  • 39.
  • 40.
  • 41.
  • 42.
  • 43.
  • 44.
  • 45.
  • 46.
  • 47. Points to Ponder Are Sequence and Collaboration Diagrams Isomorphic?
  • 48.