Package dk.mada.jaxrs.model.types
Class TypeNames
java.lang.Object
dk.mada.jaxrs.model.types.TypeNames
Contains all declared type names in the model.
The primitive types and a number of customary types are predefined.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final TypeName
The type name for a BigDecimal.static final TypeName
The type name of boolean.static final TypeName
The type name of Boolean.static final TypeName
The type name of byte.static final TypeName
The type name for a byte array.static final TypeName
The type name of Byte.static final TypeName
The type name of double.static final TypeName
The type name of Double.static final TypeName
The type name of float.static final TypeName
The type name of Float.static final TypeName
The type name for InputStream.static final TypeName
The type name of int.static final TypeName
The type name of Integer.static final TypeName
The type name of LocalDate.static final TypeName
The type name of LocalDateTime.static final TypeName
The type name of LocalTime.static final TypeName
The type name of long.static final TypeName
The type name of Long.static final TypeName
The type name marking an integer of unknown format/size.static final TypeName
The type name marking an number of unknown format/size.static final TypeName
The type name for an unknown type at parse time - not a real type.static final TypeName
The type name for a validation marker - not a real type.static final TypeName
The type name of Object.static final TypeName
The type name of OffsetDateTime.static final TypeName
The type name of short.static final TypeName
The type name of Short.static final TypeName
The type name of String.static final TypeName
The type name for a UUID.static final TypeName
The type name of void.static final TypeName
The type name of ZonedDateTime. -
Constructor Summary
-
Method Summary
-
Field Details
-
BOOLEAN
The type name of boolean. -
BOOLEAN_WRAPPER
The type name of Boolean. -
BYTE
The type name of byte. -
BYTE_WRAPPER
The type name of Byte. -
SHORT
The type name of short. -
SHORT_WRAPPER
The type name of Short. -
INTEGER
The type name of int. -
INTEGER_WRAPPER
The type name of Integer. -
LONG
The type name of long. -
LONG_WRAPPER
The type name of Long. -
FLOAT
The type name of float. -
FLOAT_WRAPPER
The type name of Float. -
DOUBLE
The type name of double. -
DOUBLE_WRAPPER
The type name of Double. -
STRING
The type name of String. -
VOID
The type name of void. -
OBJECT
The type name of Object. -
LOCAL_DATE
The type name of LocalDate. -
LOCAL_TIME
The type name of LocalTime. -
LOCAL_DATE_TIME
The type name of LocalDateTime. -
OFFSET_DATE_TIME
The type name of OffsetDateTime. -
ZONED_DATE_TIME
The type name of ZonedDateTime. -
BIG_DECIMAL
The type name for a BigDecimal. -
BYTE_ARRAY
The type name for a byte array. -
INPUT_STREAM
The type name for InputStream. -
UUID
The type name for a UUID. -
MARKER_VALIDATION
The type name for a validation marker - not a real type. -
MARKER_UNKNOWN
The type name for an unknown type at parse time - not a real type. -
MARKER_NOFORMAT_INT
The type name marking an integer of unknown format/size. -
MARKER_NOFORMAT_NUMBER
The type name marking an number of unknown format/size.
-
-
Constructor Details
-
TypeNames
public TypeNames()Constructs a new instance.
-
-
Method Details
-
find
Returns the TypeName with the given name, if it exists. Otherwise null.- Parameters:
name
- the TypeName to look for- Returns:
- the TypeName with the given name, if it exists. Otherwise null
-
of
Creates a new type name.- Parameters:
name
- name of the type- Returns:
- a new TypeName instance
-
info
Returns information about the type names.- Returns:
- information about the type names
-