Ecore for mapping metamodel [message #1844140] |
Thu, 02 September 2021 14:48  |
Eclipse User |
|
|
|
Hi all,
I want to write some Higher Order Transformations (HOTs), and for that I would need a mapping that details the correspondences between the two metamodels. I know that it is possible to create this mapping metamodel using Ecore, but I am not quite sure how. Do you have any experience on how this can be achieved, or some examples to begin with?
Many thanks!
|
|
|
Re: Ecore for mapping metamodel [message #1844156 is a reply to message #1844140] |
Fri, 03 September 2021 11:47  |
Eclipse User |
|
|
|
Hi
That is pretty much exactly what QVT does with its trace model. The QVTo one is unspecified, the QVTc/QVTr is auto-created as part of the transformation compilation. You can of course define your own mapping, but unless your requirements are pretty trivial you will find that you end up developing yet another M2M language.
Regards
Ed Willink
|
|
|
Powered by
FUDForum. Page generated in 0.02319 seconds