The names of the getting and setting methods are derived from the field name. If you use a prefix or suffix for fields (e.g. fValue, _value, val_m), you can specify the suffixes and prefixes in the Code Generation preference page (Windows > Preferences > Java > Code Generation).
When pressing OK, all selected Getter
and Setters are created
Option
|
Description
|
---|---|
Select methods to create
|
Tree containing Getter and Setter methods that can be
created. Getter and Setters are grouped by field.
|
Select All
|
Select all Getters and Setter methods
|
Deselect All
|
Deselect all Getters and Setter methods
|
Generating getters and setters