public static interface MappingBuilderContext.MappingResolver
| Modifier and Type | Method and Description |
|---|---|
MethodReference |
getFactoryMethod(Method mappingMethod,
Type target,
List<TypeMirror> qualifiers,
TypeMirror resultType)
returns a no arg factory method
|
Assignment |
getTargetAssignment(Method mappingMethod,
String mappedElement,
Type sourceType,
Type targetType,
String targetPropertyName,
String dateFormat,
List<TypeMirror> qualifiers,
TypeMirror resultType,
String sourceReference,
boolean preferUpdateMethods)
returns a parameter assignment
|
Set<VirtualMappingMethod> |
getUsedVirtualMappings() |
Assignment getTargetAssignment(Method mappingMethod, String mappedElement, Type sourceType, Type targetType, String targetPropertyName, String dateFormat, List<TypeMirror> qualifiers, TypeMirror resultType, String sourceReference, boolean preferUpdateMethods)
mappingMethod - target mapping methodmappedElement - used for error messagessourceType - parameter to matchtargetType - return type to matchtargetPropertyName - name of the target propertydateFormat - used for formatting dates in build in methods that need context informationqualifiers - used for further select the appropriate mapping method based on class and nameresultType - used for further select the appropriate mapping method based on resultType (bean mapping)
targetType (Iterable- and MapMapping)sourceReference - call to source type as stringpreferUpdateMethods - selection should prefer update methods when present.MethodReference getFactoryMethod(Method mappingMethod, Type target, List<TypeMirror> qualifiers, TypeMirror resultType)
mappingMethod - target mapping methodtarget - return type to matchqualifiers - used for further select the appropriate mapping method based on class and nameresultType - used for further select the appropriate mapping method based on resultType (bean mapping)
targetType (Iterable- and MapMapping) *Set<VirtualMappingMethod> getUsedVirtualMappings()
Copyright © 2012-2015 Gunnar Morling; All rights reserved. Released under the Apache Software License 2.0.