public enum RangeTableColumnType extends java.lang.Enum<RangeTableColumnType>
RangeTableColumnModel| Enum Constant and Description |
|---|
NUMBER
1: Type of number
|
STRING
0: Type of string
|
| Modifier and Type | Method and Description |
|---|---|
int |
getId()
Returns the identifier of the type.
|
java.lang.String |
getPrettyName()
Gets the name of the type.
|
static RangeTableColumnType |
getValueTypeFromId(int id)
Gets the type corresponding to the identifier.
|
static RangeTableColumnType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RangeTableColumnType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RangeTableColumnType STRING
public static final RangeTableColumnType NUMBER
public static RangeTableColumnType[] values()
for (RangeTableColumnType c : RangeTableColumnType.values()) System.out.println(c);
public static RangeTableColumnType 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 getPrettyName()
public static final RangeTableColumnType getValueTypeFromId(int id)
id - The identifier of the type