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.Modifier and Type | Class and Description |
---|---|
static class |
IterableMappingMethod.Builder |
Writable.Context
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getDefaultValue() |
Assignment |
getElementAssignment() |
MethodReference |
getFactoryMethod() |
Set<Type> |
getImportTypes()
Returns a set containing those
Type s referenced by this model element for which an import statement needs
to be declared. |
String |
getIndex1Name() |
String |
getIndex2Name() |
String |
getLoopVariableName() |
Type |
getResultElementType() |
Type |
getSourceElementType() |
Parameter |
getSourceParameter() |
int |
hashCode() |
boolean |
isMapNullToDefault() |
boolean |
isOverridden() |
getAccessibility, getAfterMappingReferences, getBeforeMappingReferencesWithMappingTarget, getBeforeMappingReferencesWithoutMappingTarget, getName, getParameterNames, getParameters, getResultName, getResultType, getReturnType, getSourceParameters, getThrownTypes, isExistingInstanceMapping, isStatic, toString
write
getTemplateName, getTemplateNameForClass
public Parameter getSourceParameter()
public Assignment getElementAssignment()
public Set<Type> getImportTypes()
ModelElement
Type
s referenced by this model element for which an import statement needs
to be declared.getImportTypes
in class MappingMethod
null
.public boolean isMapNullToDefault()
public boolean isOverridden()
public String getLoopVariableName()
public String getDefaultValue()
public MethodReference getFactoryMethod()
public Type getSourceElementType()
public Type getResultElementType()
public String getIndex1Name()
public String getIndex2Name()
Copyright © 2012-2015 Gunnar Morling; All rights reserved. Released under the Apache Software License 2.0.