|
|
Re: Code generation [message #1770603 is a reply to message #1770004] |
Mon, 14 August 2017 17:47  |
Eclipse User |
|
|
|
I looked at your example and I'm not sure what you expect: the generated code does not compile, since the three variables a, b, and c (referenced from your opaque behavior) are not declared. You declare a stereotype with the attributes a, b and c in your specific profile, but the code generator does not know this profile and therefore ignores it.
If you want to add attributes to your class, declare them directly as UML properties (with an optional default value). Note that stereotype attributes are not UML properties, they extend properties of the meta-model.
|
|
|
Powered by
FUDForum. Page generated in 0.04619 seconds