Skip to main content



      Home
Home » Modeling » QVT-OML » creating operation parameters(creating operation parameters with ParameterDirectionKind return)
creating operation parameters [message #1794782] Thu, 06 September 2018 08:49 Go to next message
Eclipse UserFriend
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 10:58 Go to previous messageGo to next message
Eclipse UserFriend
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 13:19 Go to previous message
Eclipse UserFriend
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: Sat Jul 12 20:50:25 EDT 2025

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

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

Back to the top