Uses of Interface
org.modelmapper.spi.MappingContext
-
Packages that use MappingContext Package Description org.modelmapper ModelMapper is an intelligent object mapping library.org.modelmapper.spi Service Provider Interface -
-
Uses of MappingContext in org.modelmapper
Methods in org.modelmapper with parameters of type MappingContext Modifier and Type Method Description boolean
Condition. applies(MappingContext<S,D> context)
Specifies whether the condition applies to thecontext
.D
AbstractConverter. convert(MappingContext<S,D> context)
Delegates conversion toAbstractConverter.convert(Object)
.D
Converter. convert(MappingContext<S,D> context)
Converts thegetSource()
to an instance ofgetDestinationType()
. -
Uses of MappingContext in org.modelmapper.spi
Methods in org.modelmapper.spi that return MappingContext Modifier and Type Method Description <CS,CD>
MappingContext<CS,CD>MappingContext. create(CS source, CD destination)
Creates a new child MappingContext for thesource
anddestination
which inherits all other information from the this MappingContext.<CS,CD>
MappingContext<CS,CD>MappingContext. create(CS source, Class<CD> destinationType)
Creates a new child MappingContext for thesource
anddestinationType
which inherits all other information from the this MappingContext.<CS,CD>
MappingContext<CS,CD>MappingContext. create(CS source, Type destinationType)
Creates a new child MappingContext for thesource
anddestinationType
which inherits all other information from the this MappingContext.MappingContext<?,?>
MappingContext. getParent()
Returns the parent MappingContext from which the current MappingContext was created, elsenull
if there is no parent context.Methods in org.modelmapper.spi with parameters of type MappingContext Modifier and Type Method Description D
StrongTypeConditionalConverter. convert(MappingContext<S,D> context)
<S,D>
DMappingEngine. createDestination(MappingContext<S,D> context)
Creates an instance of the destination type for thecontext
, capturing any errors that may occur during instantiation.<S,D>
DMappingEngine. map(MappingContext<S,D> context)
Maps an instance of typeD
for thecontext
.
-