akshattandon / projectlombok

Automatically exported from code.google.com/p/projectlombok
0 stars 0 forks source link

Remove DTO class from project #663

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
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 . 

Original issue reported on code.google.com by murataye...@gmail.com on 3 Apr 2014 at 2:30

GoogleCodeExporter commented 9 years ago
That sounds like a job for normal annotation processors, though.

Original comment by reini...@gmail.com on 29 Apr 2014 at 7:59

GoogleCodeExporter commented 9 years ago
@View annotation needs  to generate  BookDTO1 ,BookDTO2 ... BookDTOn at compile 
time so 
values  can be mapped to this class (for example using dozer framework.)

Original comment by murataye...@gmail.com on 30 Apr 2014 at 2:16