[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.modeling.gmt.amw] Re: Models created with the help of the AMW plugin

Hi,

The models created with AMW are models (in .xmi) that conform to a weaving metamodel (.ecore), which conforms to Ecore.

The architecture is the following:

Ecore <-c2- weaving metamodel <-c2- weaving model.

You can use AMW to migrate/compare models. There are a couple of use cases of model migration in the AMW use cases page. Check, for instance, "Model migration illustrated by a simple metamodel" (http://www.eclipse.org/gmt/amw/usecases/migration/).

For model comparison, you can check the difference use case: "Calculating the difference between models" (http://www.eclipse.org/gmt/amw/usecases/diff/)

The general settings are the following :

1) You have a left metamodel MMl and a right metamodel MMr. AMW is used to create a weaving model Mw between MMl and MMr, with a set of links between the model elements. The links may say, for instance, that an element of MMl is equivalent to an element of MMr.

The weaving model is used to generate a transformation MTlr. This transformation will perform the migration of models Ml (conforming to MMl) to Mr (conforming to MMr).

2) The comparison case is similar, but you don't have to generate the transformation MTlr, and there are different kinds of links to indicate that an element was added, excluded, modified, etc.


Regards,

Marcos.

AJ wrote:
Hi there,

Are models created with the help of the AMW plugin, EMF ecore models?

Otherwise, can use AMW to compare/migrate EMF models as well?

Thanks!