I'm using Dozer to convert my objects. But I've a problem to map a simple List...
I retrieve a ResultSet
from Hibernate
as an Object List
and I want to map it to my complex type object.
So, my source is like :
List < Object > list = new ArrayList< Object > ();
list.add("Name");
list.add("Address");
And my Value Object is :
public class MyClass
{
public String name;
public String address;
}
I just want to map list[0]
==> MyClass.name
and list[1]
==> MyClass.address
properties but I don't find how...
Thanks for your help !