Package org.modelmapper
Interface ExpressionMap<S,D>
- Type Parameters:
S
- source typeD
- destination type
public interface ExpressionMap<S,D>
Represents an operation that accepts
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); })
-
Method Summary
Modifier and TypeMethodDescriptionvoid
configure
(ConfigurableConditionExpression<S, D> mapping) Performs the operation to configureTypeMap
-
Method Details
-
configure
Performs the operation to configureTypeMap
-