Package ma.glasnost.orika.constructor

Interface Summary
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 Summary
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 © 2013 Glasnost. All Rights Reserved.