|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Mapper | |
|---|---|
| ma.glasnost.orika | |
| ma.glasnost.orika.impl | |
| ma.glasnost.orika.impl.mapping.strategy | |
| ma.glasnost.orika.metadata | |
| Uses of Mapper in ma.glasnost.orika |
|---|
| Classes in ma.glasnost.orika that implement Mapper | |
|---|---|
class |
CustomMapper<A,B>
Abstract super-class for all generated mappers and user custom mappers. |
static class |
MapperBase.MapperBaseAdapter<A,B>
Deprecated. Provides backward-compatibility for custom mappers that extend the deprecated MapperBase. |
| Methods in ma.glasnost.orika that return Mapper | ||
|---|---|---|
|
MapperFactory.lookupMapper(MapperKey mapperKey)
Get the Mapper (if any) which has been associated with the given MapperKey. |
|
| Methods in ma.glasnost.orika with parameters of type Mapper | ||
|---|---|---|
|
MapperFactory.registerMapper(Mapper<A,B> mapper)
Registers the specified custom mapper with the factory; it will be used for mapping between it's configured types. |
|
void |
MapperBase.setUsedMappers(Mapper<Object,Object>[] mapper)
Deprecated. |
|
void |
Mapper.setUsedMappers(Mapper<Object,Object>[] mapper)
Store the set of custom mappers used by this mapper. |
|
void |
CustomMapper.setUsedMappers(Mapper<Object,Object>[] mapper)
|
|
| Uses of Mapper in ma.glasnost.orika.impl |
|---|
| Classes in ma.glasnost.orika.impl that implement Mapper | |
|---|---|
class |
GeneratedMapperBase
|
class |
ReversedMapper<A,B>
ReversedMapper is used to wrap an existing mapper and reverse it's direction |
| Fields in ma.glasnost.orika.impl declared as Mapper | |
|---|---|
protected Mapper<Object,Object> |
GeneratedMapperBase.customMapper
|
| Fields in ma.glasnost.orika.impl with type parameters of type Mapper | |
|---|---|
static Comparator<Mapper<Object,Object>> |
Comparators.MAPPER
|
| Methods in ma.glasnost.orika.impl that return Mapper | ||
|---|---|---|
protected
|
DefaultMapperFactory.getRegisteredMapper(MapperKey mapperKey)
|
|
protected
|
DefaultMapperFactory.getRegisteredMapper(Type<A> typeA,
Type<B> typeB,
boolean includeAutoGeneratedMappers)
|
|
protected Mapper<Object,Object>[] |
GeneratedMapperBase.getUsedMappers()
|
|
|
DefaultMapperFactory.lookupMapper(MapperKey mapperKey)
|
|
Mapper<Object,Object> |
DefaultMapperFactory.lookupMapper(MapperKey mapperKey,
MappingContext context)
Searches for a Mapper which is capable of mapping the classes identified by the provided MapperKey instance |
|
static
|
ReversedMapper.reverse(Mapper<B,A> mapperToReverse)
Reterns a Mapper which is a reversal of the supplied Mapper |
|
| Methods in ma.glasnost.orika.impl with parameters of type Mapper | ||
|---|---|---|
|
DefaultMapperFactory.registerMapper(Mapper<A,B> mapper)
|
|
static
|
ReversedMapper.reverse(Mapper<B,A> mapperToReverse)
Reterns a Mapper which is a reversal of the supplied Mapper |
|
void |
GeneratedMapperBase.setCustomMapper(Mapper<Object,Object> customMapper)
|
|
void |
ReversedMapper.setUsedMappers(Mapper<Object,Object>[] mappers)
|
|
void |
GeneratedMapperBase.setUsedMappers(Mapper<Object,Object>[] usedMappers)
|
|
| Uses of Mapper in ma.glasnost.orika.impl.mapping.strategy |
|---|
| Fields in ma.glasnost.orika.impl.mapping.strategy declared as Mapper | |
|---|---|
protected Mapper<Object,Object> |
UseCustomMapperStrategy.customMapper
The custom mapper resolved for this strategy |
| Methods in ma.glasnost.orika.impl.mapping.strategy that return Mapper | |
|---|---|
Mapper<Object,Object> |
MappingStrategyRecorder.getResolvedMapper()
|
| Methods in ma.glasnost.orika.impl.mapping.strategy with parameters of type Mapper | |
|---|---|
void |
MappingStrategyRecorder.setResolvedMapper(Mapper<Object,Object> resolvedMapper)
Sets the mapper to be used with the strategy |
| Constructors in ma.glasnost.orika.impl.mapping.strategy with parameters of type Mapper | |
|---|---|
InstantiateAndUseCustomMapperStrategy(Type<Object> sourceType,
Type<Object> destinationType,
Mapper<Object,Object> customMapper,
ObjectFactory<Object> objectFactory,
UnenhanceStrategy unenhancer)
Creates a new instance of InstantiateAndUseCustomMapperStrategy |
|
InstantiateByDefaultAndUseCustomMapperStrategy(Type<Object> sourceType,
Type<Object> destinationType,
Mapper<Object,Object> customMapper,
UnenhanceStrategy unenhancer)
Creates a new instance of InstantiateByDefaultAndUseCustomMapperStrategy |
|
MapExistingAndUseCustomMapperStrategy(Type<Object> sourceType,
Type<Object> destinationType,
Mapper<Object,Object> customMapper,
UnenhanceStrategy unenhancer)
Creates a new instance of MapExistingAndUseCustomMapperStrategy |
|
UseCustomMapperStrategy(Type<Object> sourceType,
Type<Object> destinationType,
Mapper<Object,Object> customMapper,
UnenhanceStrategy unenhancer)
Creates a new instance of UseCustomMapperStrategy |
|
| Uses of Mapper in ma.glasnost.orika.metadata |
|---|
| Methods in ma.glasnost.orika.metadata that return Mapper | |
|---|---|
Mapper<A,B> |
ClassMap.getCustomizedMapper()
|
| Methods in ma.glasnost.orika.metadata with parameters of type Mapper | |
|---|---|
ClassMapBuilder<A,B> |
ClassMapBuilder.customize(Mapper<A,B> customizedMapper)
Set the custom mapper to use for this mapping. |
| Constructors in ma.glasnost.orika.metadata with parameters of type Mapper | |
|---|---|
ClassMap(Type<A> aType,
Type<B> bType,
Set<FieldMap> fieldsMapping,
Mapper<A,B> customizedMapper,
Set<MapperKey> usedMappers,
String[] constructorA,
String[] constructorB,
Boolean sourcesMappedOnNull,
Boolean destinationsMappedOnNull)
Constructs a new ClassMap |
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||