
public abstract class ContainerMappingMethod extends NormalTypeMappingMethod
MappingMethod implemented by a Mapper class which does mapping of generic types.
For example Iterable or Stream.
The generic elements are mapped either by a TypeConversion or another mapping method.Writable.Context| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Assignment |
getElementAssignment() |
Set<Type> |
getImportTypes()
Returns a set containing those
Types referenced by this model element for which an import statement needs
to be declared. |
String |
getIndex1Name() |
String |
getIndex2Name() |
IterableCreation |
getIterableCreation() |
String |
getLoopVariableName() |
abstract Type |
getResultElementType() |
Parameter |
getSourceParameter() |
int |
hashCode() |
getFactoryMethod, isMapNullToDefault, isOverriddengetAccessibility, getAfterMappingReferences, getBeforeMappingReferencesWithMappingTarget, getBeforeMappingReferencesWithoutMappingTarget, getName, getParameterNames, getParameters, getResultName, getResultType, getReturnType, getSourceParameters, getThrownTypes, isExistingInstanceMapping, isStatic, toStringgetTemplateName, getTemplateNameForClass, writepublic Parameter getSourceParameter()
public IterableCreation getIterableCreation()
public Assignment getElementAssignment()
public Set<Type> getImportTypes()
ModelElementTypes referenced by this model element for which an import statement needs
to be declared.getImportTypes in class NormalTypeMappingMethodnull.public String getLoopVariableName()
public abstract Type getResultElementType()
public String getIndex1Name()
public String getIndex2Name()
public int hashCode()
hashCode in class NormalTypeMappingMethodpublic boolean equals(Object obj)
equals in class NormalTypeMappingMethodCopyright © 2012-2021 MapStruct Authors; All rights reserved. Released under the Apache Software License 2.0.