Technical Support
Have technical issues or suggestions? Please contact Visual Paradigm Support Team.
Sales Support
Have questions related to registration, licensing or payment? Feel free to contact Visual Paradigm Sales Team.
In generated ORM code, getters and setters will be generated for attributes added to every ORM Persistable class. Sometimes, you may want to customize the method body of those getters and setters, like to apply security checking or to print a statement upon the updating of data. In these cases, you can customize the getter and setter of attribute to add the code you want.
![]() |
| A part of the generated code, showing the getters and setters generated from attributes of an ORM Persistable class |
To customize getter/setter of attribute:
![]() |
| Opening the specification of attribute |
![]() |
| Customizing the setter of attribute |
![]() |
| Customized setter |
| 4. Using generated code | Table of Contents | Chapter 9. State Machine Diagram Code Generation |
Technical Support
Have technical issues or suggestions? Please contact Visual Paradigm Support Team.
Sales Support
Have questions related to registration, licensing or payment? Feel free to contact Visual Paradigm Sales Team.