public static interface MappingBuilderContext.MappingResolver
Modifier and Type | Method and Description |
---|---|
Assignment |
getTargetAssignment(Method mappingMethod,
Type targetType,
String targetPropertyName,
FormattingParameters formattingParameters,
SelectionParameters selectionParameters,
SourceRHS sourceRHS,
boolean preferUpdateMethods,
AnnotationMirror mirror)
returns a parameter assignment
|
Set<SupportingMappingMethod> |
getUsedSupportedMappings() |
Assignment getTargetAssignment(Method mappingMethod, Type targetType, String targetPropertyName, FormattingParameters formattingParameters, SelectionParameters selectionParameters, SourceRHS sourceRHS, boolean preferUpdateMethods, AnnotationMirror mirror)
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.Set<SupportingMappingMethod> getUsedSupportedMappings()
Copyright © 2012-2019 MapStruct Authors; All rights reserved. Released under the Apache Software License 2.0.