Package org.modelmapper.builder
Interface MapExpression<D>
- Type Parameters:
D
- destination type
- All Known Subinterfaces:
ConditionExpression<S,
,D> ConverterExpression<S,
,D> ProviderExpression<S,
,D> SkipExpression<D>
public interface MapExpression<D>
Expresses mapping.
-
Method Summary
-
Method Details
-
map
D map()Defines a mapping to a destination. See the EDSL examples atPropertyMap
.- Throws:
IllegalStateException
- if called from outside the context ofPropertyMap.configure()
.
-
map
Defines a mapping for thesubject
. See the EDSL examples atPropertyMap
.- Parameters:
subject
- to map- Throws:
IllegalStateException
- if called from outside the context ofPropertyMap.configure()
.
-
map
- Parameters:
source
- to map fromdestination
- to map to- Throws:
IllegalStateException
- if called from outside the context ofPropertyMap.configure()
.
-