ma.glasnost.orika.test.community
Class PersonMappingTestCase
java.lang.Object
ma.glasnost.orika.test.community.PersonMappingTestCase
public class PersonMappingTestCase
- extends Object
There doesn't appear to be a way to do this mapping using default behavior...
- Author:
- keithroberts
|
Method Summary |
void |
testMultiMap()
RUn 3 maps, rely on engine to map per the sub type. |
void |
testSingleMap()
Uses one map only. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PersonMappingTestCase
public PersonMappingTestCase()
testMultiMap
public void testMultiMap()
throws Exception
- RUn 3 maps, rely on engine to map per the sub type.
Only one map appears to be retained in memory. The cache must key on the source type.
This means you cannot have multiple maps with the same source type...
- Throws:
Exception
testSingleMap
public void testSingleMap()
throws Exception
- Uses one map only. This has a problem picking up the sub class contained in the list.
When the syntax on the EL seems correct, get a stackoverflow exception.
- Throws:
Exception
Copyright © 2014 Glasnost. All Rights Reserved.