Package org.dozer.vo.generics.deepindex

Examples of org.dozer.vo.generics.deepindex.AnotherTestObject


  @Test
  public void testDeepMappingWithIndexOnSrcField() {
    Mapper mapper = getMapper(new String[] { "genericCollectionMapping.xml" });

    AnotherTestObject anotherTestObject = newInstance(AnotherTestObject.class);
    anotherTestObject.setField3("another test object field 3 value");
    anotherTestObject.setField4("6453");

    TestObject testObject1 = newInstance(TestObject.class);
    TestObject testObject2 = newInstance(TestObject.class);
    testObject2.setEqualNamedList(Arrays.asList(new AnotherTestObject[] { anotherTestObject }));
View Full Code Here


  @Test
  public void testDeepMappingWithIndexOnSrcField() {
    Mapper mapper = getMapper(new String[] { "genericCollectionMapping.xml" });

    AnotherTestObject anotherTestObject = newInstance(AnotherTestObject.class);
    anotherTestObject.setField3("another test object field 3 value");
    anotherTestObject.setField4("6453");

    TestObject testObject1 = newInstance(TestObject.class);
    TestObject testObject2 = newInstance(TestObject.class);
    testObject2.setEqualNamedList(Arrays.asList(new AnotherTestObject[] { anotherTestObject }));
View Full Code Here

TOP

Related Classes of org.dozer.vo.generics.deepindex.AnotherTestObject

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.