Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » M2M (model-to-model transformation) » [QVTO] Custom data types
[QVTO] Custom data types [message #868688] Wed, 02 May 2012 12:04 Go to next message
Eclipse UserFriend
Hello,

in our EMF model we're using a few custom data types, for which we just
define the FQ class name. Quite obviously, the QVTo editor and engine
don't know how to handle this type. For now I could get by this by using
the generic .repr() function which seems to just the a String
representation. (For some reason, toString() was not available for these
types?!). Is there a more precise approach to this problem? I found
mentioning of the EP org.eclipse.m2m.qvt.oml.ocl.libraries by means of
which -- I think, but just as well I'm mixing concepts here -- one could
extend QVT according to new types, but apparently that one doesn't exist
anymore.

Any insights or pointers appreciated, I just couldn't find anything.

TIA
Marius
Re: [QVTO] Custom data types [message #868696 is a reply to message #868688] Wed, 02 May 2012 12:16 Go to previous message
Ed Willink is currently offline Ed WillinkFriend
Messages: 4150
Registered: July 2009
Senior Member
Hi

Black boxes seem to be the solution to facilities that are easily
implemented in Java.

Regards

Ed Willink

On 02/05/2012 13:04, Marius Gröger wrote:
> Hello,
>
> in our EMF model we're using a few custom data types, for which we just
> define the FQ class name. Quite obviously, the QVTo editor and engine
> don't know how to handle this type. For now I could get by this by using
> the generic .repr() function which seems to just the a String
> representation. (For some reason, toString() was not available for these
> types?!). Is there a more precise approach to this problem? I found
> mentioning of the EP org.eclipse.m2m.qvt.oml.ocl.libraries by means of
> which -- I think, but just as well I'm mixing concepts here -- one could
> extend QVT according to new types, but apparently that one doesn't exist
> anymore.
>
> Any insights or pointers appreciated, I just couldn't find anything.
>
> TIA
> Marius
Previous Topic:Measure execution time
Next Topic:[ATL] How to find the package owning a class ?
Goto Forum:
  


Current Time: Sat Nov 22 10:46:05 GMT 2014

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

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