public class MapMappingMethod extends MappingMethod
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 |
---|---|
boolean |
equals(Object obj) |
String |
getEntryVariableName() |
MethodReference |
getFactoryMethod() |
Set<Type> |
getImportTypes()
Returns a set containing those
Type s referenced by this model element for which an import statement needs
to be declared. |
Assignment |
getKeyAssignment() |
String |
getKeyVariableName() |
Parameter |
getSourceParameter() |
Assignment |
getValueAssignment() |
String |
getValueVariableName() |
int |
hashCode() |
boolean |
isMapNullToDefault() |
boolean |
isOverridden() |
getAccessibility, getAfterMappingReferences, getBeforeMappingReferencesWithMappingTarget, getBeforeMappingReferencesWithoutMappingTarget, getName, getParameterNames, getParameters, getResultName, getResultType, getReturnType, getSourceParameters, getThrownTypes, isExistingInstanceMapping, isStatic, toString
write
getTemplateName, getTemplateNameForClass
public Parameter getSourceParameter()
public Assignment getKeyAssignment()
public Assignment getValueAssignment()
public Set<Type> getImportTypes()
ModelElement
Type
s referenced by this model element for which an import statement needs
to be declared.getImportTypes
in class MappingMethod
null
.public String getKeyVariableName()
public String getValueVariableName()
public String getEntryVariableName()
public MethodReference getFactoryMethod()
public boolean isMapNullToDefault()
public boolean isOverridden()
Copyright © 2012-2015 Gunnar Morling; All rights reserved. Released under the Apache Software License 2.0.