Skip to main content



      Home
Home » Modeling » Papyrus » Code generation
Code generation [message #1769907] Fri, 04 August 2017 21:28 Go to next message
Eclipse UserFriend
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 17:53 Go to previous message
Eclipse UserFriend
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 Jul 19 08:51:17 EDT 2025

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

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

Back to the top