public class StreamMappingMethod extends ContainerMappingMethod
MappingMethod
implemented by a Mapper
class which maps one iterable or array type to Stream.
The collection elements are mapped either by a TypeConversion
or another mapping method.Modifier and Type | Class and Description |
---|---|
static class |
StreamMappingMethod.Builder |
Writable.Context
Modifier and Type | Method and Description |
---|---|
Set<Type> |
getImportTypes()
Returns a set containing those
Type s referenced by this model element for which an import statement needs
to be declared. |
Type |
getResultElementType() |
Type |
getSourceElementType() |
equals, getElementAssignment, getIndex1Name, getIndex2Name, getIterableCreation, getLoopVariableName, getSourceParameter, hashCode
getFactoryMethod, isMapNullToDefault, isOverridden
getAccessibility, getAfterMappingReferences, getBeforeMappingReferencesWithMappingTarget, getBeforeMappingReferencesWithoutMappingTarget, getName, getParameterNames, getParameters, getResultName, getResultType, getReturnType, getSourceParameters, getThrownTypes, isExistingInstanceMapping, isStatic, toString
getTemplateName, getTemplateNameForClass, write
public Set<Type> getImportTypes()
ModelElement
Type
s referenced by this model element for which an import statement needs
to be declared.getImportTypes
in class ContainerMappingMethod
null
.public Type getSourceElementType()
public Type getResultElementType()
getResultElementType
in class ContainerMappingMethod
Copyright © 2012-2021 MapStruct Authors; All rights reserved. Released under the Apache Software License 2.0.