Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » AMW » Stereotype tagged values mapping
Stereotype tagged values mapping [message #469869] Wed, 03 June 2009 15:00 Go to next message
Skander TURKI is currently offline Skander TURKIFriend
Messages: 128
Registered: July 2009
Senior Member
Hi,
I'm new to AMW, i just installed it (not without difficulties). I'm trying
to explore the AMW solution to realize a model transformation from the
MARTE UML profile to an AADL UML profile (or directly to AAXL, i did not
decide yet). So if somebody can give me some advices about:
1- Do i have to develop a special extension to the AMW metamodel, if yes,
how to do that?
2- I do not imagine how atl rules could be generated from mappings between
stereotypes, i'm sure that a special implementation should be done here
but i still don't know how.
3- How can i specify mappings between tagged values that are nested in
already mapped stereotypes?
4- In an AMW model we can add links or associations. I don't understand
how the associations can be used, in which use cases?

It would be very helful if i could get some answers to my questions. So
please do not hesitate to answer.
Thanks
Re: Stereotype tagged values mapping [message #470174 is a reply to message #469869] Wed, 03 June 2009 20:42 Go to previous message
Marcos Didonet Del Fabro is currently offline Marcos Didonet Del FabroFriend
Messages: 84
Registered: July 2009
Member
Hi,

For questions 1, 2 and 3:

Check the use case about Dually.
http://www.eclipse.org/gmt/amw/usecases/dually/ Dually is a nice extension
to AMW that enables the production of ATL transformation between a
metamodel (Acme) and a Stereotype (Darwin).
You can create an extension like this one, or reuse it directly if it is
adapted to your problem.

Once the weaving models are created, the tool executes a HOT that produces
an ATL transformation from profile to metamodel, and vice versa.

For 4:

Associations are relations between links. Typically, most part of weaving
models have only extensions to "Links". However, there may be cases where
creating associations are useful (complicated cases :) ). For instance, to
implement an adapted version of a matching algorithm (called Similarity
Flooding), it was necessary to create associations between links. These
associations stored a pre-calculated propagation value between links.


Regards,

Marcos.
Previous Topic:Problem in Class2Relational example
Next Topic:Problem in Mantis2Bug.ecore
Goto Forum:
  


Current Time: Thu Dec 18 02:40:51 GMT 2014

Powered by FUDForum. Page generated in 0.02137 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software