The Atlas Model Weaver supports the creation of different kinds of links between model (or metamodel) elements. The links are saved in a weaving model. The weaving model conforms to an extensible weaving metamodel. <p/>
Weaving models can be used in different application scenarios, such as tool interoperability, transformation specification, traceability, model merging, model comparison.
Core weaving metamodel
The AMW is developed based on a core weaving metamodel. This core metamodel supports basic link management, i.e., n:n relationships between model elements. The identifiers of the referred elements can be saved using different identification methods. The core weaving metamodel is illustrated below.
WElement is the base element from which all other elements inherit. It has a name and a description. WModel represents the root element that contains all model elements. WLink denotes the link type. WLink has a reference end to associate it with a set of link endpoints (WLinkEnd). Each WLinkEnd references one WElementRef. The attribute ref contains the identifier of the linked elements. WElementRef is not referenced directly by WLink because it is possible to reference the same model element by different link endpoints, for example one model element may participate in more than one mapping expression. WModelRef is similar to WElementRef, but it contains references to the models.
The different kind of semantics of a weaving metamodel are defined in extensions to the core weaving metamodel. The different weaving metamodel extensions can be applied in different application scenarios. Different metamodel extensions are available for download in the Weaving metamodel Zoo.
The AMW prototype is developed as an Eclipse plug-in. It uses EMF as base model handler. The prototype is a generic workbench for weaving models. It provides a set of extension points definition to enable to customize the interface according to different metamodel extensions. An example of the interface is shown below.
AMW plugin extensions
The first contribution to the AMW interface is the base weaver extension plugin (org.eclipse.weaver.extension). This extension enables to use the AMW plugin with the basic functionalities. This extension is provided for download together with the core weaver plugin (org.eclipse.weaver).
Automatic generation of weaving models
The AMW plugin is used to manually create weaving models. However, it is possible to semi-automatically generate these models. Weaving models are generated using matching transformations. Matching transformations are transformations that execute matching heuristics to create a set of links based on a similarity value. This value can be calculated in different ways, for example by using the edit distance between two strings, or by using the structural relationships (e.g., containment, inheritance) between model elements.
The AMW plug-in is integrated with ATL to be able to execute matching transformations directly from the main user interface. The matching transformations are implemented in the org.eclipse.weaver.transformation plug-in.
These transformations are also available separately in the Matching transformation library.
AMW Model Handler
The AMW Model Handler enables a better integration of ATL transformations and weaving models. It provides a set of primitives constantly needed when developing transformations that have weaving models as input or output.
The AMW Model Handler page contains detailed information on how to download, to install, and to use the new primitives.
Weaving models may be used in several application scenarios, such as metamodel comparison, traceability, model matching, model annotation, interoperability. This is because it is often necessary to establish links between elements of different models.
These use cases are implemented using AMW. AMW supports such a variety of application scenarios because it has an adaptive interface that handles different metamodel extensions (AMW is fully implemented using the reflective API of EMF). The plug-in also provides a set of extensions points that enables to add new functionalities when necessary. A set of use case is found in the Use Cases page. More information can also be found in the AMW FAQ.
The AMW Examples HowTo contains additional information about the examples available for download in the AMW project web site.
SAC07 Del Fabro, MD, and Valduriez, P :Semi-automatic Model Integration using Matching Transformations and Weaving Models . In: The 22th Annual ACM SAC, MT 2007 - Model Transformation Track, Seoul (Korea), 2007. To appear.
Didonet Del Fabro, M, Bézivin, J, and Valduriez, P : Model-driven Tool Interoperability:
an Application in Bug Tracking. In: ODBASE'06(OTM Federated Conferences). 2006.
BDA2005 Didonet Del Fabro, M, Bézivin, J, Jouault, F, and Valduriez, P : Applying Generic Model Management to Data Mapping. In: Proceedings of Bases de Données Avancées (BDA05), 17-20 october 2005, Saint-Malo, France.
The AMW project provides an Eclipse plugin to create weaving models and to compose metamodel extensions.
The plugin can be downloaded in the AMW Download Page.
A set of application scenarios is available at AMW Examples. There are examples of weaving models, metamodel extensions, weaving models generated automatically through matching transformations, AM3 Ant Tasks, higher-order transformations that take a weaving model and that produce model transformations, etc. These examples are sorted in different categories.
AMW Wish List
AM3, The ATLAS MegaModel Management Eclipse wiki page
AM3, The ATLAS MegaModel Management project's Eclipse homepage
ATL, The ATLAS Transformation Language project's Eclipse homepage
ATL, The ATLAS Transformation Language Eclipse wiki page
ATL, The ATL homepage