Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Henshin/Trace Model

< Henshin
Revision as of 05:11, 5 December 2011 by Unnamed Poltroon (Talk)

The Henshin Trace model is an EMF model which provides generic and flexible traceability support for exogenous model transformations in Henshin. Exogenous transformation are used to translate one or more source models into one or more target models.

The trace model consists of a single class Trace which has two non-containment n-ary references called source and target. These two references are of type EObject and therefore can be used to refer to any EMF object. This is also the reason why we say that the trace model is generic. In addition to the source and target references, traces can be named and can contain subtraces.

Henshin Trace Model


How to use the Trace Model

To use the trace model in an exogenous transformation, all you need to do is to import the trace package into your transformation and to use it in the transformation rules.

Back to the top