public interface MapperFacade
MapperFacade is map() that
copy from a deeply structured one object to an other.newObject()convert()map()Entity(entity
) to DTO class:... DTO newDTO = mapperFacade.map(entity, DTO.class); ...
| Modifier and Type | Method and Description |
|---|---|
<S,D> D |
convert(S source,
Class<D> destinationClass,
String converterId,
MappingContext mappingContext)
Convert the source object into the appropriate destination type
|
<S,D> D |
convert(S source,
Type<S> sourceType,
Type<D> destinationType,
String converterId,
MappingContext mappingContext)
Convert the source object into the appropriate destination type
|
void |
factoryModified(MapperFactory factory)
Notifies the MapperFacade that a MapperFactory associated with it has
been modified.
|
<S,D> D |
map(S sourceObject,
Class<D> destinationClass)
Create and return a new instance of type D mapped with the properties of
sourceObject. |
<S,D> D |
map(S sourceObject,
Class<D> destinationClass,
MappingContext context)
Create and return a new instance of type D mapped with the properties of
sourceObject. |
<S,D> void |
map(S sourceObject,
D destinationObject)
Maps the properties of
sourceObject onto
destinationObject. |
<S,D> void |
map(S sourceObject,
D destinationObject,
MappingContext context)
Maps the properties of
sourceObject onto
destinationObject. |
<S,D> void |
map(S sourceObject,
D destinationObject,
Type<S> sourceType,
Type<D> destinationType)
Maps the properties of
sourceObject onto
destinationObject, using sourceType and
destinationType to specify the parameterized types of the
source and destination object. |
<S,D> void |
map(S sourceObject,
D destinationObject,
Type<S> sourceType,
Type<D> destinationType,
MappingContext context)
Maps the properties of
sourceObject onto
destinationObject, using sourceType and
destinationType to specify the parameterized types of the
source and destination object. |
<S,D> D |
map(S sourceObject,
Type<S> sourceType,
Type<D> destinationType)
Create and return a new instance of type D mapped with the properties of
sourceObject. |
<S,D> D |
map(S sourceObject,
Type<S> sourceType,
Type<D> destinationType,
MappingContext context)
Create and return a new instance of type D mapped with the properties of
sourceObject. |
<S,D> D[] |
mapAsArray(D[] destination,
Iterable<S> source,
Class<D> destinationClass)
Maps the source interable into a new Array of type
D. |
<S,D> D[] |
mapAsArray(D[] destination,
Iterable<S> source,
Class<D> destinationClass,
MappingContext context)
Maps the source Iterable into a new Array of type
D. |
<S,D> D[] |
mapAsArray(D[] destination,
Iterable<S> source,
Type<S> sourceType,
Type<D> destinationType)
Maps the source Array into a new List parameterized by
destinationType. |
<S,D> D[] |
mapAsArray(D[] destination,
Iterable<S> source,
Type<S> sourceType,
Type<D> destinationType,
MappingContext context)
Maps the source Iterable into the destination Array
|
<Sk,Sv,D> D[] |
mapAsArray(D[] destination,
Map<Sk,Sv> source,
Type<? extends Map<Sk,Sv>> sourceType,
Type<D> destinationType)
Map from a java.util.Map to a Set
|
<Sk,Sv,D> D[] |
mapAsArray(D[] destination,
Map<Sk,Sv> source,
Type<? extends Map<Sk,Sv>> sourceType,
Type<D> destinationType,
MappingContext context)
Map from a java.util.Map to a Set
|
<S,D> D[] |
mapAsArray(D[] destination,
S[] source,
Class<D> destinationClass)
Maps the source array into a new Array of type
D. |
<S,D> D[] |
mapAsArray(D[] destination,
S[] source,
Class<D> destinationClass,
MappingContext context)
Maps the source Array into a new Array of type
D. |
<S,D> D[] |
mapAsArray(D[] destination,
S[] source,
Type<S> sourceType,
Type<D> destinationType)
Maps the source Array into a new List parameterized by
destinationType. |
<S,D> D[] |
mapAsArray(D[] destination,
S[] source,
Type<S> sourceType,
Type<D> destinationType,
MappingContext context)
Maps the source Array into the destination Array
|
<S,D> void |
mapAsCollection(Iterable<S> source,
Collection<D> destination,
Class<D> destinationClass)
Maps the source Iterable into the destination Collection
|
<S,D> void |
mapAsCollection(Iterable<S> source,
Collection<D> destination,
Class<D> destinationClass,
MappingContext context)
Map an iterable onto an existing collection
|
<S,D> void |
mapAsCollection(Iterable<S> source,
Collection<D> destination,
Type<S> sourceType,
Type<D> destinationType)
Map an iterable onto an existing collection
|
<S,D> void |
mapAsCollection(Iterable<S> source,
Collection<D> destination,
Type<S> sourceType,
Type<D> destinationType,
MappingContext context)
Map an iterable onto an existing collection
|
<S,D> void |
mapAsCollection(S[] source,
Collection<D> destination,
Class<D> destinationClass)
Map an array onto an existing collection
|
<S,D> void |
mapAsCollection(S[] source,
Collection<D> destination,
Class<D> destinationClass,
MappingContext context)
Map an array onto an existing collection
|
<S,D> void |
mapAsCollection(S[] source,
Collection<D> destination,
Type<S> sourceType,
Type<D> destinationType)
Map an array onto an existing collection
|
<S,D> void |
mapAsCollection(S[] source,
Collection<D> destination,
Type<S> sourceType,
Type<D> destinationType,
MappingContext context)
Map an array onto an existing collection
|
<S,D> List<D> |
mapAsList(Iterable<S> source,
Class<D> destinationClass)
Maps the source Iterable into a new List parameterized by
destinationClass. |
<S,D> List<D> |
mapAsList(Iterable<S> source,
Class<D> destinationClass,
MappingContext context)
Maps the source Iterable into a new List parameterized by
destinationClass. |
<S,D> List<D> |
mapAsList(Iterable<S> source,
Type<S> sourceType,
Type<D> destinationType)
Maps the source Iterable into a new List parameterized by
destinationType. |
<S,D> List<D> |
mapAsList(Iterable<S> source,
Type<S> sourceType,
Type<D> destinationType,
MappingContext context)
Maps the source Iterable into a new List parameterized by
destinationType. |
<Sk,Sv,D> List<D> |
mapAsList(Map<Sk,Sv> source,
Type<? extends Map<Sk,Sv>> sourceType,
Type<D> destinationType)
Map from a java.util.Map to a List
|
<Sk,Sv,D> List<D> |
mapAsList(Map<Sk,Sv> source,
Type<? extends Map<Sk,Sv>> sourceType,
Type<D> destinationType,
MappingContext context)
Map from a java.util.Map to a List
|
<S,D> List<D> |
mapAsList(S[] source,
Class<D> destinationClass)
Maps the source Array into a new List parameterized by
destinationClass. |
<S,D> List<D> |
mapAsList(S[] source,
Class<D> destinationClass,
MappingContext context)
Maps the source Array into a new List parameterized by
destinationClass. |
<S,D> List<D> |
mapAsList(S[] source,
Type<S> sourceType,
Type<D> destinationType)
Maps the source Array into a new List parameterized by
destinationType. |
<S,D> List<D> |
mapAsList(S[] source,
Type<S> sourceType,
Type<D> destinationType,
MappingContext context)
Maps the source Array into a new List parameterized by
destinationType. |
<S,Dk,Dv> Map<Dk,Dv> |
mapAsMap(Iterable<S> source,
Type<S> sourceType,
Type<? extends Map<Dk,Dv>> destinationType)
Map from an Iterable to an instance of java.util.Map.
|
<S,Dk,Dv> Map<Dk,Dv> |
mapAsMap(Iterable<S> source,
Type<S> sourceType,
Type<? extends Map<Dk,Dv>> destinationType,
MappingContext context)
Map from an Iterable to an instance of java.util.Map.
|
<Sk,Sv,Dk,Dv> |
mapAsMap(Map<Sk,Sv> source,
Type<? extends Map<Sk,Sv>> sourceType,
Type<? extends Map<Dk,Dv>> destinationType)
Map from one instance of java.util.Map to another.
|
<Sk,Sv,Dk,Dv> |
mapAsMap(Map<Sk,Sv> source,
Type<? extends Map<Sk,Sv>> sourceType,
Type<? extends Map<Dk,Dv>> destinationType,
MappingContext context)
Map from one instance of java.util.Map to another.
|
<S,Dk,Dv> Map<Dk,Dv> |
mapAsMap(S[] source,
Type<S> sourceType,
Type<? extends Map<Dk,Dv>> destinationType)
Map from an Array to an instance of java.util.Map.
|
<S,Dk,Dv> Map<Dk,Dv> |
mapAsMap(S[] source,
Type<S> sourceType,
Type<? extends Map<Dk,Dv>> destinationType,
MappingContext context)
Map from an Array to an instance of java.util.Map.
|
<S,D> Set<D> |
mapAsSet(Iterable<S> source,
Class<D> destinationClass)
Maps the source iterable into a new Set parameterized by
destinationClass. |
<S,D> Set<D> |
mapAsSet(Iterable<S> source,
Class<D> destinationClass,
MappingContext context)
Maps the source iterable into a new Set parameterized by
destinationClass. |
<S,D> Set<D> |
mapAsSet(Iterable<S> source,
Type<S> sourceType,
Type<D> destinationType)
Maps the source Iterable into a new Set parameterized by
destinationType. |
<S,D> Set<D> |
mapAsSet(Iterable<S> source,
Type<S> sourceType,
Type<D> destinationType,
MappingContext context)
Maps the source Iterable into a new Set parameterized by
destinationType. |
<Sk,Sv,D> Set<D> |
mapAsSet(Map<Sk,Sv> source,
Type<? extends Map<Sk,Sv>> sourceType,
Type<D> destinationType)
Map from a java.util.Map to a Set
|
<Sk,Sv,D> Set<D> |
mapAsSet(Map<Sk,Sv> source,
Type<? extends Map<Sk,Sv>> sourceType,
Type<D> destinationType,
MappingContext context)
Map from a java.util.Map to a Set
|
<S,D> Set<D> |
mapAsSet(S[] source,
Class<D> destinationClass)
Maps the source Array into a new Set parameterized by
destinationClass. |
<S,D> Set<D> |
mapAsSet(S[] source,
Class<D> destinationClass,
MappingContext context)
Maps the source Array into a new Set parameterized by
destinationClass. |
<S,D> Set<D> |
mapAsSet(S[] source,
Type<S> sourceType,
Type<D> destinationType)
Maps the source Array into a new Set parameterized by
destinationType. |
<S,D> Set<D> |
mapAsSet(S[] source,
Type<S> sourceType,
Type<D> destinationType,
MappingContext context)
Maps the source Array into a new Set parameterized by
destinationType. |
<S,D> D |
newObject(S source,
Type<? extends D> destinationType,
MappingContext context)
Create new instance of a destination class.
|
<S,D> MappingStrategy |
resolveMappingStrategy(S sourceObject,
Type sourceType,
Type destinationType,
boolean mapInPlace,
MappingContext context) |
<S,D> D map(S sourceObject,
Class<D> destinationClass)
sourceObject.sourceObject - the object to map fromdestinationClass - the type of the new object to returnsourceObject<S,D> D map(S sourceObject,
Class<D> destinationClass,
MappingContext context)
sourceObject.sourceObject - the object to map fromdestinationClass - the type of the new object to returncontext - the context from the current mapping requestsourceObject<S,D> void map(S sourceObject,
D destinationObject)
sourceObject onto
destinationObject.sourceObject - the object from which to read the propertiesdestinationObject - the object onto which the properties should be mapped<S,D> void map(S sourceObject,
D destinationObject,
MappingContext context)
sourceObject onto
destinationObject.sourceObject - the object from which to read the propertiesdestinationObject - the object onto which the properties should be mappedcontext - the context from the current mapping request<S,D> void map(S sourceObject,
D destinationObject,
Type<S> sourceType,
Type<D> destinationType)
sourceObject onto
destinationObject, using sourceType and
destinationType to specify the parameterized types of the
source and destination object.sourceObject - the object from which to read the propertiesdestinationObject - the object onto which the properties should be mappedsourceType - the parameterized type of the source objectdestinationType - the parameterized type of the destination object<S,D> void map(S sourceObject,
D destinationObject,
Type<S> sourceType,
Type<D> destinationType,
MappingContext context)
sourceObject onto
destinationObject, using sourceType and
destinationType to specify the parameterized types of the
source and destination object.sourceObject - the object from which to read the propertiesdestinationObject - the object onto which the properties should be mappedsourceType - the parameterized type of the source objectdestinationType - the parameterized type of the destination objectcontext - the context from the current mapping request<S,D> Set<D> mapAsSet(Iterable<S> source, Class<D> destinationClass)
destinationClass.source - the Iterable from which to mapdestinationClass - the type of elements to be contained in the returned Set.destinationClass mapped from the elements of
source.<S,D> Set<D> mapAsSet(Iterable<S> source, Class<D> destinationClass, MappingContext context)
destinationClass.source - the Iterable from which to mapdestinationClass - the type of elements to be contained in the returned Set.context - the context from the current mapping requestdestinationClass mapped from the elements of
source.<S,D> Set<D> mapAsSet(S[] source, Class<D> destinationClass)
destinationClass.source - the Array from which to mapdestinationClass - the type of elements to be contained in the returned Set.destinationClass mapped from the elements of
source.<S,D> Set<D> mapAsSet(S[] source, Class<D> destinationClass, MappingContext context)
destinationClass.source - the Array from which to mapdestinationClass - the type of elements to be contained in the returned Set.context - the context from the current mapping requestdestinationClass mapped from the elements of
source.<S,D> List<D> mapAsList(Iterable<S> source, Class<D> destinationClass)
destinationClass.source - the Iterable from which to mapdestinationClass - the type of elements to be contained in the returned Set.destinationClass mapped from the elements of
source.<S,D> List<D> mapAsList(Iterable<S> source, Class<D> destinationClass, MappingContext context)
destinationClass.source - the Iterable from which to mapdestinationClass - the type of elements to be contained in the returned Set.context - the context from the current mapping requestdestinationClass mapped from the elements of
source.<S,D> List<D> mapAsList(S[] source, Class<D> destinationClass)
destinationClass.source - the Array from which to mapdestinationClass - the type of elements to be contained in the returned Set.destinationClass mapped from the elements of
source.<S,D> List<D> mapAsList(S[] source, Class<D> destinationClass, MappingContext context)
destinationClass.source - the Array from which to mapdestinationClass - the type of elements to be contained in the returned Set.context - the context from the current mapping requestdestinationClass mapped from the elements of
source.<S,D> D[] mapAsArray(D[] destination,
Iterable<S> source,
Class<D> destinationClass)
D.destination - source - the Array from which to mapdestinationClass - the type of elements to be contained in the returned Set.destinationClass mapped from the elements of
source.<S,D> D[] mapAsArray(D[] destination,
S[] source,
Class<D> destinationClass)
D.destination - the destination array which is also returnedsource - the source arraydestinationClass - the destination classdestinationClass mapped from the elements of
source.<S,D> D[] mapAsArray(D[] destination,
Iterable<S> source,
Class<D> destinationClass,
MappingContext context)
D.destination - the destination array which is also returnedsource - the source IterabledestinationClass - the destination classcontext - the current MappingContextdestinationClass mapped from the elements of
source.<S,D> D[] mapAsArray(D[] destination,
S[] source,
Class<D> destinationClass,
MappingContext context)
D.destination - the destination array which is also returnedsource - the source ArraydestinationClass - the destination classcontext - the current MappingContextdestinationClass mapped from the elements of
source.<S,D> void mapAsCollection(Iterable<S> source, Collection<D> destination, Class<D> destinationClass)
source - the source Iterabledestination - the destination CollectiondestinationClass - the destination class<S,D> void mapAsCollection(Iterable<S> source, Collection<D> destination, Class<D> destinationClass, MappingContext context)
source - the source iterabledestination - the destination collectiondestinationClass - the type of elements in the destinationcontext - the current mapping context<S,D> void mapAsCollection(S[] source,
Collection<D> destination,
Class<D> destinationClass)
source - the source arraydestination - the destination collectiondestinationClass - the type of elements in the destination<S,D> void mapAsCollection(S[] source,
Collection<D> destination,
Class<D> destinationClass,
MappingContext context)
source - the source arraydestination - the destination collectiondestinationClass - the type of elements in the destinationcontext - the current mapping context<S,D> D map(S sourceObject,
Type<S> sourceType,
Type<D> destinationType)
sourceObject.sourceObject - the object to map fromsourceType - the type of the source objectdestinationType - the type of the new object to returnsourceObject<S,D> D map(S sourceObject,
Type<S> sourceType,
Type<D> destinationType,
MappingContext context)
sourceObject.sourceObject - the object to map fromsourceType - the type of the source objectdestinationType - the type of the new object to returncontext - the current mapping contextsourceObject<S,D> Set<D> mapAsSet(Iterable<S> source, Type<S> sourceType, Type<D> destinationType)
destinationType.source - the Iterable from which to mapsourceType - the type of the source elementsdestinationType - the type of the new object to returndestinationType mapped from the elements of
source.<S,D> Set<D> mapAsSet(Iterable<S> source, Type<S> sourceType, Type<D> destinationType, MappingContext context)
destinationType.source - the Iterable from which to mapsourceType - the type of the source elementsdestinationType - the type of the new object to returncontext - the current mapping contextdestinationType mapped from the elements of
source.<S,D> Set<D> mapAsSet(S[] source, Type<S> sourceType, Type<D> destinationType)
destinationType.source - the Array from which to mapsourceType - the type of the source elementsdestinationType - the type of the new object to returndestinationType mapped from the elements of
source.<S,D> Set<D> mapAsSet(S[] source, Type<S> sourceType, Type<D> destinationType, MappingContext context)
destinationType.source - the Array from which to mapsourceType - the type of the source elementsdestinationType - the type of the new object to returncontext - the current mapping contextdestinationType mapped from the elements of
source.<S,D> List<D> mapAsList(Iterable<S> source, Type<S> sourceType, Type<D> destinationType)
destinationType.source - the Iterable from which to mapsourceType - the type of the source elementsdestinationType - the type of the new object to return
the current mapping contextdestinationType mapped from the elements of
source.<S,D> List<D> mapAsList(Iterable<S> source, Type<S> sourceType, Type<D> destinationType, MappingContext context)
destinationType.source - the Iterable from which to mapsourceType - the type of the source elementsdestinationType - the type of the new object to returncontext - the current mapping contextdestinationType mapped from the elements of
source.<S,D> List<D> mapAsList(S[] source, Type<S> sourceType, Type<D> destinationType)
destinationType.source - the Array from which to mapsourceType - the type of the source elementsdestinationType - the type of the new object to returndestinationType mapped from the elements of
source.<S,D> List<D> mapAsList(S[] source, Type<S> sourceType, Type<D> destinationType, MappingContext context)
destinationType.source - the Array from which to mapsourceType - the type of the source elementsdestinationType - the type of the new object to returncontext - the current mapping contextdestinationType mapped from the elements of
source.<S,D> D[] mapAsArray(D[] destination,
Iterable<S> source,
Type<S> sourceType,
Type<D> destinationType)
destinationType.destination - the destination Array which is returnedsource - the Array from which to mapsourceType - the type of the source elementsdestinationType - the type of the new object to returnsource.<S,D> D[] mapAsArray(D[] destination,
S[] source,
Type<S> sourceType,
Type<D> destinationType)
destinationType.destination - the destination Array which is returnedsource - the Array from which to mapsourceType - the type of the source elementsdestinationType - the type of the new object to return
the current mapping contextsource.<S,D> D[] mapAsArray(D[] destination,
Iterable<S> source,
Type<S> sourceType,
Type<D> destinationType,
MappingContext context)
destination - the destination Array which is returnedsource - the Iterable from which to mapsourceType - the type of the source elementsdestinationType - the type of the new object to returncontext - the current mapping contextsource.<S,D> D[] mapAsArray(D[] destination,
S[] source,
Type<S> sourceType,
Type<D> destinationType,
MappingContext context)
destination - the destination Array which is returnedsource - the Array from which to mapsourceType - the type of the source elementsdestinationType - the type of the new object to returncontext - the current mapping contextsource.<S,D> void mapAsCollection(Iterable<S> source, Collection<D> destination, Type<S> sourceType, Type<D> destinationType)
source - the source iterabledestination - the destination collectionsourceType - the type of elements in the sourcedestinationType - the type of elements in the destination<S,D> void mapAsCollection(Iterable<S> source, Collection<D> destination, Type<S> sourceType, Type<D> destinationType, MappingContext context)
source - the source iterabledestination - the destination collectionsourceType - the type of elements in the sourcedestinationType - the type of elements in the destinationcontext - the current mapping context<S,D> void mapAsCollection(S[] source,
Collection<D> destination,
Type<S> sourceType,
Type<D> destinationType)
source - the source arraydestination - the destination collectionsourceType - the type of elements in the sourcedestinationType - the type of elements in the destination<S,D> void mapAsCollection(S[] source,
Collection<D> destination,
Type<S> sourceType,
Type<D> destinationType,
MappingContext context)
source - the source arraydestination - the destination collectionsourceType - the type of elements in the sourcedestinationType - the type of elements in the destinationcontext - the current mapping context<S,D> D convert(S source,
Class<D> destinationClass,
String converterId,
MappingContext mappingContext)
source - the source object to mapdestinationClass - the type of the destination class to produceconverterId - the specific converter to use; if null, the first compatible
global converter is used<S,D> D convert(S source,
Type<S> sourceType,
Type<D> destinationType,
String converterId,
MappingContext mappingContext)
source - the source object to mapsourceType - the type of the source objectdestinationType - the type of the destination object to produceconverterId - the specific converter to use; if null, the first compatible
global converter is used<Sk,Sv,Dk,Dv> Map<Dk,Dv> mapAsMap(Map<Sk,Sv> source, Type<? extends Map<Sk,Sv>> sourceType, Type<? extends Map<Dk,Dv>> destinationType)
source - the source MapsourceType - the parameterized type of the source Map objectdestinationType - the parameterized type of the destination Map object<Sk,Sv,Dk,Dv> Map<Dk,Dv> mapAsMap(Map<Sk,Sv> source, Type<? extends Map<Sk,Sv>> sourceType, Type<? extends Map<Dk,Dv>> destinationType, MappingContext context)
source - sourceType - destinationType - context - context the context from the current mapping request<S,Dk,Dv> Map<Dk,Dv> mapAsMap(Iterable<S> source, Type<S> sourceType, Type<? extends Map<Dk,Dv>> destinationType)
source - the source MapsourceType - the parameterized type of the source Map objectdestinationType - the parameterized type of the destination Map object<S,Dk,Dv> Map<Dk,Dv> mapAsMap(Iterable<S> source, Type<S> sourceType, Type<? extends Map<Dk,Dv>> destinationType, MappingContext context)
source - the source MapsourceType - the parameterized type of the source Map objectdestinationType - the parameterized type of the destination Map objectcontext - the current mapping context<S,Dk,Dv> Map<Dk,Dv> mapAsMap(S[] source, Type<S> sourceType, Type<? extends Map<Dk,Dv>> destinationType)
source - the source ArraysourceType - the parameterized type of the source Map objectdestinationType - the parameterized type of the destination Map object<S,Dk,Dv> Map<Dk,Dv> mapAsMap(S[] source, Type<S> sourceType, Type<? extends Map<Dk,Dv>> destinationType, MappingContext context)
source - the source ArraysourceType - the parameterized type of the source Array elementdestinationType - the parameterized type of the destination Map objectcontext - the current mapping context<Sk,Sv,D> List<D> mapAsList(Map<Sk,Sv> source, Type<? extends Map<Sk,Sv>> sourceType, Type<D> destinationType)
source - the source MapsourceType - the parameterized type of the source Map objectdestinationType - the parameterized type of the destination List elements<Sk,Sv,D> List<D> mapAsList(Map<Sk,Sv> source, Type<? extends Map<Sk,Sv>> sourceType, Type<D> destinationType, MappingContext context)
source - the source MapsourceType - the parameterized type of the source Map objectdestinationType - the parameterized type of the destination List elementscontext - the current mapping context<Sk,Sv,D> Set<D> mapAsSet(Map<Sk,Sv> source, Type<? extends Map<Sk,Sv>> sourceType, Type<D> destinationType)
source - the source MapsourceType - the parameterized type of the source Map objectdestinationType - the parameterized type of the destination Set elements<Sk,Sv,D> Set<D> mapAsSet(Map<Sk,Sv> source, Type<? extends Map<Sk,Sv>> sourceType, Type<D> destinationType, MappingContext context)
source - the source MapsourceType - the parameterized type of the source Map objectdestinationType - the parameterized type of the destination Set elementscontext - the current mapping context<Sk,Sv,D> D[] mapAsArray(D[] destination,
Map<Sk,Sv> source,
Type<? extends Map<Sk,Sv>> sourceType,
Type<D> destinationType)
destination - the destination Array which is also returnedsource - the source MapsourceType - the parameterized type of the source Map objectdestinationType - the parameterized type of the destination Array elements<Sk,Sv,D> D[] mapAsArray(D[] destination,
Map<Sk,Sv> source,
Type<? extends Map<Sk,Sv>> sourceType,
Type<D> destinationType,
MappingContext context)
destination - the destination Array which is also returnedsource - the source MapsourceType - the parameterized type of the source Map objectdestinationType - the parameterized type of the destination Array elementscontext - the current mapping context<S,D> D newObject(S source,
Type<? extends D> destinationType,
MappingContext context)
source - the source objetdestinationType - the type of the destinationcontext - the current mapping contextdestinationClass<S,D> MappingStrategy resolveMappingStrategy(S sourceObject, Type sourceType, Type destinationType, boolean mapInPlace, MappingContext context)
sourceObject - the source object being mappedsourceType - the source type to mapdestinationType - the destination typemapInPlace - whether the strategy should map objects in-placecontext - the current MappingContextvoid factoryModified(MapperFactory factory)
Copyright © 2019 Glasnost. All rights reserved.