Class TypeDate

java.lang.Object
dk.mada.jaxrs.model.types.TypeDate
All Implemented Interfaces:
Type

public final class TypeDate extends Object implements Type
Special type for handing date schema.
  • Method Details

    • get

      public static TypeDate get()
      Returns the type object representing a date.
      Returns:
      the type object representing a date
    • typeName

      public TypeName typeName()
      Description copied from interface: Type
      Returns the type name.
      Specified by:
      typeName in interface Type
      Returns:
      the type name
    • neededImports

      public Set<String> neededImports()
      Description copied from interface: Type
      Returns the set of imports needed to use this type in a DTO.
      Specified by:
      neededImports in interface Type
      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.
      Specified by:
      isDate in interface Type
      Returns:
      true if this type represents date