| Enum Constant and Description |
|---|
Checklist |
ColoredList |
Date |
DateTime |
Editor |
Id |
List |
Number |
TextArea |
TextBox |
Unknown |
Url |
UserList |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getDescription() |
int |
getId() |
static DataType |
matches(int dataTypeId) |
static DataType |
matches(java.lang.String dataType) |
static DataType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DataType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DataType Unknown
public static final DataType TextBox
public static final DataType TextArea
public static final DataType List
public static final DataType Date
public static final DataType UserList
public static final DataType Editor
public static final DataType Number
public static final DataType Checklist
public static final DataType DateTime
public static final DataType Id
public static final DataType Url
public static final DataType ColoredList
public static DataType[] values()
for (DataType c : DataType.values()) System.out.println(c);
public static DataType 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 nullpublic int getId()
public java.lang.String getDescription()
public static DataType matches(java.lang.String dataType)
dataType - dataTypepublic static DataType matches(int dataTypeId)
dataTypeId - dataTypeId