Advanced Software Engineering: Lecture 3: Model-Driven Engineering, UML Metamodel
Advanced Software Engineering: Lecture 3: Model-Driven Engineering, UML Metamodel
Copyright Notice
SEA Group
2010 by V. Cortellessa
ACME C2
Rapid
is expressed by
Software Model
SEA Group
is a
Software Architecture
2010 by V. Cortellessa
ACME C2
Rapid
is expressed by
Software Model
SEA Group
is a
Software Architecture
2010 by V. Cortellessa
A system
Respiratory model Other views: muscular, nervous, circulatory, digestive, endocrinous, etc.
Skeleton model
SEA Group
2010 by V. Cortellessa
Mason's view
Model
SEA Group
RepOf
System
2010 by V. Cortellessa
M1
Ma Mb
Mc
A given system may have plenty of different models. Each model may focus on certain aspects of the system (i.e. a certain view).
isRepresentedBy
M0
S
SEA Group
2010 by V. Cortellessa
model transformation
procedural refinement
SEA Group
object/component composition
2010 by V. Cortellessa
ACME C2
Rapid
Software Model
SEA Group
is a
Software Architecture
2010 by V. Cortellessa
Metamodeling
A metamodel defines the first-class entities, relationships and constraints of a modeling language
M2 M1
UML Metamodel
Metamodel
ACME Metamodel
Aemilia Metamodel
conforms to
Model
SEA Group
10
2010 by V. Cortellessa
Metamodeling
A metamodel defines the first-class entities, relationships and constraints of a modeling language
M2 M1
UML Metamodel
Metamodel
ACME Metamodel
Aemilia Metamodel
conforms to
Model
Archi_Elem_Type Interaction
SEA Group
11
2010 by V. Cortellessa
Attachment
Metamodeling
A metamodel defines the first-class entities, relationships and constraints of a modeling language
M2 M1
Actor
UML Metamodel
Metamodel
ACME Metamodel
Aemilia Metamodel
conforms to
Model
Message
SEA Group
12
2010 by V. Cortellessa
State
Model hierarchy
M2 M1 M0
2010 by V. Cortellessa
Metamodel
conforms to
Model
An e-commerce UML Model
is represented by
System
An e-commerce (SW/HW) system
SEA Group
13
Model hierarchy M3 M2 M1 M0
2010 by V. Cortellessa
Metameta model
MOF
conforms to
Metamodel
The UML meta-model
conforms to
Model
An e-commerce UML Model
is represented by
System
An e-commerce (SW/HW) system
SEA Group
14
Model hierarchy M3 M2 M1 M0
2010 by V. Cortellessa
Metameta model
XSD
conforms to
Metamodel
An XML Schema
conforms to
Model
An XML document
is represented by
System
A birthdate certificate
SEA Group
15
Model hierarchy
M2
M2
M2
M1
SEA Group
M1
M1
M1
M1
Universit de NANTES
16
2010 by V. Cortellessa
source
meta-meta model
M3
The MOF
Class destination
Association
M3
M2
metamodel
1 Class
Attribute
M2
M1
model
a UML Model
M1
SEA Group
M0
17
2010 by V. Cortellessa
SEA Group
18
2010 by V. Cortellessa