Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » QVT-OML » creating operation parameters(creating operation parameters with ParameterDirectionKind return)
creating operation parameters [message #1794782] Thu, 06 September 2018 12:49 Go to next message
Siegfried Nolte is currently offline Siegfried NolteFriend
Messages: 45
Registered: August 2009
Member
Hi QVTo Community,

I am transforming class operations form source class attributes (getter and setter). The getter should get a return type based on the type of the attribute, more concrete the type will be generated from the Attributes type and the ParameterDirectionKind should be "return".

ownedParameter += object Parameter
{
name := '';
type := self.type.getPrimitiveType (pt);
direction := ParameterDirectionKind::return;
};

The problem is:
The direction-assignment does not work. Token "return" is invalid.

Is it? What can I do instead?

I am working with Eclipse 4.7.3, QVTo SDK 3.7.0.

Thanks for help,
Siegfried
Re: creating operation parameters [message #1794794 is a reply to message #1794782] Thu, 06 September 2018 14:58 Go to previous messageGo to next message
Siegfried Nolte is currently offline Siegfried NolteFriend
Messages: 45
Registered: August 2009
Member
Sorry. I submitted this question twice. This one can be deleted.
Siegfried
Re: creating operation parameters [message #1794799 is a reply to message #1794794] Thu, 06 September 2018 17:19 Go to previous message
Ed Willink is currently offline Ed WillinkFriend
Messages: 6033
Registered: July 2009
Senior Member
Hi

No problem. Many users find the slowness and eccentricities of FUDForum very misleading.

Regards

Ed Willink
Previous Topic:creating operation parameters
Next Topic:[QVTo] How to mapp association between two classes
Goto Forum:
  


Current Time: Tue Sep 18 19:16:45 GMT 2018

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

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

Back to the top