public class AutomapperImpl extends Object implements Automapper
| Constructor and Description |
|---|
AutomapperImpl(org.dozer.DozerBeanMapper dozer) |
| Modifier and Type | Method and Description |
|---|---|
<T> List<T> |
mapTo(Collection<?> beanCollection,
Class<T> targetClass)
Maps a generic collection of one Bean type onto targetClass Bean
|
<T> T |
mapTo(Object bean,
Class<T> targetClass)
Maps one bean to another
|
public <T> List<T> mapTo(Collection<?> beanCollection, Class<T> targetClass)
mapTo in interface AutomapperT - output target typebeanCollection - inputtargetClass - target typepublic <T> T mapTo(Object bean, Class<T> targetClass)
mapTo in interface AutomapperT - output target typebean - inputtargetClass - target typeCopyright © 2017 Pivotal Software, Inc.. All rights reserved.