
public class DateToSqlTimeConversion extends SimpleConversion
| Constructor and Description |
|---|
DateToSqlTimeConversion() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
getFromExpression(ConversionContext conversionContext)
Returns the conversion string from target to source.
|
protected Set<Type> |
getToConversionImportTypes(ConversionContext conversionContext)
Returns a set with imported types of the "to" conversion.
|
protected String |
getToExpression(ConversionContext conversionContext)
Returns the conversion string from source to target.
|
from, getFromConversionExceptionTypes, getFromConversionImportTypes, getRequiredHelperMethods, getToConversionExceptionTypes, toprotected String getToExpression(ConversionContext conversionContext)
SimpleConversion<SOURCE> can be used to represent a
reference to the source value.getToExpression in class SimpleConversionconversionContext - A context providing optional information required for creating the conversion.protected Set<Type> getToConversionImportTypes(ConversionContext conversionContext)
SimpleConversiongetToConversionImportTypes in class SimpleConversionconversionContext - the conversion contextprotected String getFromExpression(ConversionContext conversionContext)
SimpleConversion<SOURCE> can be used to represent a
reference to the target value.getFromExpression in class SimpleConversionconversionContext - 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.