Uses of Interface
org.modelmapper.spi.MappingContext
Packages that use MappingContext
Package
Description
ModelMapper is an intelligent object mapping library.
Service Provider Interface
-
Uses of MappingContext in org.modelmapper
Methods in org.modelmapper with parameters of type MappingContextModifier and TypeMethodDescriptionboolean
Condition.applies
(MappingContext<S, D> context) Specifies whether the condition applies to thecontext
.AbstractConverter.convert
(MappingContext<S, D> context) Delegates conversion toAbstractConverter.convert(Object)
.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 MappingContextModifier and TypeMethodDescription<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 this MappingContext.<CS,
CD> MappingContext<CS, CD> Creates a new child MappingContext for thesource
anddestinationType
which inherits all other information from this MappingContext.<CS,
CD> MappingContext<CS, CD> Creates a new child MappingContext for thesource
anddestinationType
which inherits all other information from 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 MappingContextModifier and TypeMethodDescriptionStrongTypeConditionalConverter.convert
(MappingContext<S, D> context) <S,
D> D MappingEngine.createDestination
(MappingContext<S, D> context) Creates an instance of the destination type for thecontext
, capturing any errors that may occur during instantiation.<S,
D> D MappingEngine.map
(MappingContext<S, D> context) Maps an instance of typeD
for thecontext
.