public final class MultipleMapperWrapper extends GeneratedMapperBase
customMapperfromAutoMapping, mapperFacade, usedConverters, usedFilters, usedMapperFacades, usedTypes| Constructor and Description |
|---|
MultipleMapperWrapper(Type<Object> typeA,
Type<Object> typeB,
List<Mapper<Object,Object>> mappers) |
| Modifier and Type | Method and Description |
|---|---|
Mapper<Object,Object> |
findMapperFor(MapperKey mapperKey) |
Collection<Mapper<Object,Object>> |
getMappersRegistry() |
Mapper<Object,Object>[] |
getUsedMappers() |
void |
mapAtoB(Object a,
Object b,
MappingContext context)
Maps the properties of an instance of type A to the properties
of an instance of type B.
|
void |
mapBtoA(Object b,
Object a,
MappingContext context)
Maps the properties of an instance of type B to the properties
of an instance of type A.
|
void |
setUsedMappers(Mapper<Object,Object>[] usedMappers)
Store the set of custom mappers used by this mapper.
|
favorsExtension, getAType, getBType, isUsedMapperOf, isUsedMappersInitialized, setAType, setBType, setCustomMapper, setFavorsExtension, setUsedConverters, setUsedMapperFacades, setUsedTypes, toString, usesasList, asList, asList, asList, asList, asList, asList, asList, asList, asList, booleanArray, byteArray, charArray, doubleArray, floatArray, intArray, isFromAutoMapping, listToArray, listToArray, listToMap, listToMap, longArray, mapArray, mapArray, mapArray, mapArray, mapArray, mapArray, mapArray, mapArray, min, setFromAutoMapping, setMapperFacade, setUsedFilters, shortArrayclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitsetMapperFacadepublic void mapAtoB(Object a, Object b, MappingContext context)
Mapperpublic void mapBtoA(Object b, Object a, MappingContext context)
Mapperpublic void setUsedMappers(Mapper<Object,Object>[] usedMappers)
MappersetUsedMappers in interface Mapper<Object,Object>setUsedMappers in class GeneratedMapperBasepublic Mapper<Object,Object>[] getUsedMappers()
getUsedMappers in class GeneratedMapperBasepublic Collection<Mapper<Object,Object>> getMappersRegistry()
Copyright © 2019 Glasnost. All rights reserved.