public static enum Field.FieldType extends java.lang.Enum<Field.FieldType>
Enum Constant and Description |
---|
ATOM
An indivisible text content.
|
DATE
A Date with no time component.
|
GEO_POINT
Geographical coordinates of a point, in WGS84.
|
HTML
HTML content.
|
NUMBER
Double precision floating-point number.
|
TEXT
Text content.
|
Modifier and Type | Method and Description |
---|---|
static
Field.FieldType
|
valueOf
(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static
Field.FieldType
[]
|
values
()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Field.FieldType TEXT
public static final Field.FieldType HTML
public static final Field.FieldType ATOM
public static final Field.FieldType DATE
public static final Field.FieldType NUMBER
public static final Field.FieldType GEO_POINT
public static Field.FieldType[] values()
for (Field.FieldType c : Field.FieldType.values()) System.out.println(c);
public static Field.FieldType 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 name
java.lang.NullPointerException
- if the argument is null