java - Dozer: Map class containing instance variable of itself -


i've been googling , trying find example dozer xml configuration maps class having instance variable of itself. example -

public class {     string var1;     int var2;     list<a> var3; } 

into class -

public class b {     string var1;     int var2;     list<b> var3; } 

from documentation http://dozer.sourceforge.net/documentation/mappings.html looks don't need define configuration , dozer map class class b (from dozer documentation - explicit xml mapping 2 classes not required if field mapping between src , dest object can performed matching on attribute name (sic)).

but unsure if work. facing problem while setting dozer in project not able test it.

please suggest how above class can converted class b using dozer?


Comments

Popular posts from this blog

asynchronous - C# WinSCP .NET assembly: How to upload multiple files asynchronously -

aws api gateway - SerializationException in posting new Records via Dynamodb Proxy Service in API -

asp.net - Problems sending emails from forum -