Package org.modelmapper
Interface Converters.ChainableConverter<S,D1>
- Type Parameters:
S
- the source typeD1
- the intermediate destination type
- Enclosing class:
- Converters
public static interface Converters.ChainableConverter<S,D1>
Provides interface to chain another converter or convert to different destination type.
-
Method Summary
-
Method Details
-
to
Chains a converter ofS
->D1
toS
->D2
.- Type Parameters:
D2
- the final destination type- Parameters:
destinationType
- the final destination type- Returns:
- a converter
-
map
Chains a converter ofS
->D1
toS
->D2
with given converter.- Type Parameters:
D2
- the final destination type- Parameters:
destinationType
- the final destination type- Returns:
- a converter
-