Jump to: navigation, search

Difference between revisions of "Henshin Trace Model"

Line 1: Line 1:
 
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 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.
  
 
[[Image:Henshin-trace-model.png|Henshin Trace Model]]
 
[[Image:Henshin-trace-model.png|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.

Revision as of 05:11, 5 December 2011

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.