Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » UML2 » UML M2M(Epsilon Java2UML transformation ParameterDirectionKind)
UML M2M [message #1726827] Wed, 16 March 2016 17:15 Go to next message
Mauricio Verano is currently offline Mauricio VeranoFriend
Messages: 4
Registered: March 2016
Junior Member
Hi,
I'm trying to make a M2M transformation from a Java model to UML 2.0
model. When I'm trying to execute the following expression:

UML!ParameterDirectionKind#_Return;

I obtain this in console:

Executing @Java2UML transformation
Exception executing @Java2UML transformation
Cannot find enumeration literal ParameterDirectionKind#_Return in model UML

Re: UML M2M [message #1726833 is a reply to message #1726827] Wed, 16 March 2016 18:25 Go to previous messageGo to next message
Ed Willink is currently offline Ed WillinkFriend
Messages: 7655
Registered: July 2009
Senior Member
Hi

Why "_Return"?

UML defines "return".

Regards

Ed Willink

On 16/03/2016 17:47, Mauricio Verano wrote:
> Hi,
> I'm trying to make a M2M transformation from a Java model to UML 2.0
> model. When I'm trying to execute the following expression:
>
> UML!ParameterDirectionKind#_Return;
>
> I obtain this in console:
>
> Executing @Java2UML transformation
> Exception executing @Java2UML transformation
> Cannot find enumeration literal ParameterDirectionKind#_Return in model UML
>
Re: UML M2M [message #1726837 is a reply to message #1726833] Wed, 16 March 2016 19:10 Go to previous messageGo to next message
Mauricio Verano is currently offline Mauricio VeranoFriend
Messages: 4
Registered: March 2016
Junior Member
Hi Ed,
I already try with return and I get the "same" result.

Executing @Java2UML transformation
Exception executing @Java2UML transformation
Cannot find enumeration literal ParameterDirectionKind#_return in model OUT


I'm using the underscore before the "return" because return is a reserved word in Epsilon.
Re: UML M2M [message #1726838 is a reply to message #1726837] Wed, 16 March 2016 19:23 Go to previous message
Mauricio Verano is currently offline Mauricio VeranoFriend
Messages: 4
Registered: March 2016
Junior Member
I already solved looking this previous post: https://www.eclipse.org/forums/index.php/m/1114284/?srch=ParameterDirectionKind#msg_1114284
the solution was:

UML!ParameterDirectionKind#`return`;

thank you.
Previous Topic:Problem loading UML in stand alone application
Next Topic:saving a model content into a string
Goto Forum:
  


Current Time: Tue Apr 23 15:45:55 GMT 2024

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

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

Back to the top