Creating model-to-model transformations

You can create model-to-model transformations by specifying mapping relationships between elements in models or metamodels.

About this task

Creating model-to-model transformations is a process that is also known as model-to-model transformation authoring. Model-to-model transformation authoring is a model-driven process that enables you to specify source and target models or metamodels, and create one or more mapping declarations that define relationships between the elements in the models or metamodels. Mapping declarations contain mapping rules that define relationships between the features of the elements; these mapping rules can contain detailed implementation information. Working with this level of abstraction enables you to focus on the problem domain instead of the solution domain.

As you define the mapping declarations and mapping rules, you can generate extensible transformation source code that extends the standard transformation framework. The mapping rules are specified using a metamodel of a model, including Eclipse Modeling Framework (EMF) core (Ecore) metamodels and UML profiles. The code generation process also produces any necessary plug-in infrastructure. You can use the generated transformation code to perform model-to-model transformations.