Skip to main content

Notice: This Wiki is now read only and edits are no longer possible. Please see: for the plan.

Jump to: navigation, search

Open Model CourseWare (OMCW)/resources/chapter10

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.

List of Files

Introduction to Model-to-Model Transformation This lecture provides an introduction to model-to-model transformation with ATL.
Advanced Applications of Model-to-Model Transformation This lecture offers an overview of some more advanced model-to-model transformation capabilities with ATL.
Comparing M2M and M2T Complementary Approaches This lecture presents a comparison between the two complementary model transformation approaches: Model-to-Model and Model-to-Text.
ATL and QVT Alignment This lecture covers the alignment of ATL and QVT.
ATL Presentation This lecture provides an introduction to the ATL ATLAS Transformation Language.
Flattening UML Classes: Exercise 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.
Introduction to MOF QVT This lecture provides an introduction to the MOF 2.0 QVT standard with focus on the Operational Mappings.
MOFScript Lecture This lecture presents the MOFScript, a MOF Model to Text Transformation language.
Processing XML Schema 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.
QVT Case Study This archive contains files required to execute the QVT transformation explained in the lecture on QVT Operational Mappings language.
Simple UML to Simple RDBMS 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.
UML2 Java: Exercise 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.

Copyright © Eclipse Foundation, Inc. All Rights Reserved.