EnumarableMapper<ROW,ROWS,T>, FieldMapper<ROW,ROWS>, Mapper<ROW,T>DiscriminatorMapper, JoinMapperpublic abstract class AbstractEnumarableDelegateMapper<ROW,ROWS,T,E extends Exception> extends AbstractEnumarableMapper<ROWS,T,E> implements Mapper<ROW,T>
errorHandler| Constructor | Description |
|---|---|
AbstractEnumarableDelegateMapper(ConsumerErrorHandler errorHandler) |
| Modifier and Type | Method | Description |
|---|---|---|
protected abstract Mapper<ROW,T> |
getMapper(ROW source) |
|
T |
map(ROW source) |
map source object to a new newInstance of T
|
T |
map(ROW source,
MappingContext<? super ROW> context) |
|
void |
mapTo(ROW source,
T target,
MappingContext<? super ROW> context) |
map source object to target object.
|
forEach, iterator, newEnumarableOfT, streampublic AbstractEnumarableDelegateMapper(ConsumerErrorHandler errorHandler)
public final T map(ROW source) throws MappingException
Mappermap in interface Mapper<ROW,ROWS>source - object to map fromMappingException - if an exception occurspublic final T map(ROW source, MappingContext<? super ROW> context) throws MappingException
map in interface Mapper<ROW,ROWS>MappingExceptionpublic final void mapTo(ROW source, T target, MappingContext<? super ROW> context) throws Exception
FieldMappermapTo in interface FieldMapper<ROW,ROWS>source - object to map fromtarget - object to map tocontext - the mapping contextException - if an exception occursCopyright © 2018. All rights reserved.