public interface Mapper
Modifier and Type | Method and Description |
---|---|
<T> T |
map(Object source,
Class<T> destinationClass)
Constructs new instance of destinationClass and performs mapping between from source
|
<T> T |
map(Object source,
Class<T> destinationClass,
String mapId)
Constructs new instance of destinationClass and performs mapping between from source
|
void |
map(Object source,
Object destination)
Performs mapping between source and destination objects
|
void |
map(Object source,
Object destination,
String mapId)
Performs mapping between source and destination objects
|
<T> T map(Object source, Class<T> destinationClass) throws MappingException
T
- source
- destinationClass
- MappingException
void map(Object source, Object destination) throws MappingException
source
- destination
- MappingException
<T> T map(Object source, Class<T> destinationClass, String mapId) throws MappingException
T
- source
- destinationClass
- mapId
- MappingException
void map(Object source, Object destination, String mapId) throws MappingException
source
- destination
- mapId
- MappingException
Copyright © 2005-2014 dozer. All Rights Reserved.