48
C ompuwareCorporation 1 Begin

Compuware Corporation 1 Begin. Compuware Corporation The MDA Reference Model The ORMSC Laurence Tratt Tony Clark Wim Bast

  • View
    227

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Compuware Corporation 1 Begin. Compuware Corporation The MDA Reference Model The ORMSC Laurence Tratt Tony Clark Wim Bast

CompuwareCorporation 1

Begin

Page 2: Compuware Corporation 1 Begin. Compuware Corporation The MDA Reference Model The ORMSC Laurence Tratt Tony Clark Wim Bast

CompuwareCorporation

The MDAReference Model

The ORMSCLaurence Tratt Tony ClarkWim Bast

Page 3: Compuware Corporation 1 Begin. Compuware Corporation The MDA Reference Model The ORMSC Laurence Tratt Tony Clark Wim Bast

CompuwareCorporation 3

Agenda Introduction to the MDA Reference Model

An Simple MDA Example

The MDA Reference model itself

The example as instance of the MDA Reference Model

Conclusion

Page 4: Compuware Corporation 1 Begin. Compuware Corporation The MDA Reference Model The ORMSC Laurence Tratt Tony Clark Wim Bast

CompuwareCorporation 4

Introduction to the MDA Reference Model

Page 5: Compuware Corporation 1 Begin. Compuware Corporation The MDA Reference Model The ORMSC Laurence Tratt Tony Clark Wim Bast

CompuwareCorporation 5

What is the the MDA Reference Model A definition of the very basic concepts in

MDA and their relations

A class model

– defined using only common modeling constructs that are shared by UML and MOF

All MDA examples are instances of the MDA reference model

– where the MDA examples can include all meta levels, all modeling languages and all technologies

Page 6: Compuware Corporation 1 Begin. Compuware Corporation The MDA Reference Model The ORMSC Laurence Tratt Tony Clark Wim Bast

CompuwareCorporation 6

What is it good for ? Captures existing MDA knowledge

Provides a basis for common understanding

Is a reference model to compare different MDA flavors / approaches

Exposes errors in what is being defined about MDA

Exposes deficiencies in what is being defined about MDA

Page 7: Compuware Corporation 1 Begin. Compuware Corporation The MDA Reference Model The ORMSC Laurence Tratt Tony Clark Wim Bast

CompuwareCorporation 7

Plans for usages in the future The current version is a draft draft in

progress

It will be a fundamental part of a new version of the MDA Reference Guide

The AB will hopefully use it as a part of a new version of the OMA

Page 8: Compuware Corporation 1 Begin. Compuware Corporation The MDA Reference Model The ORMSC Laurence Tratt Tony Clark Wim Bast

CompuwareCorporation 8

Requirements and Design rules

Vendor and MDA flavor neutral UML oriented, profiling, mark-ups, MOF oriented, family of

languages, Executable UML, …

Not a classification scheme of the different levels of abstraction, nor the different purposes of modeling languages

Precise yet not more formal then understandable

Layered: based on a kernel that is extended to more complex concepts

Rigid appreciation of the semantics of the used class model constructs of MOF and UML

Page 9: Compuware Corporation 1 Begin. Compuware Corporation The MDA Reference Model The ORMSC Laurence Tratt Tony Clark Wim Bast

CompuwareCorporation 9

Who are creating it? The ORMSC is mandated by the AB to

develop a draft MDA Reference Model

Within the ORMSC a colorful palate of different MDA vendors are active

We develop one MDA Reference Model that does not exclude any MDA flavor

We are having a lot of fun !

Page 10: Compuware Corporation 1 Begin. Compuware Corporation The MDA Reference Model The ORMSC Laurence Tratt Tony Clark Wim Bast

CompuwareCorporation 10

A Simple MDA Example

Page 11: Compuware Corporation 1 Begin. Compuware Corporation The MDA Reference Model The ORMSC Laurence Tratt Tony Clark Wim Bast

CompuwareCorporation 11

CWMUML UML to Relational

Breakfast Tables

Breakfast Classes

BreakfastO to R

MOFMOF 2.0

Q/V/T

well-formed

according

well-formedaccording

well-formedaccording

well-formedaccording

well-formedaccording

well-formedaccording

well-formedaccording well-

formedaccording

The Example

Page 12: Compuware Corporation 1 Begin. Compuware Corporation The MDA Reference Model The ORMSC Laurence Tratt Tony Clark Wim Bast

CompuwareCorporation 12

CWMUML UML to Relational

Breakfast Tables

Breakfast Classes

BreakfastO to R

MOFMOF 2.0

Q/V/T

mapsmaps

relatesto

translates translates

