public final class MappingHelper extends Object
| Constructor and Description |
|---|
MappingHelper() |
| Modifier and Type | Method and Description |
|---|---|
static Object |
map(com.github.dozermapper.core.Mapper mapper,
Object source,
Type destinationType)
Bildet ein Objekt mithilfe von Dozer auf einen gewünschten Zieltyp ab.
|
public static Object map(com.github.dozermapper.core.Mapper mapper, Object source, Type destinationType)
Mapper.map(Object, Class) können als Zieltyp auch generische Collections, String und primitive
Typen übergeben werden.mapper - der Dozer-Mappersource - das zu mappende ObjektdestinationType - der ZieltypCopyright © 2021. All rights reserved.