public enum SimpleTypeMappings extends Enum<SimpleTypeMappings>
| Enum Constant and Description |
|---|
BIGDECIMAL |
BIGINTEGER |
BOOLEAN |
BYTE |
CHAR |
CHARSEQUENCE |
DATE |
DOUBLE |
FLOAT |
INSTANT |
INTEGER |
LOCALDATE |
LOCALDATETIME |
LOCALTIME |
LONG |
OFFSETDATETIME |
PRIMITIVE_BOOLEAN |
PRIMITIVE_BYTE |
PRIMITIVE_CHAR |
PRIMITIVE_DOUBLE |
PRIMITIVE_FLOAT |
PRIMITIVE_INTEGER |
PRIMITIVE_LONG |
PRIMITIVE_SHORT |
SHORT |
STRING |
UUID |
ZONE_ID |
ZONEDDATETIME |
| Modifier and Type | Method and Description |
|---|---|
static String |
forClass(Type type)
Return a primitive type for a given class, if any
|
static boolean |
isSimpleType(Type type)
Informs which the given type is some Java default type
|
static SimpleTypeMappings |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SimpleTypeMappings[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SimpleTypeMappings PRIMITIVE_BYTE
public static final SimpleTypeMappings PRIMITIVE_SHORT
public static final SimpleTypeMappings PRIMITIVE_INTEGER
public static final SimpleTypeMappings PRIMITIVE_LONG
public static final SimpleTypeMappings BYTE
public static final SimpleTypeMappings SHORT
public static final SimpleTypeMappings INTEGER
public static final SimpleTypeMappings LONG
public static final SimpleTypeMappings BIGINTEGER
public static final SimpleTypeMappings PRIMITIVE_FLOAT
public static final SimpleTypeMappings PRIMITIVE_DOUBLE
public static final SimpleTypeMappings FLOAT
public static final SimpleTypeMappings DOUBLE
public static final SimpleTypeMappings BIGDECIMAL
public static final SimpleTypeMappings PRIMITIVE_BOOLEAN
public static final SimpleTypeMappings BOOLEAN
public static final SimpleTypeMappings PRIMITIVE_CHAR
public static final SimpleTypeMappings CHAR
public static final SimpleTypeMappings CHARSEQUENCE
public static final SimpleTypeMappings STRING
public static final SimpleTypeMappings UUID
public static final SimpleTypeMappings DATE
public static final SimpleTypeMappings ZONEDDATETIME
public static final SimpleTypeMappings LOCALDATE
public static final SimpleTypeMappings LOCALTIME
public static final SimpleTypeMappings LOCALDATETIME
public static final SimpleTypeMappings INSTANT
public static final SimpleTypeMappings ZONE_ID
public static final SimpleTypeMappings OFFSETDATETIME
public static SimpleTypeMappings[] values()
for (SimpleTypeMappings c : SimpleTypeMappings.values()) System.out.println(c);
public static SimpleTypeMappings valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static String forClass(Type type)
type - the classnull otherwisepublic static boolean isSimpleType(Type type)
type - the classCopyright © 2018. All rights reserved.