+ All Categories
Home > Documents > Overview of UML - OMG · 2011-09-19 · UML is Alive Regular updates by the OMG UML is the only...

Overview of UML - OMG · 2011-09-19 · UML is Alive Regular updates by the OMG UML is the only...

Date post: 13-Jul-2020
Category:
Upload: others
View: 1 times
Download: 0 times
Share this document with a friend
48
Overview of UML Daniel Brookshier Distinguished Fellow No Magic Inc.
Transcript
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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Good Traceability

Page 48: 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

Thank You

Daniel Brookshier [email protected]


Recommended