Package org.modelmapper.builder
Interface SkipExpression<D>
- Type Parameters:
D
- destination type
- All Superinterfaces:
MapExpression<D>
- All Known Subinterfaces:
ConditionExpression<S,
,D> ConverterExpression<S,
,D> ProviderExpression<S,
D>
Expresses a mapping that is skipped.
-
Method Summary
Modifier and TypeMethodDescriptionskip()
Specifies that mapping for the destination property be skipped during the mapping process.void
Specifies that mapping to thedestination
be skipped during the mapping process.void
Specifies that mapping from thesource
to thedestination
be skipped during the mapping process.Methods inherited from interface org.modelmapper.builder.MapExpression
map, map, map
-
Method Details
-
skip
D skip()Specifies that mapping for the destination property be skipped during the mapping process. See the EDSL examples atPropertyMap
.- Throws:
IllegalStateException
- if called from outside the context ofPropertyMap.configure()
.
-
skip
Specifies that mapping to thedestination
be skipped during the mapping process. See the EDSL examples atPropertyMap
.- Parameters:
destination
- to skip- Throws:
IllegalStateException
- if called from outside the context ofPropertyMap.configure()
.
-
skip
Specifies that mapping from thesource
to thedestination
be skipped during the mapping process. See the EDSL examples atPropertyMap
.- Parameters:
source
- to skipdestination
- to skip- Throws:
IllegalStateException
- if called from outside the context ofPropertyMap.configure()
.
-