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.
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. To import the trace model, use the context menu entry Import Packages... -> From Registry in one of the Henshin editors and choose this URI: http://www.eclipse.org/emf/2011/Henshin/Trace.