View
219
Download
0
Tags:
Embed Size (px)
Citation preview
CompuwareCorporation 1
Begin
CompuwareCorporation
The MDAReference Model
The ORMSCLaurence Tratt Tony ClarkWim 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
CompuwareCorporation 4
Introduction to the MDA Reference Model
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
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
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
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
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 !
CompuwareCorporation 10
A Simple MDA Example
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
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
CompuwareCorporation 13
BreakfastUML Class Model
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
CompuwareCorporation 15
Breakfast Rdbms Schema
id address price
order_id id amount
id name price
comestible_id
breakfast_order
part
comestible
CompuwareCorporation 16
The MDA Reference Model itself
CompuwareCorporation 17
Defined Concepts Structure (typed graphs)
Model
Model Types
Model Relations
Transformation
Transformation Types
CompuwareCorporation 18
Defined Relation Types Classification / Instantiation
Usage Relations
Composition
Specialization
Transformation
CompuwareCorporation 19
Overview
CompuwareCorporation 20
Graphs
CompuwareCorporation 21
Graphs
CompuwareCorporation 22
Overview
CompuwareCorporation 23
Models
CompuwareCorporation 24
Models
CompuwareCorporation 25
Overview
CompuwareCorporation 26
Transformations
CompuwareCorporation 27
Transformations
CompuwareCorporation 28
Overview
CompuwareCorporation 29
Typed Graphs
CompuwareCorporation 30
Typed Graphs
CompuwareCorporation 31
Overview
CompuwareCorporation 32
Typed Model
s
CompuwareCorporation 33
Typed Model
s
CompuwareCorporation 34
Overview
CompuwareCorporation 35
Typed Transformati
ons
CompuwareCorporation 36
Typed Transformati
ons
CompuwareCorporation 37
The simple MDA Example as Instance of the MDA Reference Model
CompuwareCorporation 38
CWMUML UML to Relational
Breakfast Tables
Breakfast Classes
BreakfastO to R
MOFMOF 2.0
Q/V/T
The Example
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
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
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
CompuwareCorporation 42
BreakfastUMLClass Model
: NodeType
: NodeType
: NodeType
CompuwareCorporation 43
BreakfastUMLClass Model
: NodeType
: EdgeType
: NodeType
: EdgeType
: NodeType
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
CompuwareCorporation 45
An Instance Model
CompuwareCorporation 46
Conclusion
CompuwareCorporation 47
TheMDA Reference Model Works !
CompuwareCorporation 48
End