public enum FieldType extends Enum<FieldType>
| Enum Constant and Description |
|---|
COMPONENTLINK |
DATE |
EMBEDDED |
EXTERNALLINK |
KEYWORD |
MULTILINETEXT |
MULTIMEDIALINK |
NUMBER |
TEXT |
UNKNOWN |
XHTML |
| Modifier and Type | Method and Description |
|---|---|
static FieldType |
findByName(String name) |
static FieldType |
findByValue(int value) |
int |
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 TEXT
public static final FieldType MULTILINETEXT
public static final FieldType XHTML
public static final FieldType KEYWORD
public static final FieldType EMBEDDED
public static final FieldType MULTIMEDIALINK
public static final FieldType COMPONENTLINK
public static final FieldType EXTERNALLINK
public static final FieldType NUMBER
public static final FieldType DATE
public static final FieldType UNKNOWN
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 static FieldType findByValue(int value)
public int getValue()
Copyright © 2017. All rights reserved.