Class DateToStringConversion
java.lang.Object
org.mapstruct.ap.internal.conversion.DateToStringConversion
- All Implemented Interfaces:
ConversionProvider
- Author:
- Gunnar Morling
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfrom(ConversionContext conversionContext) Creates the conversion from target to source of a property mapping.getRequiredHelperMethods(ConversionContext conversionContext) Retrieves any helper methods required for creating the conversion.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, waitMethods inherited from interface org.mapstruct.ap.internal.conversion.ConversionProvider
getRequiredHelperFields
-
Constructor Details
-
DateToStringConversion
public DateToStringConversion()
-
-
Method Details
-
to
Description copied from interface:ConversionProviderCreates the conversion from source to target of a property mapping.- Specified by:
toin interfaceConversionProvider- Parameters:
conversionContext- ConversionContext providing optional information required for creating the conversion.- Returns:
- A conversion from source to target.
-
from
Description copied from interface:ConversionProviderCreates the conversion from target to source of a property mapping.- Specified by:
fromin interfaceConversionProvider- Parameters:
conversionContext- ConversionContext providing optional information required for creating the conversion.- Returns:
- A conversion from target to source.
-
getRequiredHelperMethods
Description copied from interface:ConversionProviderRetrieves any helper methods required for creating the conversion.- Specified by:
getRequiredHelperMethodsin interfaceConversionProvider- Parameters:
conversionContext- ConversionContext providing optional information required for creating the conversion.- Returns:
- any helper methods when required.
-