Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » M2M (model-to-model transformation) » [QVTo] ECore to QVT meta-model syntax?
[QVTo] ECore to QVT meta-model syntax? [message #525154] Mon, 05 April 2010 18:53 Go to next message
PBarendrecht is currently offline PBarendrechtFriend
Messages: 36
Registered: November 2009
Location: Eindhoven, Netherlands
Member
Hi all,

I wondered whether it is possible to convert an ECore file (a meta-model) to QVT code, like the code used when using in-line meta-models.
This syntax uses keywords like composes, references and opposites, however I don't understand these keywords very well (I read the OMG QVT Specs [8.4.6], but it is not that clear).

If I could better understand this QVT meta-model syntax, I would be able to define more complicated intermediate classes.

Thanks!
Re: [QVTo] ECore to QVT meta-model syntax? [message #525626 is a reply to message #525154] Wed, 07 April 2010 09:06 Go to previous message
Sergey Boyko is currently offline Sergey BoykoFriend
Messages: 171
Registered: July 2009
Senior Member
Hi PBarendrecht ,

Comments are in-lined below.

Regards,
Sergey

PBarendrecht wrote:
> Hi all,
>
> I wondered whether it is possible to convert an ECore file (a
> meta-model) to QVT code, like the code used when using in-line
> meta-models.

There's no such automatic conversion available.
In fact QVTo supports only intermediate properties and intermediate
classes. Locally defined metamodels are not supported.


> This syntax uses keywords like composes, references and
> opposites, however I don't understand these keywords very well (I read
> the OMG QVT Specs [8.4.6], but it is not that clear).

You can find some samples on defining intermediate properties and
classes in our test plug-in: org.eclipse.m2m.tests.qvt.oml (greep *.qvto
files with 'intermediate' inside).

>
> If I could better understand this QVT meta-model syntax, I would be able
> to define more complicated intermediate classes.
>
> Thanks!
Previous Topic:Tool to use for KM3 file?
Next Topic:[ATL] inject options for InputStream
Goto Forum:
  


Current Time: Sat Apr 27 01:36:30 GMT 2024

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

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

Back to the top