Package org.modelmapper.builder
Interface ConverterExpression<S,D>
- Type Parameters:
S- source typeD- destination type
- All Superinterfaces:
MapExpression<D>,SkipExpression<D>
- All Known Subinterfaces:
ConditionExpression<S,,D> ProviderExpression<S,D>
Expresses a Converter.
-
Method Summary
Modifier and TypeMethodDescriptionSpecifies theconverterto use for converting to the destination property hierarchy.Methods inherited from interface org.modelmapper.builder.MapExpression
map, map, mapMethods inherited from interface org.modelmapper.builder.SkipExpression
skip, skip, skip
-
Method Details
-
using
Specifies theconverterto use for converting to the destination property hierarchy. When used with deep mapping theconvertershould convert to an instance of the last destination property. See theEDSL examples.- Parameters:
converter- to use when mapping the property- Throws:
IllegalStateException- if called from outside the context ofPropertyMap.configure().
-