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.Writable.Context| Constructor and Description |
|---|
IterableMappingMethod(SourceMethod method,
MethodReference elementMappingMethod,
TypeConversion conversion,
MethodReference factoryMethod) |
| Modifier and Type | Method and Description |
|---|---|
TypeConversion |
getConversion() |
MethodReference |
getElementMappingMethod() |
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. |
String |
getLoopVariableName() |
Parameter |
getSourceParameter() |
getAccessibility, getName, getParameterNames, getParameters, getResultName, getResultType, getReturnType, getSourceParameters, isExistingInstanceMapping, toStringwritegetTemplateNamepublic IterableMappingMethod(SourceMethod method, MethodReference elementMappingMethod, TypeConversion conversion, MethodReference factoryMethod)
public Parameter getSourceParameter()
public MethodReference 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 class MappingMethodnull.public String getLoopVariableName()
public MethodReference getFactoryMethod()
Copyright © 2012-2014. All Rights Reserved.