Class JoinMapper<INPUT,ATTRIBUTE extends ExcelAttribute>
- java.lang.Object
-
- com.hybris.backoffice.excel.template.mapper.JoinMapper<INPUT,ATTRIBUTE>
-
- Type Parameters:
INPUT- type of input of the mapperATTRIBUTE- type of output of the mapper
- All Implemented Interfaces:
ExcelMapper<INPUT,ATTRIBUTE>,java.util.function.Function<INPUT,java.util.Collection<ATTRIBUTE>>
public class JoinMapper<INPUT,ATTRIBUTE extends ExcelAttribute> extends java.lang.Object implements ExcelMapper<INPUT,ATTRIBUTE>
Join results of two mappers and return union collections.
-
-
Constructor Summary
Constructors Constructor Description JoinMapper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Collection<ATTRIBUTE>apply(INPUT input)voidsetMapper1(ExcelMapper<INPUT,ATTRIBUTE> mapper1)voidsetMapper2(ExcelMapper<INPUT,ATTRIBUTE> mapper2)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.hybris.backoffice.excel.template.mapper.ExcelMapper
filter
-
-
-
-
Method Detail
-
apply
public java.util.Collection<ATTRIBUTE> apply(INPUT input)
- Specified by:
applyin interfacejava.util.function.Function<INPUT,ATTRIBUTE extends ExcelAttribute>
-
setMapper1
public void setMapper1(ExcelMapper<INPUT,ATTRIBUTE> mapper1)
-
setMapper2
public void setMapper2(ExcelMapper<INPUT,ATTRIBUTE> mapper2)
-
-