public class BeanMapperImplOrika extends AbstractBeanMapper
BeanMapper using orika
MapperFacade.| Modifier and Type | Field and Description |
|---|---|
private ma.glasnost.orika.MapperFacade |
orika |
| Constructor and Description |
|---|
BeanMapperImplOrika()
The constructor.
|
| Modifier and Type | Method and Description |
|---|---|
<T> T |
map(Object source,
Class<T> targetClass)
|
void |
setOrika(ma.glasnost.orika.MapperFacade orika) |
mapList, mapList, mapSet, mapSet, mapTypesafe@Inject public void setOrika(ma.glasnost.orika.MapperFacade orika)
orika - the orika to setpublic <T> T map(Object source, Class<T> targetClass)
BeanMapperT - is the generic type to convert to.source - is the object to convert.targetClass - is the Class reflecting the type to convert to.null if source is null.Copyright © 2014–2019 devon4j-Team. All rights reserved.