![Page 1: Overview of UML - OMG · 2011-09-19 · UML is Alive Regular updates by the OMG UML is the only active modeling standard. UML is extended into dozens of domains. UML is supported](https://reader034.vdocuments.mx/reader034/viewer/2022050104/5f428814483755283a37ceb7/html5/thumbnails/1.jpg)
Overview of UML
Daniel BrookshierDistinguished Fellow
No Magic Inc.
![Page 2: Overview of UML - OMG · 2011-09-19 · UML is Alive Regular updates by the OMG UML is the only active modeling standard. UML is extended into dozens of domains. UML is supported](https://reader034.vdocuments.mx/reader034/viewer/2022050104/5f428814483755283a37ceb7/html5/thumbnails/2.jpg)
Everything is Risky Without Knowledge
![Page 3: Overview of UML - OMG · 2011-09-19 · UML is Alive Regular updates by the OMG UML is the only active modeling standard. UML is extended into dozens of domains. UML is supported](https://reader034.vdocuments.mx/reader034/viewer/2022050104/5f428814483755283a37ceb7/html5/thumbnails/3.jpg)
About This Presenation
� This presentation was generated by MagicDraw!
� Hold your questions to the end of the presentation
![Page 4: Overview of UML - OMG · 2011-09-19 · UML is Alive Regular updates by the OMG UML is the only active modeling standard. UML is extended into dozens of domains. UML is supported](https://reader034.vdocuments.mx/reader034/viewer/2022050104/5f428814483755283a37ceb7/html5/thumbnails/4.jpg)
Overview
�Why UML?
�The Core Diagrams
�Extending UML
![Page 5: Overview of UML - OMG · 2011-09-19 · UML is Alive Regular updates by the OMG UML is the only active modeling standard. UML is extended into dozens of domains. UML is supported](https://reader034.vdocuments.mx/reader034/viewer/2022050104/5f428814483755283a37ceb7/html5/thumbnails/5.jpg)
Why UML?
![Page 6: Overview of UML - OMG · 2011-09-19 · UML is Alive Regular updates by the OMG UML is the only active modeling standard. UML is extended into dozens of domains. UML is supported](https://reader034.vdocuments.mx/reader034/viewer/2022050104/5f428814483755283a37ceb7/html5/thumbnails/6.jpg)
UML Is Alive
![Page 7: Overview of UML - OMG · 2011-09-19 · UML is Alive Regular updates by the OMG UML is the only active modeling standard. UML is extended into dozens of domains. UML is supported](https://reader034.vdocuments.mx/reader034/viewer/2022050104/5f428814483755283a37ceb7/html5/thumbnails/7.jpg)
UML is Alive
� Regular updates by the OMG
� UML is the only active modeling standard.
� UML is extended into dozens of domains.
� UML is supported by many commercial and open source tools
� UML metadata is easily transformed into code and other data for 3rd party tools
![Page 8: Overview of UML - OMG · 2011-09-19 · UML is Alive Regular updates by the OMG UML is the only active modeling standard. UML is extended into dozens of domains. UML is supported](https://reader034.vdocuments.mx/reader034/viewer/2022050104/5f428814483755283a37ceb7/html5/thumbnails/8.jpg)
Is UML Relevant?
![Page 9: Overview of UML - OMG · 2011-09-19 · UML is Alive Regular updates by the OMG UML is the only active modeling standard. UML is extended into dozens of domains. UML is supported](https://reader034.vdocuments.mx/reader034/viewer/2022050104/5f428814483755283a37ceb7/html5/thumbnails/9.jpg)
UML Success
� Many people can read UML
� It's not 'rocket science'
� The state of the art has improved
![Page 10: Overview of UML - OMG · 2011-09-19 · UML is Alive Regular updates by the OMG UML is the only active modeling standard. UML is extended into dozens of domains. UML is supported](https://reader034.vdocuments.mx/reader034/viewer/2022050104/5f428814483755283a37ceb7/html5/thumbnails/10.jpg)
UML Ecosystem
![Page 11: Overview of UML - OMG · 2011-09-19 · UML is Alive Regular updates by the OMG UML is the only active modeling standard. UML is extended into dozens of domains. UML is supported](https://reader034.vdocuments.mx/reader034/viewer/2022050104/5f428814483755283a37ceb7/html5/thumbnails/11.jpg)
UML Extensions
� Enterprise Architecture
� Data Modeling
� Systems Engineering
� Requirements
� Data Modeling
� Business Process and Orchestration
� Ontology
![Page 12: Overview of UML - OMG · 2011-09-19 · UML is Alive Regular updates by the OMG UML is the only active modeling standard. UML is extended into dozens of domains. UML is supported](https://reader034.vdocuments.mx/reader034/viewer/2022050104/5f428814483755283a37ceb7/html5/thumbnails/12.jpg)
Domains
� Healthcare
� Insurance
� Military
� Robotics
� Software development/management
� More!
![Page 13: Overview of UML - OMG · 2011-09-19 · UML is Alive Regular updates by the OMG UML is the only active modeling standard. UML is extended into dozens of domains. UML is supported](https://reader034.vdocuments.mx/reader034/viewer/2022050104/5f428814483755283a37ceb7/html5/thumbnails/13.jpg)
Core UML
![Page 14: Overview of UML - OMG · 2011-09-19 · UML is Alive Regular updates by the OMG UML is the only active modeling standard. UML is extended into dozens of domains. UML is supported](https://reader034.vdocuments.mx/reader034/viewer/2022050104/5f428814483755283a37ceb7/html5/thumbnails/14.jpg)
Primary Diagram Types
Use Case – Key activities and documentation of usage
Class - Logical structure of the model. Also includes Use Cases, Deployment, Components, Collaboration, and Object instances.
Composite - An internal configuration of a Class. Can also show internal structure of other elements like Collaboration, Components and other Class-based elements.
Activity - Flow associated with either a scenario or a method. When using swimlanes, can show interactions between instances.
State - State machines of classes.
Sequence - Shows interactions between instances of classes.
![Page 15: Overview of UML - OMG · 2011-09-19 · UML is Alive Regular updates by the OMG UML is the only active modeling standard. UML is extended into dozens of domains. UML is supported](https://reader034.vdocuments.mx/reader034/viewer/2022050104/5f428814483755283a37ceb7/html5/thumbnails/15.jpg)
4+1
![Page 16: Overview of UML - OMG · 2011-09-19 · UML is Alive Regular updates by the OMG UML is the only active modeling standard. UML is extended into dozens of domains. UML is supported](https://reader034.vdocuments.mx/reader034/viewer/2022050104/5f428814483755283a37ceb7/html5/thumbnails/16.jpg)
What is a Use Case Diagram?
�Use of systems
�Diagrams show use cases, actors, and their relationships
�Point of view is interface
![Page 17: Overview of UML - OMG · 2011-09-19 · UML is Alive Regular updates by the OMG UML is the only active modeling standard. UML is extended into dozens of domains. UML is supported](https://reader034.vdocuments.mx/reader034/viewer/2022050104/5f428814483755283a37ceb7/html5/thumbnails/17.jpg)
Use Cases are NOT
� Not a list of features
� Not every function
� Not a story
� Not a replacement for 'requirement'
![Page 18: Overview of UML - OMG · 2011-09-19 · UML is Alive Regular updates by the OMG UML is the only active modeling standard. UML is extended into dozens of domains. UML is supported](https://reader034.vdocuments.mx/reader034/viewer/2022050104/5f428814483755283a37ceb7/html5/thumbnails/18.jpg)
Simple Use Case
![Page 19: Overview of UML - OMG · 2011-09-19 · UML is Alive Regular updates by the OMG UML is the only active modeling standard. UML is extended into dozens of domains. UML is supported](https://reader034.vdocuments.mx/reader034/viewer/2022050104/5f428814483755283a37ceb7/html5/thumbnails/19.jpg)
Complex Use Case
![Page 20: Overview of UML - OMG · 2011-09-19 · UML is Alive Regular updates by the OMG UML is the only active modeling standard. UML is extended into dozens of domains. UML is supported](https://reader034.vdocuments.mx/reader034/viewer/2022050104/5f428814483755283a37ceb7/html5/thumbnails/20.jpg)
Generalization
![Page 21: Overview of UML - OMG · 2011-09-19 · UML is Alive Regular updates by the OMG UML is the only active modeling standard. UML is extended into dozens of domains. UML is supported](https://reader034.vdocuments.mx/reader034/viewer/2022050104/5f428814483755283a37ceb7/html5/thumbnails/21.jpg)
Why are Use Cses Important?
� Documents important user interactions
� Related to activities to script use cases
� Refine functional requirements
![Page 22: Overview of UML - OMG · 2011-09-19 · UML is Alive Regular updates by the OMG UML is the only active modeling standard. UML is extended into dozens of domains. UML is supported](https://reader034.vdocuments.mx/reader034/viewer/2022050104/5f428814483755283a37ceb7/html5/thumbnails/22.jpg)
Use Case Details
![Page 23: Overview of UML - OMG · 2011-09-19 · UML is Alive Regular updates by the OMG UML is the only active modeling standard. UML is extended into dozens of domains. UML is supported](https://reader034.vdocuments.mx/reader034/viewer/2022050104/5f428814483755283a37ceb7/html5/thumbnails/23.jpg)
Class Diagrams
� Structural design
� Describes associated parts
� Interfaces and interface use
� Linked to behavior
![Page 24: Overview of UML - OMG · 2011-09-19 · UML is Alive Regular updates by the OMG UML is the only active modeling standard. UML is extended into dozens of domains. UML is supported](https://reader034.vdocuments.mx/reader034/viewer/2022050104/5f428814483755283a37ceb7/html5/thumbnails/24.jpg)
Class Overview
![Page 25: Overview of UML - OMG · 2011-09-19 · UML is Alive Regular updates by the OMG UML is the only active modeling standard. UML is extended into dozens of domains. UML is supported](https://reader034.vdocuments.mx/reader034/viewer/2022050104/5f428814483755283a37ceb7/html5/thumbnails/25.jpg)
Interfaces
![Page 26: Overview of UML - OMG · 2011-09-19 · UML is Alive Regular updates by the OMG UML is the only active modeling standard. UML is extended into dozens of domains. UML is supported](https://reader034.vdocuments.mx/reader034/viewer/2022050104/5f428814483755283a37ceb7/html5/thumbnails/26.jpg)
Lollipop Notation
![Page 27: Overview of UML - OMG · 2011-09-19 · UML is Alive Regular updates by the OMG UML is the only active modeling standard. UML is extended into dozens of domains. UML is supported](https://reader034.vdocuments.mx/reader034/viewer/2022050104/5f428814483755283a37ceb7/html5/thumbnails/27.jpg)
Object Diagrams
� Validation of design by via example data
� Can describe initial states or be used in executions
![Page 28: Overview of UML - OMG · 2011-09-19 · UML is Alive Regular updates by the OMG UML is the only active modeling standard. UML is extended into dozens of domains. UML is supported](https://reader034.vdocuments.mx/reader034/viewer/2022050104/5f428814483755283a37ceb7/html5/thumbnails/28.jpg)
Object Diagrams
![Page 29: Overview of UML - OMG · 2011-09-19 · UML is Alive Regular updates by the OMG UML is the only active modeling standard. UML is extended into dozens of domains. UML is supported](https://reader034.vdocuments.mx/reader034/viewer/2022050104/5f428814483755283a37ceb7/html5/thumbnails/29.jpg)
Object Links
![Page 30: Overview of UML - OMG · 2011-09-19 · UML is Alive Regular updates by the OMG UML is the only active modeling standard. UML is extended into dozens of domains. UML is supported](https://reader034.vdocuments.mx/reader034/viewer/2022050104/5f428814483755283a37ceb7/html5/thumbnails/30.jpg)
Composite Diagrams
� Instance of structure
� Used for advanced configurations
� Physical part modeling
� Shows nesting caused by associations
![Page 31: Overview of UML - OMG · 2011-09-19 · UML is Alive Regular updates by the OMG UML is the only active modeling standard. UML is extended into dozens of domains. UML is supported](https://reader034.vdocuments.mx/reader034/viewer/2022050104/5f428814483755283a37ceb7/html5/thumbnails/31.jpg)
Structure For Composite Diagram
![Page 32: Overview of UML - OMG · 2011-09-19 · UML is Alive Regular updates by the OMG UML is the only active modeling standard. UML is extended into dozens of domains. UML is supported](https://reader034.vdocuments.mx/reader034/viewer/2022050104/5f428814483755283a37ceb7/html5/thumbnails/32.jpg)
Zoo
![Page 33: Overview of UML - OMG · 2011-09-19 · UML is Alive Regular updates by the OMG UML is the only active modeling standard. UML is extended into dozens of domains. UML is supported](https://reader034.vdocuments.mx/reader034/viewer/2022050104/5f428814483755283a37ceb7/html5/thumbnails/33.jpg)
Healthcare
![Page 34: Overview of UML - OMG · 2011-09-19 · UML is Alive Regular updates by the OMG UML is the only active modeling standard. UML is extended into dozens of domains. UML is supported](https://reader034.vdocuments.mx/reader034/viewer/2022050104/5f428814483755283a37ceb7/html5/thumbnails/34.jpg)
Heathcare System
![Page 35: Overview of UML - OMG · 2011-09-19 · UML is Alive Regular updates by the OMG UML is the only active modeling standard. UML is extended into dozens of domains. UML is supported](https://reader034.vdocuments.mx/reader034/viewer/2022050104/5f428814483755283a37ceb7/html5/thumbnails/35.jpg)
Activity Diagrams
� Behavior of model
� Reusable (callable) activities
� Rich semantics (fancy flowcharts).
� Links to classes, states, sequences
![Page 36: Overview of UML - OMG · 2011-09-19 · UML is Alive Regular updates by the OMG UML is the only active modeling standard. UML is extended into dozens of domains. UML is supported](https://reader034.vdocuments.mx/reader034/viewer/2022050104/5f428814483755283a37ceb7/html5/thumbnails/36.jpg)
Prescription Flow
![Page 37: Overview of UML - OMG · 2011-09-19 · UML is Alive Regular updates by the OMG UML is the only active modeling standard. UML is extended into dozens of domains. UML is supported](https://reader034.vdocuments.mx/reader034/viewer/2022050104/5f428814483755283a37ceb7/html5/thumbnails/37.jpg)
Authorize Prescription
![Page 38: Overview of UML - OMG · 2011-09-19 · UML is Alive Regular updates by the OMG UML is the only active modeling standard. UML is extended into dozens of domains. UML is supported](https://reader034.vdocuments.mx/reader034/viewer/2022050104/5f428814483755283a37ceb7/html5/thumbnails/38.jpg)
Linking Activity to Operation
![Page 39: Overview of UML - OMG · 2011-09-19 · UML is Alive Regular updates by the OMG UML is the only active modeling standard. UML is extended into dozens of domains. UML is supported](https://reader034.vdocuments.mx/reader034/viewer/2022050104/5f428814483755283a37ceb7/html5/thumbnails/39.jpg)
Statemachine Diagrams
� Valid states of a Class
� Edges represent the method or external signal that causes state to change
� Bubbles represent the aggregate state of the class
� Methods can trigger on entry/exit of state.
![Page 40: Overview of UML - OMG · 2011-09-19 · UML is Alive Regular updates by the OMG UML is the only active modeling standard. UML is extended into dozens of domains. UML is supported](https://reader034.vdocuments.mx/reader034/viewer/2022050104/5f428814483755283a37ceb7/html5/thumbnails/40.jpg)
Example State
![Page 41: Overview of UML - OMG · 2011-09-19 · UML is Alive Regular updates by the OMG UML is the only active modeling standard. UML is extended into dozens of domains. UML is supported](https://reader034.vdocuments.mx/reader034/viewer/2022050104/5f428814483755283a37ceb7/html5/thumbnails/41.jpg)
Prescription
![Page 42: Overview of UML - OMG · 2011-09-19 · UML is Alive Regular updates by the OMG UML is the only active modeling standard. UML is extended into dozens of domains. UML is supported](https://reader034.vdocuments.mx/reader034/viewer/2022050104/5f428814483755283a37ceb7/html5/thumbnails/42.jpg)
Sequence Diagrams
� Interactions between classes
� Usually used to show a scenario
� Verify sequence and state transitions
� Also be used to design class methods
![Page 43: Overview of UML - OMG · 2011-09-19 · UML is Alive Regular updates by the OMG UML is the only active modeling standard. UML is extended into dozens of domains. UML is supported](https://reader034.vdocuments.mx/reader034/viewer/2022050104/5f428814483755283a37ceb7/html5/thumbnails/43.jpg)
Prescription
![Page 44: Overview of UML - OMG · 2011-09-19 · UML is Alive Regular updates by the OMG UML is the only active modeling standard. UML is extended into dozens of domains. UML is supported](https://reader034.vdocuments.mx/reader034/viewer/2022050104/5f428814483755283a37ceb7/html5/thumbnails/44.jpg)
Extending UML
� Stereotypes are semantic labels
� Stereotypes have tags which can hold instances of meta-information
� Associations between stereotypes can be validated with Object constraint Language (OCL)
� Domain Specific Languages (DLSL) created on top of rich UML semantics and diagrams
![Page 45: Overview of UML - OMG · 2011-09-19 · UML is Alive Regular updates by the OMG UML is the only active modeling standard. UML is extended into dozens of domains. UML is supported](https://reader034.vdocuments.mx/reader034/viewer/2022050104/5f428814483755283a37ceb7/html5/thumbnails/45.jpg)
Stereotypes
![Page 46: Overview of UML - OMG · 2011-09-19 · UML is Alive Regular updates by the OMG UML is the only active modeling standard. UML is extended into dozens of domains. UML is supported](https://reader034.vdocuments.mx/reader034/viewer/2022050104/5f428814483755283a37ceb7/html5/thumbnails/46.jpg)
Extended UML
![Page 47: Overview of UML - OMG · 2011-09-19 · UML is Alive Regular updates by the OMG UML is the only active modeling standard. UML is extended into dozens of domains. UML is supported](https://reader034.vdocuments.mx/reader034/viewer/2022050104/5f428814483755283a37ceb7/html5/thumbnails/47.jpg)
Good Traceability