java - Dozer# Can Dozer supports Polymorphism? -
please see following structure of sourceclass , destinationclass.
public class sourceclass { // mapping goes here protected someobject someobject; public static class someobject { // mapping goes here parameters protected string param1; protected string param2; protected string param3; protected string param4; protected string param5; protected string param6; protected string param7; protected string param8; protected string param9; protected string param10; } } public class destinationclass { protected myobject myobject; } public class myobject { protected string param1; protected string param2; protected string param3; } public class childclass1 extends myobject { string param8; string param9; string param10; } public class childclass2 extends childclass1 { protected string param4; protected string param5; protected string param6; protected string param7; }
i setting childclass2 object in myobject in application. can see childclass2 has 10 parameters.
is there way map type of structure in dozer ?
Comments
Post a Comment