
public class MapMappingMethod extends NormalTypeMappingMethod
MappingMethod implemented by a Mapper class which maps one Map type to another. Keys and
values are mapped either by a TypeConversion or another mapping method if required.| Modifier and Type | Class and Description |
|---|---|
static class |
MapMappingMethod.Builder |
Writable.Context| Modifier and Type | Method and Description |
|---|---|
String |
getEntryVariableName() |
Set<Type> |
getImportTypes()
Returns a set containing those
Types referenced by this model element for which an import statement needs
to be declared. |
IterableCreation |
getIterableCreation() |
Assignment |
getKeyAssignment() |
String |
getKeyVariableName() |
List<Type> |
getResultElementTypes() |
List<Type> |
getSourceElementTypes() |
Parameter |
getSourceParameter() |
Assignment |
getValueAssignment() |
String |
getValueVariableName() |
equals, getFactoryMethod, hashCode, isMapNullToDefault, isOverriddengetAccessibility, getAfterMappingReferences, getBeforeMappingReferencesWithMappingTarget, getBeforeMappingReferencesWithoutMappingTarget, getName, getParameterNames, getParameters, getResultName, getResultType, getReturnType, getSourceParameters, getThrownTypes, isExistingInstanceMapping, isStatic, toStringgetTemplateName, getTemplateNameForClass, writepublic Parameter getSourceParameter()
public Assignment getKeyAssignment()
public Assignment getValueAssignment()
public Set<Type> getImportTypes()
ModelElementTypes referenced by this model element for which an import statement needs
to be declared.getImportTypes in class NormalTypeMappingMethodnull.public String getKeyVariableName()
public String getValueVariableName()
public String getEntryVariableName()
public IterableCreation getIterableCreation()
Copyright © 2012-2021 MapStruct Authors; All rights reserved. Released under the Apache Software License 2.0.