
public interface ConversionProvider
TypeConversions such as
(long)source,Integer.valueOf(source) ornew SimpleDateFormat().format( source ).| Modifier and Type | Method and Description |
|---|---|
Assignment |
from(ConversionContext conversionContext)
Creates the conversion from target to source of a property mapping.
|
List<HelperMethod> |
getRequiredHelperMethods(ConversionContext conversionContext) |
Assignment |
to(ConversionContext conversionContext)
Creates the conversion from source to target of a property mapping.
|
Assignment to(ConversionContext conversionContext)
conversionContext - ConversionContext providing optional information required for creating the conversion.Assignment from(ConversionContext conversionContext)
conversionContext - ConversionContext providing optional information required for creating the conversion.List<HelperMethod> getRequiredHelperMethods(ConversionContext conversionContext)
conversionContext - ConversionContext providing optional information required for creating the conversion.Copyright © 2012-2021 MapStruct Authors; All rights reserved. Released under the Apache Software License 2.0.