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,
MethodReference keyMappingMethod,
TypeConversion keyConversion,
MethodReference valueMappingMethod,
TypeConversion valueConversion,
MethodReference factoryMethod) |
| Modifier and Type | Method and Description |
|---|---|
String |
getEntryVariableName() |
MethodReference |
getFactoryMethod() |
Set<Type> |
getImportTypes()
Returns a set containing those
Types referenced by this model element for which an import statement needs
to be declared. |
TypeConversion |
getKeyConversion() |
MethodReference |
getKeyMappingMethod() |
String |
getKeyVariableName() |
Parameter |
getSourceParameter() |
TypeConversion |
getValueConversion() |
MethodReference |
getValueMappingMethod() |
String |
getValueVariableName() |
getAccessibility, getName, getParameterNames, getParameters, getResultName, getResultType, getReturnType, getSourceParameters, isExistingInstanceMapping, toStringwritegetTemplateNamepublic MapMappingMethod(SourceMethod method, MethodReference keyMappingMethod, TypeConversion keyConversion, MethodReference valueMappingMethod, TypeConversion valueConversion, MethodReference factoryMethod)
public Parameter getSourceParameter()
public MethodReference getKeyMappingMethod()
public TypeConversion getKeyConversion()
public MethodReference getValueMappingMethod()
public TypeConversion getValueConversion()
public Set<Type> getImportTypes()
ModelElementTypes referenced by this model element for which an import statement needs
to be declared.getImportTypes in class MappingMethodnull.public String getKeyVariableName()
public String getValueVariableName()
public String getEntryVariableName()
public MethodReference getFactoryMethod()
Copyright © 2012-2014. All Rights Reserved.