Class DateToStringConversion
- java.lang.Object
-
- org.mapstruct.ap.internal.conversion.DateToStringConversion
-
- All Implemented Interfaces:
ConversionProvider
public class DateToStringConversion extends Object implements ConversionProvider
- Author:
- Gunnar Morling
-
-
Constructor Summary
Constructors Constructor Description DateToStringConversion()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.mapstruct.ap.internal.conversion.ConversionProvider
getRequiredHelperFields
-
-
-
-
Method Detail
-
to
public Assignment to(ConversionContext conversionContext)
Description copied from interface:ConversionProvider
Creates the conversion from source to target of a property mapping.- Specified by:
to
in interfaceConversionProvider
- Parameters:
conversionContext
- ConversionContext providing optional information required for creating the conversion.- Returns:
- A conversion from source to target.
-
from
public Assignment from(ConversionContext conversionContext)
Description copied from interface:ConversionProvider
Creates the conversion from target to source of a property mapping.- Specified by:
from
in interfaceConversionProvider
- Parameters:
conversionContext
- ConversionContext providing optional information required for creating the conversion.- Returns:
- A conversion from target to source.
-
getRequiredHelperMethods
public List<HelperMethod> getRequiredHelperMethods(ConversionContext conversionContext)
- Specified by:
getRequiredHelperMethods
in interfaceConversionProvider
- Parameters:
conversionContext
- ConversionContext providing optional information required for creating the conversion.- Returns:
- any helper methods when required.
-
-