public enum ServerVariableDataType extends Enum<ServerVariableDataType>
| Enum Constant and Description |
|---|
BOOLEAN |
CHOICE |
COLOR |
INTEGER |
STRING |
| Modifier and Type | Method and Description |
|---|---|
static ServerVariableDataType |
getByCode(char code) |
static ServerVariableDataType |
getByValue(int value)
Get enum element by integer value
|
int |
getValue()
Get integer value
|
static ServerVariableDataType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ServerVariableDataType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ServerVariableDataType STRING
public static final ServerVariableDataType BOOLEAN
public static final ServerVariableDataType INTEGER
public static final ServerVariableDataType CHOICE
public static final ServerVariableDataType COLOR
public static ServerVariableDataType[] values()
for (ServerVariableDataType c : ServerVariableDataType.values()) System.out.println(c);
public static ServerVariableDataType 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 int getValue()
public static ServerVariableDataType getByValue(int value)
value - integer valuepublic static ServerVariableDataType getByCode(char code)
Copyright © 2017. All rights reserved.