Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Papyrus » Code generation
Code generation [message #1769907] Sat, 05 August 2017 01:28 Go to next message
Jeni Martin is currently offline Jeni MartinFriend
Messages: 41
Registered: November 2012
Member
Hello,

I wanted to test a very simple model for code generation.
I created a profile with a stereotype that the stereotype has three attributes: a, b and c
Next, I created a model instance of that profile such that a class of instance model has an operation on a, b and c.
If I try to generate the code out of the model instance by right click-->Designer--> generate java code, the generated code is not correct. Can any one help me and explain how i can generate the code properly? I attach the simple profile and the model instance.

Thanks.
Re: Code generation [message #1770604 is a reply to message #1769907] Mon, 14 August 2017 21:53 Go to previous message
Ansgar Radermacher is currently offline Ansgar RadermacherFriend
Messages: 119
Registered: March 2011
Location: Paris Saclay, France
Senior Member
I answered your question with the attached model here .
Previous Topic:Code generation
Next Topic:Definition of Java-Constraints in UML Profile
Goto Forum:
  


Current Time: Sat Jan 20 22:47:58 GMT 2018

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

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