public final class MapperFieldMapper<S,T,P> extends Object implements FieldMapper<S,T>
| Constructor and Description |
|---|
MapperFieldMapper(Mapper<S,P> mapper,
Setter<T,P> propertySetter,
Getter<T,P> propertyGetter,
Predicate<S> nullChecker,
Getter<MappingContext<S>,BooleanProvider> breakDetectorProvider) |
| Modifier and Type | Method and Description |
|---|---|
void |
mapTo(S source,
T target,
MappingContext<S> context)
map source object to target object.
|
String |
toString() |
public void mapTo(S source, T target, MappingContext<S> context) throws Exception
FieldMappermapTo in interface FieldMapper<S,T>source - object to map fromtarget - object to map tocontext - the mapping contextException - if an exception occursCopyright © 2015. All rights reserved.