Open lombokissues opened 9 years ago
:bust_in_silhouette: muratayengin :clock8: Apr 03, 2014 at 14:30 UTC
NEW FEATURE:
Applications needs to transfer model objects to view mostly using dto objects. Such as if a have a Book JPA entity class and want to transfer some of properties of this class to view i need to create a BookDTO class and map needed properties to this new dto class. İf project lombok have an annotation like @ View(BookDTO1:{name ,writer},BookDTO2:{name ,writer,isin,year}) ,applications dont need to contain dto layer expilicitly.Lombok can generate this classes at compile time .
:bust_in_silhouette: reinierz :clock8: Apr 29, 2014 at 19:59 UTC
That sounds like a job for normal annotation processors, though.
:bust_in_silhouette: muratayengin :clock8: Apr 30, 2014 at 14:16 UTC
@ View annotation needs to generate BookDTO1 ,BookDTO2 ... BookDTOn at compile time so values can be mapped to this class (for example using dozer framework.)
End of migration
Migrated from Google Code (issue 663)