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

Unified modeling language diagrams
Unified modeling language diagramsUnified modeling language diagrams
Unified modeling language diagrams
Alaa Ahmed
 
An introduction to uml
An introduction to umlAn introduction to uml
An introduction to uml
Tony Huynh
 

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

Uml Omg Fundamental Certification 5
Uml Omg Fundamental Certification 5Uml Omg Fundamental Certification 5
Uml Omg Fundamental Certification 5
Ricardo Quintero
 
Uml Omg Fundamental Certification 3
Uml Omg Fundamental Certification 3Uml Omg Fundamental Certification 3
Uml Omg Fundamental Certification 3
Ricardo Quintero
 
Supplementary specification
Supplementary specificationSupplementary specification
Supplementary specification
Heba Fathy
 
Omg Fundamental Certification 4
Omg Fundamental Certification 4Omg Fundamental Certification 4
Omg Fundamental Certification 4
Ricardo Quintero
 
Uml Omg Fundamental Certification 2
Uml Omg Fundamental Certification 2Uml Omg Fundamental Certification 2
Uml Omg Fundamental Certification 2
Ricardo 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 uml
zineb encgk
 
fdocuments.in_unit-2-ooad.ppt
fdocuments.in_unit-2-ooad.pptfdocuments.in_unit-2-ooad.ppt
fdocuments.in_unit-2-ooad.ppt
RAJESH S
 
Software Engineering Tools and Practices.pdf
Software Engineering Tools and Practices.pdfSoftware Engineering Tools and Practices.pdf
Software Engineering Tools and Practices.pdf
MeagGhn
 
Chap5 oodm-uml-part1
Chap5 oodm-uml-part1Chap5 oodm-uml-part1
Chap5 oodm-uml-part1
SJC
 
Chap5 oodm-uml-part11
Chap5 oodm-uml-part11Chap5 oodm-uml-part11
Chap5 oodm-uml-part11
SJC
 
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
 
Object oriented methodologies
Object oriented methodologiesObject oriented methodologies
Object oriented methodologies
naina-rani
 
Ooad Overview
Ooad OverviewOoad Overview
Ooad Overview
Dang 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 developer
Dang Tuan
 
Power your web skills
Power your web skillsPower your web skills
Power your web skills
Dang Tuan
 
Ube Databases
Ube DatabasesUbe Databases
Ube Databases
Dang Tuan
 
Session02 Part Ii
Session02 Part IiSession02 Part Ii
Session02 Part Ii
Dang 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 UML
Dang Tuan
 
UML for OOAD
UML for OOADUML for OOAD
UML for OOAD
Dang 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 Introduction
Dang Tuan
 
Introduction to Modeling Java and UML
Introduction to Modeling Java and UMLIntroduction to Modeling Java and UML
Introduction to Modeling Java and UML
Dang 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 RUP
Dang Tuan
 
M03 2 Behavioral Diagrams
M03 2 Behavioral DiagramsM03 2 Behavioral Diagrams
M03 2 Behavioral Diagrams
Dang Tuan
 
M05 Metamodel
M05 MetamodelM05 Metamodel
M05 Metamodel
Dang Tuan
 
M04 Design Patterns
M04 Design PatternsM04 Design Patterns
M04 Design Patterns
Dang Tuan
 
M03 1 Structuraldiagrams
M03 1 StructuraldiagramsM03 1 Structuraldiagrams
M03 1 Structuraldiagrams
Dang Tuan
 
M01 Oo Intro
M01 Oo IntroM01 Oo Intro
M01 Oo Intro
Dang 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

Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 

Último (20)

HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation Strategies
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
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
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
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
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
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
 
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
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - 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
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
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
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 

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.