| Code: |
| private String code;
public String getCode() {return this.code;} public void setCode(String code) {this.code = code;} |
| ernestz wrote: |
| This is a basic Eclipse feature ...
While editing the class for which you want to generate getters/setters, right click mouse and select Source -> Generate Getters and /Setters. Select the properties for which you want to generate getter and/or setter. |