Class BeanMapperImplOrika
- java.lang.Object
-
- com.devonfw.module.beanmapping.common.base.AbstractBeanMapper
-
- com.devonfw.module.beanmapping.common.impl.orika.BeanMapperImplOrika
-
- All Implemented Interfaces:
BeanMapper
public class BeanMapperImplOrika extends AbstractBeanMapper
This is the implementation ofBeanMapperusing orikaMapperFacade.
-
-
Field Summary
Fields Modifier and Type Field Description private ma.glasnost.orika.MapperFacadeorika
-
Constructor Summary
Constructors Constructor Description BeanMapperImplOrika()The constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> Tmap(Object source, Class<T> targetClass)voidsetOrika(ma.glasnost.orika.MapperFacade orika)-
Methods inherited from class com.devonfw.module.beanmapping.common.base.AbstractBeanMapper
mapList, mapList, mapSet, mapSet, mapTypesafe
-
-
-
-
Method Detail
-
setOrika
@Inject public void setOrika(ma.glasnost.orika.MapperFacade orika)
- Parameters:
orika- the orika to set
-
map
public <T> T map(Object source, Class<T> targetClass)
Description copied from interface:BeanMapper- Type Parameters:
T- is the generic type to convert to.- Parameters:
source- is the object to convert.targetClass- is theClassreflecting the type to convert to.- Returns:
- the converted object. Will be
nullifsourceisnull.
-
-