From version 2.1
edited by Vladyslav Pavlov
on 2018/03/25 17:29
To version 3.1
edited by Denis Pavlov
on 2018/03/26 12:51
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -xwiki:XWiki.vpavlov
1 +xwiki:XWiki.dpavlov
Content
... ... @@ -2,7 +2,6 @@
2 2  
3 3  |(% style="color:#337ab7" %){{icon name="info-circle"/}} This feauture was inspired by [[Igor Azarny>>http://ua.linkedin.com/in/igorazarny/]] and available since v.1.0.2
4 4  
5 -
6 6  In many cases you end up with a simple on-to-one relation between dto and entity. Therefore it seems kind of lengthy to specify the entity class for DTOAssembler every time.
7 7  
8 8  So GeDA introduced a new value parameter for the @Dto annotation that specifies the entity class name. The class name can be a java (% style="color:red" %){{icon name="times-circle"/}} class or interface.
... ... @@ -9,7 +9,6 @@
9 9  
10 10  (((
11 11  {{code language="java"}}
12 -
13 13  @Dto("dp.lib.dto.geda.assembler.TestEntity1Class")
14 14  @Ignore
15 15  class TestDto1Class implements TestDto1Interface {
... ... @@ -23,8 +23,7 @@
23 23  
24 24  (((
25 25  {{code language="java"}}
26 -
27 - /**
24 + /**
28 28   * Test that if @Dto specifies class name for entity the assembler is auto created
29 29   * for that class or interface.
30 30   */
GeDA - Generic DTO Assembler © Denys Pavlov 2009 - 2019
v.1.0.0