
public static interface MappingBuilderContext.MappingResolver
| Modifier and Type | Method and Description |
|---|---|
MethodReference |
getFactoryMethod(Method mappingMethod,
Type target,
SelectionParameters selectionParameters)
returns a no arg factory method
|
Assignment |
getTargetAssignment(Method mappingMethod,
Type targetType,
String targetPropertyName,
FormattingParameters formattingParameters,
SelectionParameters selectionParameters,
SourceRHS sourceRHS,
boolean preferUpdateMethods)
returns a parameter assignment
|
Set<VirtualMappingMethod> |
getUsedVirtualMappings() |
Assignment getTargetAssignment(Method mappingMethod, Type targetType, String targetPropertyName, FormattingParameters formattingParameters, SelectionParameters selectionParameters, SourceRHS sourceRHS, boolean preferUpdateMethods)
mappingMethod - target mapping methodtargetType - return type to matchtargetPropertyName - name of the target propertyformattingParameters - used for formatting dates and numbersselectionParameters - parameters used in the selection processsourceRHS - source informationpreferUpdateMethods - selection should prefer update methods when present.MethodReference getFactoryMethod(Method mappingMethod, Type target, SelectionParameters selectionParameters)
mappingMethod - target mapping methodtarget - return type to matchselectionParameters - parameters used in the selection processSet<VirtualMappingMethod> getUsedVirtualMappings()
Copyright © 2012-2017 Gunnar Morling; All rights reserved. Released under the Apache Software License 2.0.