public final class MapperExtensions extends Object
MapperExtensions.| Constructor and Description |
|---|
MapperExtensions() |
| Modifier and Type | Method and Description |
|---|---|
static <T,S> List<T> |
map(org.dozer.Mapper mapper,
Collection<S> sources,
Class<T> destinationClass)
Constructs new instances of destinationClass and performs mapping between from source.
|
static <T,S> T |
map(org.dozer.Mapper mapper,
S source,
Class<T> destinationClass)
Constructs new instance of destinationClass and performs mapping between from source.
|
public static <T,S> List<T> map(org.dozer.Mapper mapper, Collection<S> sources, Class<T> destinationClass) throws org.dozer.MappingException
T - the generic type of the destinationClassS - the generic type of the sourcemapper - the dozer mapper objectsources - the collection of source objectsdestinationClass - the destination classorg.dozer.MappingException - is thrown if something goes wrong with the mapping process.public static <T,S> T map(org.dozer.Mapper mapper,
S source,
Class<T> destinationClass)
throws org.dozer.MappingException
T - the generic type of the destinationClassS - the generic type of the sourcemapper - the dozer mapper objectsource - the sourcedestinationClass - the destination classorg.dozer.MappingException - is thrown if something goes wrong with the mapping process.Copyright © 2015–2020 Alpha Ro Group UG (haftungsbeschrÀngt). All rights reserved.