| Package | Description |
|---|---|
| ma.glasnost.orika | |
| ma.glasnost.orika.impl | |
| ma.glasnost.orika.impl.mapping.strategy | |
| ma.glasnost.orika.unenhance |
| Modifier and Type | Method and Description |
|---|---|
UnenhanceStrategy |
MapperFactory.getUserUnenhanceStrategy()
Returns the
UnenhanceStrategy associated with this MapperFactory,
provided when this MapperFactory was constructed. |
| Modifier and Type | Field and Description |
|---|---|
protected UnenhanceStrategy |
MapperFacadeImpl.unenhanceStrategy |
protected UnenhanceStrategy |
DefaultMapperFactory.unenhanceStrategy |
protected UnenhanceStrategy |
DefaultMapperFactory.MapperFactoryBuilder.unenhanceStrategy
The UnenhanceStrategy configured for the MapperFactory
|
protected UnenhanceStrategy |
DefaultMapperFactory.userUnenahanceStrategy |
| Modifier and Type | Method and Description |
|---|---|
protected UnenhanceStrategy |
DefaultMapperFactory.buildUnenhanceStrategy(UnenhanceStrategy unenhanceStrategy,
SuperTypeResolverStrategy superTypeStrategy)
Generates the UnenhanceStrategy to be used for this MapperFactory,
applying the passed delegateStrategy if not null.
This allows the MapperFactory a chance to fill in the unenhance strategy with references to other parts of the factory (registered mappers, converters, object factories) which may be important in the "unenhancing" process. |
UnenhanceStrategy |
DefaultMapperFactory.getUserUnenhanceStrategy() |
| Modifier and Type | Method and Description |
|---|---|
protected MapperFacade |
DefaultMapperFactory.buildMapperFacade(MappingContextFactory contextFactory,
UnenhanceStrategy unenhanceStrategy)
Builds the MapperFacade for this factory.
|
protected UnenhanceStrategy |
DefaultMapperFactory.buildUnenhanceStrategy(UnenhanceStrategy unenhanceStrategy,
SuperTypeResolverStrategy superTypeStrategy)
Generates the UnenhanceStrategy to be used for this MapperFactory,
applying the passed delegateStrategy if not null.
This allows the MapperFactory a chance to fill in the unenhance strategy with references to other parts of the factory (registered mappers, converters, object factories) which may be important in the "unenhancing" process. |
B |
DefaultMapperFactory.MapperFactoryBuilder.unenhanceStrategy(UnenhanceStrategy unenhanceStrategy)
Configure the UnenhanceStrategy to use with the generated
MapperFactory
|
| Constructor and Description |
|---|
MapperFacadeImpl(MapperFactory mapperFactory,
MappingContextFactory contextFactory,
UnenhanceStrategy unenhanceStrategy,
ExceptionUtility exceptionUtil)
Constructs a new MapperFacadeImpl
|
| Modifier and Type | Field and Description |
|---|---|
protected UnenhanceStrategy |
UseCustomMapperStrategy.unenhancer
The Unenhancer to be used for this strategy
|
| Constructor and Description |
|---|
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
|
MappingStrategyRecorder(MappingStrategy.Key key,
UnenhanceStrategy unenhanceStrategy) |
UseConverterStrategy(Type<Object> sourceType,
Type<Object> destinationType,
Converter<Object,Object> converter,
UnenhanceStrategy unenhancer)
Creates a new instance of UseConverterStrategy
|
UseCustomMapperStrategy(Type<Object> sourceType,
Type<Object> destinationType,
Mapper<Object,Object> customMapper,
UnenhanceStrategy unenhancer)
Creates a new instance of UseCustomMapperStrategy
|
| Modifier and Type | Class and Description |
|---|---|
class |
BaseUnenhancer
Provides a delegating unenhance strategy which also post-processes the
unenhancement results using the associated super-type strategies.
See also: #SuperTypeResolverStrategy |
class |
HibernateUnenhanceStrategy
HibernateUnenhanceStrategy is used to unwrapped objects from
their Hibernate-generated proxy, which may have been created to
match methods of a super-type (missing some of the details important
in a child class mapping).
|
| Modifier and Type | Method and Description |
|---|---|
void |
BaseUnenhancer.addUnenhanceStrategy(UnenhanceStrategy strategy) |
Copyright © 2017 Glasnost. All Rights Reserved.