Information Technology Reference
In-Depth Information
a means to compose models and to represent links between
model elements.There are some applications that require this:
traceability, model comparison, or model annotation. In these
cases, model weaving allows us to capture the links between
sourceandtargetmodelelements.ThisisonepointwhereMDE
meets aspect-oriented programming as detailed in [JÉZ 08].
Modelcompositionormodelweavingisanoperationtocombine
several models into a single one. A weaving operation is a
special type of model transformation that takes two models,
M1 and M2, as input and combines their elements into a
model M1+M2. Model weaving varies according to composition
requirements. Elements to be woven and the way they are
combined depends on the required operation. For example, if
we compose two class models, it is required to specify what
classes from both class models will be in the resulting class
model.
Figure 3.11. Model weaving example
Search WWH ::




Custom Search