S - source typeD - destination typepublic interface ExpressionMap<S,D>
mapping and use functions
defined in ConfigurableMapExpression to configure a TypeMap
modelMapper.addMappings(mapper -> {
mapper.map(Src::getA, Dest::setB);
mapper.using(converter).map(Src::getC, Dest::setD);
})
| Modifier and Type | Method and Description |
|---|---|
void |
configure(ConfigurableMapExpression<S,D> mapping)
Performs the operation to configure
TypeMap |
void configure(ConfigurableMapExpression<S,D> mapping)
TypeMapCopyright © 2011–2018. All rights reserved.