Package org.modelmapper.builder
Interface ConfigurableProviderExpression<S,D>
-
- All Superinterfaces:
ConfigurableConverterExpression<S,D>
,ReferenceMapExpression<S,D>
- All Known Subinterfaces:
ConfigurableConditionExpression<S,D>
public interface ConfigurableProviderExpression<S,D> extends ConfigurableConverterExpression<S,D>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ConfigurableConverterExpression<S,D>
with(Provider<?> provider)
Usesprovider
to instantiate an instance for destination property-
Methods inherited from interface org.modelmapper.builder.ConfigurableConverterExpression
using
-
Methods inherited from interface org.modelmapper.builder.ReferenceMapExpression
map, skip, skip
-
-
-
-
Method Detail
-
with
ConfigurableConverterExpression<S,D> with(Provider<?> provider)
Usesprovider
to instantiate an instance for destination propertywith(provider).<String>map(Src::getCustomer, Dest::setCustomer) with(req -> new Customer()).<Customer>map(Src::getCustomer, Dest::setCustomer)
- Parameters:
provider
- a provider instantiate destination property
-
-