Bug 323895 - Support project lombok for generating getters and setters for a field
Summary: Support project lombok for generating getters and setters for a field
Status: NEW
Alias: None
Product: Dali JPA Tools
Classification: WebTools
Component: Diagram Editor (show other bugs)
Version: 0.5   Edit
Hardware: PC Windows 7
: P3 enhancement with 1 vote (vote)
Target Milestone: Future   Edit
Assignee: Project Inbox CLA
QA Contact: Stefan Dimov CLA
URL:
Whiteboard:
Keywords: helpwanted
Depends on:
Blocks:
 
Reported: 2010-08-28 19:02 EDT by Tuukka Mustonen CLA
Modified: 2022-03-09 16:44 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.