public class IterableMappingMethod extends MappingMethod
MappingMethod implemented by a Mapper class which maps one iterable type to another. The collection
elements are mapped either by a TypeConversion or another mapping method.ModelElement.Context| Constructor and Description |
|---|
IterableMappingMethod(Method method,
MappingMethodReference elementMappingMethod,
TypeConversion conversion) |
| Modifier and Type | Method and Description |
|---|---|
TypeConversion |
getConversion() |
MappingMethodReference |
getElementMappingMethod() |
Set<Type> |
getImportTypes()
Returns a set containing those
Types referenced by this model
element for which an import statement needs to be declared. |
String |
getLoopVariableName() |
Parameter |
getSourceParameter() |
getName, getParameterNames, getParameters, getResultName, getResultType, getReturnType, getSourceParameters, isExistingInstanceMapping, toStringwritepublic IterableMappingMethod(Method method, MappingMethodReference elementMappingMethod, TypeConversion conversion)
public Parameter getSourceParameter()
public MappingMethodReference getElementMappingMethod()
public TypeConversion getConversion()
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 getLoopVariableName()
Copyright © 2012-2013. All Rights Reserved.