S - source typeD - destination typepublic interface ExpressionMap<S,D>
mapping and use functions
defined in ConfigurableConditionExpression 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(ConfigurableConditionExpression<S,D> mapping)
Performs the operation to configure
TypeMap |
void configure(ConfigurableConditionExpression<S,D> mapping)
TypeMapCopyright © 2011–2021. All rights reserved.