Eclipse Papyrus -generation code - getters/setters/return operation [message #1867656] |
Wed, 03 July 2024 03:40  |
Eclipse User |
|
|
|
Hello,
I'm new to Eclipse Papyrus so I'm seeking for your help!
I'm using Eclipse Papyrus 2023-06 and tried to create Diagram Class from Papyrus Project.
I created 2 properties : name and firstname and set these properties to visiblity "private", type "String". When generate java code from UML , it create private variables but no getters or setters. Is there a way to customize the code generation to show automaticaly the getters and setters???
Also , when I create an Operation and set return parameter , there is the type return but nothing like "return ..." inside the operation created.
It's send me :
public String showInformationUser(String infoUser) {
}
How can I generate the default return inside the operation??
|
|
|
|
Powered by
FUDForum. Page generated in 0.03007 seconds