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 theconverter
to use for converting to the destination property hierarchy.Methods inherited from interface org.modelmapper.builder.MapExpression
map, map, map
Methods inherited from interface org.modelmapper.builder.SkipExpression
skip, skip, skip
-
Method Details
-
using
Specifies theconverter
to use for converting to the destination property hierarchy. When used with deep mapping theconverter
should 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()
.
-