public static enum Field.Type extends Enum<Field.Type>
Enum Constant and Description |
---|
BINARY |
BOOLEAN |
BYTE |
DATE |
DOUBLE |
FLOAT |
INTEGER |
LONG |
NESTED |
SHORT |
STRING |
UNKNOWN |
Modifier and Type | Method and Description |
---|---|
static Field.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Field.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Field.Type NESTED
public static final Field.Type STRING
public static final Field.Type DATE
public static final Field.Type LONG
public static final Field.Type INTEGER
public static final Field.Type SHORT
public static final Field.Type BYTE
public static final Field.Type DOUBLE
public static final Field.Type FLOAT
public static final Field.Type BOOLEAN
public static final Field.Type BINARY
public static final Field.Type UNKNOWN
public static Field.Type[] values()
for (Field.Type c : Field.Type.values()) System.out.println(c);
public static Field.Type 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 nullCopyright © 2015–2016 IBM Watson. All rights reserved.