| Package | Description |
|---|---|
| ma.glasnost.orika.constructor | |
| ma.glasnost.orika.impl | |
| ma.glasnost.orika.impl.generator |
| Modifier and Type | Class and Description |
|---|---|
class |
SimpleConstructorResolverStrategy
SimpleConstructorResolverStrategy attempts to resolve the appropriate constructor
to use in a field mapping by the following algorithm:
If an explicit constructor has been defined (based on parameter names), then use it
Attempt to find a constructor which has parameter names matching all of the mapped
property names of the destination class
Return the first constructor in the list
|
| Modifier and Type | Field and Description |
|---|---|
protected ConstructorResolverStrategy |
DefaultMapperFactory.MapperFactoryBuilder.constructorResolverStrategy
The ConstructorResolverStrategy configured for the MapperFactory
|
| Modifier and Type | Method and Description |
|---|---|
static ConstructorResolverStrategy |
UtilityResolver.getDefaultConstructorResolverStrategy()
Provides a default constructor resolver strategy, favoring a type
specified in the appropriate system property if found.
|
| Modifier and Type | Method and Description |
|---|---|
B |
DefaultMapperFactory.MapperFactoryBuilder.constructorResolverStrategy(ConstructorResolverStrategy constructorResolverStrategy)
Configure the ConstructorResolverStrategy to use with the generated
MapperFactory
|
| Constructor and Description |
|---|
ObjectFactoryGenerator(MapperFactory mapperFactory,
ConstructorResolverStrategy constructorResolverStrategy,
CompilerStrategy compilerStrategy)
Creates a new ObjectFactoryGenerator instance
|
Copyright © 2016 Glasnost. All rights reserved.