public enum FieldType extends Enum<FieldType> implements INumberEnum<Short>
Enum Constant and Description |
---|
AUTHORS |
COLORCTL |
ERROR |
FORMULA |
KEYWORDS |
NAMES |
NUMBER |
PASSWORD |
READERS |
RICH_TEXT |
SECTION |
TEXT |
TIME |
TIMEZONE |
Modifier and Type | Method and Description |
---|---|
long |
getLongValue() |
Short |
getValue() |
static FieldType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FieldType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FieldType ERROR
public static final FieldType NUMBER
public static final FieldType TIME
public static final FieldType RICH_TEXT
public static final FieldType AUTHORS
public static final FieldType READERS
public static final FieldType NAMES
public static final FieldType KEYWORDS
public static final FieldType TEXT
public static final FieldType SECTION
public static final FieldType PASSWORD
public static final FieldType FORMULA
public static final FieldType TIMEZONE
public static final FieldType COLORCTL
public static FieldType[] values()
for (FieldType c : FieldType.values()) System.out.println(c);
public static FieldType 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 Short getValue()
getValue
in interface INumberEnum<Short>
public long getLongValue()
getLongValue
in interface INumberEnum<Short>
long
Copyright © 2014–2018. All rights reserved.