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>
public interface SkipExpression<D> extends MapExpression<D>
Expresses a mapping that is skipped.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description D
skip()
Specifies that mapping for the destination property be skipped during the mapping process.void
skip(Object destination)
Specifies that mapping to thedestination
be skipped during the mapping process.void
skip(Object source, Object destination)
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 Detail
-
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
void skip(Object destination)
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
void skip(Object source, Object destination)
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()
.
-
-