Open Model CourseWare (OMCW) Available Resources (Teaching Material)
Chapter 10 - Model Transformation
This chapter is devoted on model transformations. It gives information about various transformation languages and related standards such as QVT.
Return to the list of chapters »
List of Files
-
|
|
This lecture provides an introduction to model-to-model transformation with ATL.
|
-
|
|
This lecture offers an overview of some more advanced model-to-model transformation capabilities with ATL.
|
-
|
|
This lecture presents a comparison between the two complementary model transformation approaches: Model-to-Model and Model-to-Text.
|
-
|
|
This lecture covers the alignment of ATL and QVT.
|
-
|
|
This lecture provides an introduction to the ATL ATLAS Transformation Language.
|
-
|
|
This exercise requires writing a transformation program that takes an UML class diagram as an input and generates a new diagram in which only the leaves of the inheritance hierarchies are kept. Inheritance hierarchies in the source model are flattened by moving all the attributes of superclasses to the leaf classes. Before flattening a check for the presence of cycles in the inheritance graph is performed. The result is a report that contains information about eventual cycles. This report takes the form of a model that conforms to a metamodel describing defects.
|
-
|
|
This lecture provides an introduction to the MOF 2.0 QVT standard with focus on the Operational Mappings.
|
-
|
|
This lecture presents the MOFScript, a MOF Model to Text Transformation language.
|
-
|
|
This is a complex exercise that requires writing a transformation program that takes an XML schema as an input and generates a new XML schema in which the redefine elements found in the input schema are removed. The required transformation may be implemented in any model transformation language. The description of the exercise assumes that the metamodels will be expressed in KM3 and ATL will be used for writing the transformation program.
|
-
|
|
This archive contains files required to execute the QVT transformation explained in the lecture on QVT Operational Mappings language.
|
-
|
|
This exercise is the one used in the QVT specification (OMG Document ptc/05-11-01), Annex A.1.1. It requires transformation of simplified UML class diagrams to relational database schemas. The description of the exercise in this document assumes that metamodels are expressed in KM3 and that ATL will be used for writing the transformation program.
|
-
|
|
The UML to Java exercise requires a transformation of a UML model to a simplified Java model. The Java model holds the information for the creation of Java classes, especially what concerns the structure of these classes, namely the package reference, the attributes and the methods.
|