no magic@md day2011

21
The Truth is in the Models Adopting UML as modeling platform by Andrius Strazdauskas No Magic

Upload: mdday11

Post on 25-Jan-2015

351 views

Category:

Technology


0 download

DESCRIPTION

 

TRANSCRIPT

Page 1: No magic@md day2011

The Truth is in the Models

Adopting UML as

modeling platform

by Andrius Strazdauskas

No Magic

Page 2: No magic@md day2011

About myself

• Andrius Strazdauskas

• European Sales Director @ No Magic

• 13 years in modeling industry

• Former:

• Programmer @ No Magic

• Project manager @ No Magic

• Product manager @ No Magic

• Standards Architect @ OMG

`2

Page 3: No magic@md day2011

Evolution of modeling standards

A lot of modeling standards are available:

– UML

– SysML

– BPMN

– SoaML

– UPDM

– SBVR

– IMM

– and many more

3

Page 4: No magic@md day2011

4

Page 5: No magic@md day2011

Evolution of modeling

• Models are getting larger

• Models are getting more complex

• Models are used at more and more domains

• Models tend to overlap

As a result there are a lot of disconnected models

that are modeling connected things

5

Page 6: No magic@md day2011

How to…

How to have models that are:

• Integrated,

• Traceable,

• Based on standards…

6

Page 7: No magic@md day2011

UML as platform for model

integration

Pros:

• UML has infrastructure

• UML has extensibility mechanism

• UML is rich enough to cover most types of models

• A lot modeling standards are built on UML

• Wide support in tooling

• Standard persistence

7

Page 8: No magic@md day2011

UML as platform for model

integration (2)

Cons:

• UML is very complex (~250 concepts)

• UML is perceived as technical/IT language

• A UML profile need to be created for each new

modeling standard in order to integrate it into

master model

• Can be extended, but not subtracted

8

Page 9: No magic@md day2011

What’s next?

• So if UML can host any type of model…

• …literally every UML tool can allow working on any

kind of model !..

• Or… is something that is good for everything is

really good for nothing?..

9

Page 10: No magic@md day2011

Is this BPMN?

10

Page 11: No magic@md day2011

This is how it should look

11

Page 12: No magic@md day2011

If a tool needs to model non-UML models it needs to

stop being a UML tool :

• Hide UML

• Show domain specific information

What are the challenges for UML tool?

12

Page 13: No magic@md day2011

How did we do it?

Basic ideas:

• Change (extend) the metamodel

• Change the way diagram looks like

• Introduce custom diagram types

• Hide unnecessary UI

• Change the meta-names

• Add additional modeling rules

• Add model validation rules

13

Page 14: No magic@md day2011

Metamodel changes

14

Page 15: No magic@md day2011

Diagram Element Change

15

Page 16: No magic@md day2011

16

New diagram types

Domain-specific

diagram palette

Diagrams are

customized using

MagicDraw UI

This customization is UI driven, no coding is required.

Page 17: No magic@md day2011

17

GUI changes

Domain-specific

properties

Domain-specific

names

Can be further

customized by

user

This customization is model driven, no coding is required.

Page 18: No magic@md day2011

18

Role-based perspectives

This customization is UI driven, no coding is required.

Page 19: No magic@md day2011

19

Validation

Model-

based

(OCL) rule

definition Validation

results

This customization is model driven, no coding is required.

Page 20: No magic@md day2011

Summary

• UML can be used as a platform for different kinds

of models

• MagicDraw can be transformed into a DSL

solution at a pretty low cost

• User friendly / domain specific interface instead

of technical one is the key

20

Page 21: No magic@md day2011

QUESTIONS?

Awards

Best Team

Development

Tool

Best Java

Modeling Tool

Jolt Productivity

Winner Best Java

Database Tool