The Example

Page 13: Compuware Corporation 1 Begin. Compuware Corporation The MDA Reference Model The ORMSC Laurence Tratt Tony Clark Wim Bast

CompuwareCorporation 13

BreakfastUML Class Model

Page 14: Compuware Corporation 1 Begin. Compuware Corporation The MDA Reference Model The ORMSC Laurence Tratt Tony Clark Wim Bast

CompuwareCorporation 14

CWMUML UML to Relational

Breakfast Tables

Breakfast Classes

BreakfastO to R

MOFMOF 2.0

Q/V/T

mapsmaps

relatesto

translates translates

The Example

Page 15: Compuware Corporation 1 Begin. Compuware Corporation The MDA Reference Model The ORMSC Laurence Tratt Tony Clark Wim Bast

CompuwareCorporation 15

Breakfast Rdbms Schema

id address price

order_id id amount

id name price

comestible_id

breakfast_order

part

comestible

Page 16: Compuware Corporation 1 Begin. Compuware Corporation The MDA Reference Model The ORMSC Laurence Tratt Tony Clark Wim Bast

CompuwareCorporation 16

The MDA Reference Model itself

Page 17: Compuware Corporation 1 Begin. Compuware Corporation The MDA Reference Model The ORMSC Laurence Tratt Tony Clark Wim Bast

CompuwareCorporation 17

Defined Concepts Structure (typed graphs)

Model

Model Types

Model Relations

Transformation

Transformation Types

Page 18: Compuware Corporation 1 Begin. Compuware Corporation The MDA Reference Model The ORMSC Laurence Tratt Tony Clark Wim Bast

CompuwareCorporation 18

Defined Relation Types Classification / Instantiation

Usage Relations

Composition

Specialization

Transformation

Page 19: Compuware Corporation 1 Begin. Compuware Corporation The MDA Reference Model The ORMSC Laurence Tratt Tony Clark Wim Bast

CompuwareCorporation 19

Overview

Page 20: Compuware Corporation 1 Begin. Compuware Corporation The MDA Reference Model The ORMSC Laurence Tratt Tony Clark Wim Bast

CompuwareCorporation 20

Graphs

Page 21: Compuware Corporation 1 Begin. Compuware Corporation The MDA Reference Model The ORMSC Laurence Tratt Tony Clark Wim Bast

CompuwareCorporation 21

Graphs

Page 22: Compuware Corporation 1 Begin. Compuware Corporation The MDA Reference Model The ORMSC Laurence Tratt Tony Clark Wim Bast

CompuwareCorporation 22

Overview

Page 23: Compuware Corporation 1 Begin. Compuware Corporation The MDA Reference Model The ORMSC Laurence Tratt Tony Clark Wim Bast

CompuwareCorporation 23

Models

Page 24: Compuware Corporation 1 Begin. Compuware Corporation The MDA Reference Model The ORMSC Laurence Tratt Tony Clark Wim Bast

CompuwareCorporation 24

Models

Page 25: Compuware Corporation 1 Begin. Compuware Corporation The MDA Reference Model The ORMSC Laurence Tratt Tony Clark Wim Bast

CompuwareCorporation 25

Overview

Page 26: Compuware Corporation 1 Begin. Compuware Corporation The MDA Reference Model The ORMSC Laurence Tratt Tony Clark Wim Bast

CompuwareCorporation 26

Transformations

Page 27: Compuware Corporation 1 Begin. Compuware Corporation The MDA Reference Model The ORMSC Laurence Tratt Tony Clark Wim Bast

CompuwareCorporation 27

Transformations

Page 28: Compuware Corporation 1 Begin. Compuware Corporation The MDA Reference Model The ORMSC Laurence Tratt Tony Clark Wim Bast

CompuwareCorporation 28

Overview

Page 29: Compuware Corporation 1 Begin. Compuware Corporation The MDA Reference Model The ORMSC Laurence Tratt Tony Clark Wim Bast

CompuwareCorporation 29

Typed Graphs

Page 30: Compuware Corporation 1 Begin. Compuware Corporation The MDA Reference Model The ORMSC Laurence Tratt Tony Clark Wim Bast

CompuwareCorporation 30

Typed Graphs

Page 31: Compuware Corporation 1 Begin. Compuware Corporation The MDA Reference Model The ORMSC Laurence Tratt Tony Clark Wim Bast

CompuwareCorporation 31

Overview

Page 32: Compuware Corporation 1 Begin. Compuware Corporation The MDA Reference Model The ORMSC Laurence Tratt Tony Clark Wim Bast

CompuwareCorporation 32

Typed Model

s

