FieldMapper<S,T>public final class MapperFieldMapper<S,T,P> extends Object implements FieldMapper<S,T>
| Constructor | Description |
|---|---|
MapperFieldMapper(Mapper<S,P> mapper,
org.simpleflatmapper.reflect.Setter<? super T,? super P> propertySetter,
org.simpleflatmapper.util.Predicate<? super S> nullChecker,
int currentValueIndex) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
mapTo(S source,
T target,
MappingContext<? super S> context) |
map source object to target object.
|
String |
toString() |
public void mapTo(S source, T target, MappingContext<? super 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 © 2018. All rights reserved.