Enum Constant and Description |
---|
AUTO
The default value.
|
BOOLEAN
Maps to
Boolean or boolean . |
CALENDAR
Maps to
Calendar . |
DATE
Maps to
Date . |
INTEGER
Maps to
Integer or int . |
LONG
Maps to
Long , or long . |
TIMESTAMP
Maps to
Date as timestamp. |
Modifier and Type | Method and Description |
---|---|
static Slot.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Slot.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Slot.Type BOOLEAN
Boolean
or boolean
.public static final Slot.Type DATE
Date
.public static final Slot.Type CALENDAR
Calendar
.public static final Slot.Type INTEGER
Integer
or int
.public static final Slot.Type TIMESTAMP
Date
as timestamp.public static final Slot.Type AUTO
public static final Slot.Type LONG
Long
, or long
.public static Slot.Type[] values()
for (Slot.Type c : Slot.Type.values()) System.out.println(c);
public static Slot.Type valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null