Package org.modelmapper.builder
Interface ProviderExpression<S,D>
- Type Parameters:
S- source typeD- destination type
- All Superinterfaces:
ConverterExpression<S,,D> MapExpression<D>,SkipExpression<D>
- All Known Subinterfaces:
ConditionExpression<S,D>
Expresses a Provider.
-
Method Summary
Modifier and TypeMethodDescriptionSpecifies theproviderto be used for providing instances of the mapped property.Methods inherited from interface org.modelmapper.builder.ConverterExpression
usingMethods inherited from interface org.modelmapper.builder.MapExpression
map, map, mapMethods inherited from interface org.modelmapper.builder.SkipExpression
skip, skip, skip
-
Method Details
-
with
Specifies theproviderto be used for providing instances of the mapped property. When used with deep mapping theprovidershould provide an instance of the last destination property. See theEDSL examples.- Parameters:
provider- to use for providing the destination property- Throws:
IllegalStateException- if called from outside the context ofPropertyMap.configure().
-