Class AbstractToXmlGregorianCalendar
- java.lang.Object
-
- org.mapstruct.ap.internal.model.source.builtin.BuiltInMethod
-
- org.mapstruct.ap.internal.model.source.builtin.AbstractToXmlGregorianCalendar
-
- All Implemented Interfaces:
Method
- Direct Known Subclasses:
CalendarToXmlGregorianCalendar
,DateToXmlGregorianCalendar
,JodaDateTimeToXmlGregorianCalendar
,JodaLocalDateTimeToXmlGregorianCalendar
,JodaLocalDateToXmlGregorianCalendar
,JodaLocalTimeToXmlGregorianCalendar
,LocalDateTimeToXmlGregorianCalendar
,LocalDateToXmlGregorianCalendar
,StringToXmlGregorianCalendar
,ZonedDateTimeToXmlGregorianCalendar
public abstract class AbstractToXmlGregorianCalendar extends BuiltInMethod
- Author:
- Sjaak Derksen
-
-
Constructor Summary
Constructors Constructor Description AbstractToXmlGregorianCalendar(TypeFactory typeFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConstructorFragment
getConstructorFragment()
FieldReference
getFieldReference()
Set<Type>
getImportTypes()
Returns the types used by this method for which import statements need to be generated.Type
getReturnType()
Returns the return type of the method-
Methods inherited from class org.mapstruct.ap.internal.model.source.builtin.BuiltInMethod
describe, doTypeVarsMatch, equals, getAccessibility, getContextParameter, getContextParameters, getContextProvidedMethods, getDeclaringMapper, getDefiningType, getExecutable, getMappingTargetParameter, getName, getOptions, getParameter, getParameterNames, getParameters, getResultType, getSourceParameters, getTargetTypeParameter, getThrownTypes, getTypeParameters, hashCode, isDefault, isLifecycleCallbackMethod, isObjectFactory, isStatic, isUpdateMethod, matches, overridesMethod
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.mapstruct.ap.internal.model.source.Method
getConditionOptions, getMappingSourceType, isMappingTargetAssignableToReturnType
-
-
-
-
Constructor Detail
-
AbstractToXmlGregorianCalendar
public AbstractToXmlGregorianCalendar(TypeFactory typeFactory)
-
-
Method Detail
-
getImportTypes
public Set<Type> getImportTypes()
Description copied from class:BuiltInMethod
Returns the types used by this method for which import statements need to be generated. Defaults to the empty set. To be overridden by implementations in case they make use of additional types (note that the parameter and return type don't need to be added).- Overrides:
getImportTypes
in classBuiltInMethod
- Returns:
- the types used by this method for which import statements need to be generated
-
getReturnType
public Type getReturnType()
Description copied from interface:Method
Returns the return type of the method- Returns:
- return type
-
getFieldReference
public FieldReference getFieldReference()
- Overrides:
getFieldReference
in classBuiltInMethod
-
getConstructorFragment
public ConstructorFragment getConstructorFragment()
- Overrides:
getConstructorFragment
in classBuiltInMethod
-
-