| Package | Description |
|---|---|
| ma.glasnost.orika | |
| ma.glasnost.orika.impl | |
| ma.glasnost.orika.impl.generator | |
| ma.glasnost.orika.impl.generator.specification | |
| ma.glasnost.orika.metadata |
| Modifier and Type | Method and Description |
|---|---|
void |
MapperFacade.factoryModified(MapperFactory factory)
Notifies the MapperFacade that a MapperFactory associated with it has
been modified.
|
static void |
StateReporter.reportCurrentState(StringBuilder out,
MapperFactory mapperFactory)
Reports the current state of the provided MapperFactory and it's
contained component parts.
|
| Modifier and Type | Class and Description |
|---|---|
class |
DefaultMapperFactory
The mapper factory is the heart of Orika, a small container where metadata
are stored, it's used by other components, to look up for generated mappers,
converters, object factories ...
|
| Modifier and Type | Field and Description |
|---|---|
protected MapperFactory |
MapperFacadeImpl.mapperFactory |
| Modifier and Type | Method and Description |
|---|---|
protected void |
ConfigurableMapper.configure(MapperFactory factory)
Implement this method to provide your own configurations to the Orika
MapperFactory used by this mapper.
|
void |
MapperFacadeImpl.factoryModified(MapperFactory factory) |
void |
ConfigurableMapper.factoryModified(MapperFactory factory) |
void |
DefaultCodeGenerationStrategy.setMapperFactory(MapperFactory mapperFactory) |
| Constructor and Description |
|---|
MapperFacadeImpl(MapperFactory mapperFactory,
MappingContextFactory contextFactory,
UnenhanceStrategy unenhanceStrategy,
ExceptionUtility exceptionUtil)
Constructs a new MapperFacadeImpl
|
| Modifier and Type | Method and Description |
|---|---|
UsedMapperFacadesContext.UsedMapperFacadesIndex |
UsedMapperFacadesContext.getIndex(Type<?> sourceType,
Type<?> destinationType,
MapperFactory mapperFactory)
Returns an index within the dedicated mapper facades contained in this context
for the given pair of types.
|
void |
Specification.setMapperFactory(MapperFactory mapperFactory) |
void |
CodeGenerationStrategy.setMapperFactory(MapperFactory mapperFactory)
Set the MapperFactory on this CodeGenerationStrategy
|
void |
AggregateSpecification.setMapperFactory(MapperFactory mapperFactory) |
| Constructor and Description |
|---|
MapperGenerator(MapperFactory mapperFactory,
CompilerStrategy compilerStrategy) |
ObjectFactoryGenerator(MapperFactory mapperFactory,
ConstructorResolverStrategy constructorResolverStrategy,
CompilerStrategy compilerStrategy)
Creates a new ObjectFactoryGenerator instance
|
| Modifier and Type | Field and Description |
|---|---|
protected MapperFactory |
MultiOccurrenceToMultiOccurrence.mapperFactory
The MapperFactory relevant to this code generation request
|
protected MapperFactory |
AbstractSpecification.mapperFactory |
| Modifier and Type | Method and Description |
|---|---|
void |
MultiOccurrenceToMultiOccurrence.setMapperFactory(MapperFactory mapperFactory) |
void |
AbstractSpecification.setMapperFactory(MapperFactory mapperFactory) |
| Modifier and Type | Field and Description |
|---|---|
protected MapperFactory |
ClassMapBuilderFactory.mapperFactory
The MapperFactory used by this factory
|
| Modifier and Type | Method and Description |
|---|---|
protected <A,B> ClassMapBuilder<A,B> |
ScoringClassMapBuilder.Factory.newClassMapBuilder(Type<A> aType,
Type<B> bType,
MapperFactory mapperFactory,
PropertyResolverStrategy propertyResolver,
DefaultFieldMapper[] defaults) |
protected <A,B> ClassMapBuilder<A,B> |
ClassMapBuilderForMaps.Factory.newClassMapBuilder(Type<A> aType,
Type<B> bType,
MapperFactory mapperFactory,
PropertyResolverStrategy propertyResolver,
DefaultFieldMapper[] defaults) |
protected <A,B> ClassMapBuilder<A,B> |
ClassMapBuilderForLists.Factory.newClassMapBuilder(Type<A> aType,
Type<B> bType,
MapperFactory mapperFactory,
PropertyResolverStrategy propertyResolver,
DefaultFieldMapper[] defaults) |
protected <A,B> ClassMapBuilder<A,B> |
ClassMapBuilderForArrays.Factory.newClassMapBuilder(Type<A> aType,
Type<B> bType,
MapperFactory mapperFactory,
PropertyResolverStrategy propertyResolver,
DefaultFieldMapper[] defaults) |
protected abstract <A,B> ClassMapBuilder<A,B> |
ClassMapBuilderFactory.newClassMapBuilder(Type<A> aType,
Type<B> bType,
MapperFactory mapperFactory,
PropertyResolverStrategy propertyResolver,
DefaultFieldMapper[] defaults)
Generates a new ClassMapBuilder instance
|
protected <A,B> ClassMapBuilder<A,B> |
ClassMapBuilder.Factory.newClassMapBuilder(Type<A> aType,
Type<B> bType,
MapperFactory mapperFactory,
PropertyResolverStrategy propertyResolver,
DefaultFieldMapper[] defaults) |
protected <A,B> ClassMapBuilder<A,B> |
CaseInsensitiveClassMapBuilder.Factory.newClassMapBuilder(Type<A> aType,
Type<B> bType,
MapperFactory mapperFactory,
PropertyResolverStrategy propertyResolver,
DefaultFieldMapper[] defaults) |
void |
ClassMapBuilderFactory.setMapperFactory(MapperFactory mapperFactory) |
| Constructor and Description |
|---|
CaseInsensitiveClassMapBuilder(Type<A> aType,
Type<B> bType,
MapperFactory mapperFactory,
PropertyResolverStrategy propertyResolver,
DefaultFieldMapper[] defaults) |
ClassMapBuilder(Type<A> aType,
Type<B> bType,
MapperFactory mapperFactory,
PropertyResolverStrategy propertyResolver,
DefaultFieldMapper... defaults) |
ClassMapBuilderForArrays(Type<A> aType,
Type<B> bType,
MapperFactory mapperFactory,
PropertyResolverStrategy propertyResolver,
DefaultFieldMapper... defaults) |
ClassMapBuilderForLists(Type<A> aType,
Type<B> bType,
MapperFactory mapperFactory,
PropertyResolverStrategy propertyResolver,
DefaultFieldMapper... defaults) |
ClassMapBuilderForMaps(Type<A> aType,
Type<B> bType,
MapperFactory mapperFactory,
PropertyResolverStrategy propertyResolver,
DefaultFieldMapper... defaults) |
ScoringClassMapBuilder(Type<A> aType,
Type<B> bType,
MapperFactory mapperFactory,
PropertyResolverStrategy propertyResolver,
DefaultFieldMapper[] defaults,
ScoringClassMapBuilder.PropertyMatchingWeights matchingWeights)
Constructs a new instance of ScoringClassMapBuilder, using the provided PropertyMatchingWeights
to adjust the overall scoring of how properties are matched.
|
Copyright © 2016 Glasnost. All rights reserved.