Class TypeUUID

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

public final class TypeUUID extends Object implements Type
Special type for handing UUID type.
  • Method Details

    • get

      public static TypeUUID get()
      Returns the type object representing a UUID.
      Returns:
      the type object representing a UUID
    • 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
    • typeName

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

      public boolean isUUID()
      Description copied from interface: Type
      Returns true if this type represents UUID.
      Specified by:
      isUUID in interface Type
      Returns:
      true if this type represents UUID