Skip to main content

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: 42
Registered: November 2012

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.

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: 246
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: Sun Jul 05 11:37:11 GMT 2020

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

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

Back to the top