Page 33: Compuware Corporation 1 Begin. Compuware Corporation The MDA Reference Model The ORMSC Laurence Tratt Tony Clark Wim Bast

CompuwareCorporation 33

Typed Model

s

Page 34: Compuware Corporation 1 Begin. Compuware Corporation The MDA Reference Model The ORMSC Laurence Tratt Tony Clark Wim Bast

CompuwareCorporation 34

Overview

Page 35: Compuware Corporation 1 Begin. Compuware Corporation The MDA Reference Model The ORMSC Laurence Tratt Tony Clark Wim Bast

CompuwareCorporation 35

Typed Transformati

ons

Page 36: Compuware Corporation 1 Begin. Compuware Corporation The MDA Reference Model The ORMSC Laurence Tratt Tony Clark Wim Bast

CompuwareCorporation 36

Typed Transformati

ons

Page 37: Compuware Corporation 1 Begin. Compuware Corporation The MDA Reference Model The ORMSC Laurence Tratt Tony Clark Wim Bast

CompuwareCorporation 37

The simple MDA Example as Instance of the MDA Reference Model

Page 38: Compuware Corporation 1 Begin. Compuware Corporation The MDA Reference Model The ORMSC Laurence Tratt Tony Clark Wim Bast

CompuwareCorporation 38

CWMUML UML to Relational

Breakfast Tables

Breakfast Classes

BreakfastO to R

MOFMOF 2.0

Q/V/T

The Example

Page 39: Compuware Corporation 1 Begin. Compuware Corporation The MDA Reference Model The ORMSC Laurence Tratt Tony Clark Wim Bast

CompuwareCorporation 39

CWM:ModelType

UML :ModelType

Breakfast :ModelType

Breakfast :ModelType

MOF:ModelType

MOF Q/V/T:ModelType

The Example

UML to Relational

BreakfastO to R

Page 40: Compuware Corporation 1 Begin. Compuware Corporation The MDA Reference Model The ORMSC Laurence Tratt Tony Clark Wim Bast

CompuwareCorporation 40

CWM:ModelType

UML :ModelType

UML to R. :Transformation-

Type

Breakfast :ModelType

Breakfast :ModelType

Breakfast:Transformation

MOF:ModelType

MOF Q/V/T:ModelType

The Example

Page 41: Compuware Corporation 1 Begin. Compuware Corporation The MDA Reference Model The ORMSC Laurence Tratt Tony Clark Wim Bast

CompuwareCorporation 41

CWM:ModelType

UML :ModelType

UML to R. :Transformation-

Type

Breakfast :ModelType

Breakfast :ModelType

Breakfast:Transformation

MOF:ModelType

MOF Q/V/T:ModelType

:Transformation-Tracking

:Transformation-Tracking

:Model-Relation

:Transformation-Port

:Transformation-Port

The Example type

type

typetype

type

typetypetype

type type

Page 42: Compuware Corporation 1 Begin. Compuware Corporation The MDA Reference Model The ORMSC Laurence Tratt Tony Clark Wim Bast

CompuwareCorporation 42

BreakfastUMLClass Model

: NodeType

: NodeType

: NodeType

Page 43: Compuware Corporation 1 Begin. Compuware Corporation The MDA Reference Model The ORMSC Laurence Tratt Tony Clark Wim Bast

CompuwareCorporation 43

BreakfastUMLClass Model

: NodeType

: EdgeType

: NodeType

: EdgeType

: NodeType

Page 44: Compuware Corporation 1 Begin. Compuware Corporation The MDA Reference Model The ORMSC Laurence Tratt Tony Clark Wim Bast

CompuwareCorporation 44

Breakfast Rdbms Schema

id address price

order_id id amount

id name price

comestible_id

breakfast_order: NodeType

part : NodeType

comestible : NodeType

: EdgeType

: EdgeType

Page 45: Compuware Corporation 1 Begin. Compuware Corporation The MDA Reference Model The ORMSC Laurence Tratt Tony Clark Wim Bast

CompuwareCorporation 45

An Instance Model

Page 46: Compuware Corporation 1 Begin. Compuware Corporation The MDA Reference Model The ORMSC Laurence Tratt Tony Clark Wim Bast

CompuwareCorporation 46

Conclusion

Page 47: Compuware Corporation 1 Begin. Compuware Corporation The MDA Reference Model The ORMSC Laurence Tratt Tony Clark Wim Bast

CompuwareCorporation 47

TheMDA Reference Model Works !

Page 48: Compuware Corporation 1 Begin. Compuware Corporation The MDA Reference Model The ORMSC Laurence Tratt Tony Clark Wim Bast

CompuwareCorporation 48

End