public class ReverseConversion extends Object implements ConversionProvider
ConversionProvider
which creates the reversed conversions for a
given conversion provider.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) |
static ReverseConversion |
reverse(ConversionProvider conversionProvider) |
Assignment |
to(ConversionContext conversionContext)
Creates the conversion from source to target of a property mapping.
|
public static ReverseConversion reverse(ConversionProvider conversionProvider)
public Assignment to(ConversionContext conversionContext)
ConversionProvider
to
in interface ConversionProvider
conversionContext
- ConversionContext providing optional information required for creating the conversion.public Assignment from(ConversionContext conversionContext)
ConversionProvider
from
in interface ConversionProvider
conversionContext
- ConversionContext providing optional information required for creating the conversion.public List<HelperMethod> getRequiredHelperMethods(ConversionContext conversionContext)
getRequiredHelperMethods
in interface ConversionProvider
conversionContext
- ConversionContext providing optional information required for creating the conversion.Copyright © 2012-2016 Gunnar Morling; All rights reserved. Released under the Apache Software License 2.0.