Bug 323895

Summary: Support project lombok for generating getters and setters for a field
Product: [WebTools] Dali JPA Tools Reporter: Tuukka Mustonen <catapl3xis>
Component: Diagram EditorAssignee: Project Inbox <dali.diagrameditor-inbox>
Status: NEW --- QA Contact: Stefan Dimov <stefan.dimov>
Severity: enhancement    
Priority: P3 CC: petya.sabeva
Version: 0.5Keywords: helpwanted
Target Milestone: Future   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Tuukka Mustonen CLA 2010-08-28 19:02:39 EDT
JavaBean getters and setters are generated as usual.

Project Lombok is a code generation tool that can generate these on the fly. Programmer just needs to annotate the fields he/she wants to create getters and setters for. This simplifies and shortens the entity classes (or any JavaBean class) quite a bit.

It would be nice to have JPA Diagram tool generate these annotations instead of doing setters via direct code generation.
Comment 1 Stefan Dimov CLA 2010-10-04 09:40:50 EDT
   I'm not aware of the project Lombok. Perhaps it's a good idea, I don't know. The problem here is that we are short on resources and I don't know when we'll have time even to research that project. 

   Perhaps, at first we should discuss some matters concerning stability and complexity of that project, need for additional bundle dependencies, possible performance degradation, does result justify efforts and etc., but in general feel free to submit patches if you believe they are useful.