Package dk.mada.jaxrs.model.types
Class TypeDateTime
java.lang.Object
dk.mada.jaxrs.model.types.TypeDateTime
- All Implemented Interfaces:
Type
Special type for handing date-time schema.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe Java variants of date-time implementations. -
Method Summary
Modifier and TypeMethodDescriptionstatic TypeDateTimeget(TypeDateTime.DateTimeVariant variant) Returns the type object representing a date-time.booleanReturns true if this type represents date-time.Returns the set of imports needed to use this type in a DTO.typeName()Returns the type name.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface dk.mada.jaxrs.model.types.Type
isBigDecimal, isContainer, isDate, isDto, isEnum, isPlainObject, isPrimitive, isPrimitive, isTime, isUUID, isValidation, isVoid, wrapperTypeName
-
Method Details
-
get
Returns the type object representing a date-time.- Parameters:
variant- the desired variant- Returns:
- the type object representing a date-time
-
typeName
Description copied from interface:TypeReturns the type name. -
neededImports
Description copied from interface:TypeReturns the set of imports needed to use this type in a DTO.- Specified by:
neededImportsin interfaceType- Returns:
- the set of imports needed to use this type in a DTO
-
isDateTime
public boolean isDateTime()Description copied from interface:TypeReturns true if this type represents date-time.- Specified by:
isDateTimein interfaceType- Returns:
- true if this type represents date-time
-