1.3.1 Released!

10 views
Skip to first unread message

Alessandro Vurro

unread,
Apr 17, 2015, 8:28:44 AM4/17/15
to jmapper-...@googlegroups.com

Features added in this release:

class parameter in JMapAccessor

Added class parameter in JMapAccessor to avoid cases where target and mapped fields have the same name for example:

public class Destination{
       
   
@JMapAccessors({
     
@JMapAccessor(name="field",get="get",set="set", classes={Source.class}),
     
@JMapAccessor(name="field",get="get",set="set", classes={Destination.class})
   
})
   
private String field;
}

avoid set method in explicit conversions

Now you can avoid the use of set method for the destination instance. In Annotation:

@JMapConversion(avoidSet=true)

In XML:

<conversion name="conversion" avoidSet="true">
   conversion body
</conversion>

This is usefull when destination fields are obtainable only by the get method

JMapAccessor handled in XMlHandler

The methods from and to XML are updated to work with JMapAccessor too.


Fixed issure 13: mapping between complex Set works now

Reply all
Reply to author
Forward
0 new messages