| Interface | Description |
|---|---|
| ConstructorResolverStrategy |
ConstructorResolverStrategy defines a contract for resolving
a constructor which may be used to construct a new instance of
a type from a particular ClassMap definition.
|
| Class | Description |
|---|---|
| ConstructorParameterResolver |
ConstructorParameterResolver is a utility for resolving constructor
parameters as Property instances.
|
| ConstructorResolverStrategy.ConstructorMapping<T> |
ConstructorMapping represents the results of resolving a constructor
from type
T against a given ClassMap. |
| 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
|
Copyright © 2016 Glasnost. All rights reserved.