Stereotype tagged values mapping [message #469869] |
Wed, 03 June 2009 11:00  |
Eclipse User |
|
|
|
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 16:42  |
Eclipse User |
|
|
|
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.
|
|
|
Powered by
FUDForum. Page generated in 0.03487 seconds