Package dk.mada.jaxrs.model.types
Class TypeDate
java.lang.Object
dk.mada.jaxrs.model.types.TypeDate
- All Implemented Interfaces:
Type
Special type for handing date schema.
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface dk.mada.jaxrs.model.types.Type
isBigDecimal, isContainer, isDateTime, isDto, isEnum, isPlainObject, isPrimitive, isPrimitive, isTime, isUUID, isValidation, isVoid, wrapperTypeName
-
Method Details
-
get
Returns the type object representing a date.- Returns:
- the type object representing a date
-
typeName
Description copied from interface:Type
Returns the type name. -
neededImports
Description copied from interface:Type
Returns the set of imports needed to use this type in a DTO.- Specified by:
neededImports
in interfaceType
- Returns:
- the set of imports needed to use this type in a DTO
-
isDate
public boolean isDate()Description copied from interface:Type
Returns true if this type represents date.
-