Set-accessor Body? [message #1850562] |
Tue, 08 March 2022 09:16  |
Eclipse User |
|
|
|
Hi all,
Currently, I am working with derived references. When I click on my derived reference in the genmodel, I can see in the properties view the text-field for the Get-accessor Body, so I can insert my code there.
However, I cannot see a Set-Accessor Body. I notice that the setter method is generated but of course, it is left empty. My problem is that I want to generate the genmodel from another application, set the bodies for the setter and getter, and then, generate the model code.
Is there a way to manage the setter the same way as the getter? Or should I create a setter EOperation?
Thanks in advance!
Kind regards,
Antonio
|
|
|
|
|
|
|
Re: Set-accessor Body? [message #1850617 is a reply to message #1850608] |
Thu, 10 March 2022 05:40  |
Eclipse User |
|
|
|
Hi,
Thank you both for your answers.
Indeed, I will implement the set EOperation and in the derived feature, the Changeable property must equal to false.
Kind regards,
Antonio
|
|
|
Powered by
FUDForum. Page generated in 0.04208 seconds