Closed GoogleCodeExporter closed 9 years ago
In fact, exclude is used to exclude mapping in both direction.
use aToB or bToA instead.
Original comment by elaat...@gmail.com
on 3 Jul 2012 at 2:20
OK ... but it would be logical. I can add a FielMap in one direction ... so why
not excluding a FieldMap for one direction.
Both lines of code should do the same:
ClassMapBuilder.map( A.class, B.class ).fieldMap( "anyField" ).aToB().exclude();
ClassMapBuilder.map( A.class, B.class ).fieldMap( "anyField" ).bToA().add();
Anyway ... it works with the second line.
Original comment by insidegr...@gmail.com
on 9 Jul 2012 at 10:56
In the FieldMapBuilder exclude is just a flag (boolean)
Do you have any suggestions/critics for documentation
Original comment by elaat...@gmail.com
on 9 Jul 2012 at 12:54
Original comment by elaat...@gmail.com
on 9 Jul 2012 at 1:21
Documentation for this feature would be good. (It's totally missing)
Btw ... cool API ... good job
Thx
Tom
Original comment by insidegr...@gmail.com
on 11 Jul 2012 at 8:54
Original issue reported on code.google.com by
insidegr...@gmail.com
on 2 Jul 2012 at 3:57