Package org.modelmapper.builder
Interface ConfigurableConverterExpression<S,D>
- All Superinterfaces:
ReferenceMapExpression<S,
D>
- All Known Subinterfaces:
ConfigurableConditionExpression<S,
,D> ConfigurableProviderExpression<S,
D>
-
Method Summary
Modifier and TypeMethodDescriptionUsesconverter
to convert a source property to destination propertyMethods inherited from interface org.modelmapper.builder.ReferenceMapExpression
map, skip, skip
-
Method Details
-
using
Usesconverter
to convert a source property to destination propertyusing(converter).<String>map(Src::getCustomer, Dest::setCustomerId) using(ctx -> ctx.getSource().getName().toUpperCase()).<String>map(src -> src.getCustomer().getId(), Dest::setCustomerId)
- Parameters:
converter
- a converter convert source property to destination property
-