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.Writable.Context| Constructor and Description |
|---|
MapMappingMethod(SourceMethod method,
Assignment keyAssignment,
Assignment valueAssignment,
FactoryMethod factoryMethod) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getEntryVariableName() |
FactoryMethod |
getFactoryMethod() |
java.util.Set<Type> |
getImportTypes()
Returns a set containing those
Types referenced by this model element for which an import statement needs
to be declared. |
Assignment |
getKeyAssignment() |
java.lang.String |
getKeyVariableName() |
Parameter |
getSourceParameter() |
Assignment |
getValueAssignment() |
java.lang.String |
getValueVariableName() |
getAccessibility, getName, getParameterNames, getParameters, getResultName, getResultType, getReturnType, getSourceParameters, getThrownTypes, isExistingInstanceMapping, toStringwritegetTemplateNamepublic MapMappingMethod(SourceMethod method, Assignment keyAssignment, Assignment valueAssignment, FactoryMethod factoryMethod)
public Parameter getSourceParameter()
public Assignment getKeyAssignment()
public Assignment getValueAssignment()
public java.util.Set<Type> getImportTypes()
ModelElementTypes referenced by this model element for which an import statement needs
to be declared.getImportTypes in class MappingMethodnull.public java.lang.String getKeyVariableName()
public java.lang.String getValueVariableName()
public java.lang.String getEntryVariableName()
public FactoryMethod getFactoryMethod()
Copyright © 2012-2014. All Rights Reserved.