Package org.modelmapper.builder
Interface ConfigurableConverterExpression<S,D>
-
- All Superinterfaces:
ReferenceMapExpression<S,D>
- All Known Subinterfaces:
ConfigurableConditionExpression<S,D>
,ConfigurableProviderExpression<S,D>
public interface ConfigurableConverterExpression<S,D> extends ReferenceMapExpression<S,D>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ReferenceMapExpression<S,D>
using(Converter<?,?> converter)
Usesconverter
to convert a source property to destination property-
Methods inherited from interface org.modelmapper.builder.ReferenceMapExpression
map, skip, skip
-
-
-
-
Method Detail
-
using
ReferenceMapExpression<S,D> using(Converter<?,?> converter)
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
-
-