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.ModelElement.Context| Constructor and Description |
|---|
MapMappingMethod(Method method,
MappingMethodReference keyMappingMethod,
TypeConversion keyConversion,
MappingMethodReference valueMappingMethod,
TypeConversion valueConversion) |
| 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. |
TypeConversion |
getKeyConversion() |
MappingMethodReference |
getKeyMappingMethod() |
String |
getKeyVariableName() |
Parameter |
getSourceParameter() |
TypeConversion |
getValueConversion() |
MappingMethodReference |
getValueMappingMethod() |
String |
getValueVariableName() |
getName, getParameterNames, getParameters, getResultName, getResultType, getReturnType, getSourceParameters, isExistingInstanceMapping, toStringwritepublic MapMappingMethod(Method method, MappingMethodReference keyMappingMethod, TypeConversion keyConversion, MappingMethodReference valueMappingMethod, TypeConversion valueConversion)
public Parameter getSourceParameter()
public MappingMethodReference getKeyMappingMethod()
public TypeConversion getKeyConversion()
public MappingMethodReference 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 interface ModelElementgetImportTypes in class MappingMethodnull.public String getKeyVariableName()
public String getValueVariableName()
public String getEntryVariableName()
Copyright © 2012-2013. All Rights Reserved.