public interface Mapper<S,T> extends FieldMapper<S,T>
| Modifier and Type | Method and Description |
|---|---|
T |
map(S source)
map the current row of source object to a new newInstance of T.
|
T |
map(S source,
MappingContext<? super S> context)
map the current row of source object to a new newInstance of T.
|
mapToT map(S source) throws MappingException
source - object to map fromMappingException - if an exception occursT map(S source, MappingContext<? super S> context) throws MappingException
source - object to map fromMappingException - if an exception occursCopyright © 2018. All rights reserved.