public static enum CommandTypes.GenericType.Values extends Enum<CommandTypes.GenericType.Values>
enum
representing this enumeration class.
Ordinals have no semantic meaning (your code should not rely on them).
Enum Constant and Description |
---|
_UNKNOWN
Special
enum constant which is used to represent constants
that do not exist in this enumeration binding. |
LIST
Represents
CommandTypes.GenericType.LIST . |
LIST_OPTIONAL
Represents
CommandTypes.GenericType.LIST_OPTIONAL . |
NONE
Represents
CommandTypes.GenericType.NONE . |
OPTIONAL
Represents
CommandTypes.GenericType.OPTIONAL . |
OPTIONAL_LIST
Represents
CommandTypes.GenericType.OPTIONAL_LIST . |
Modifier and Type | Method and Description |
---|---|
static CommandTypes.GenericType.Values |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CommandTypes.GenericType.Values[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CommandTypes.GenericType.Values NONE
CommandTypes.GenericType.NONE
.public static final CommandTypes.GenericType.Values OPTIONAL
CommandTypes.GenericType.OPTIONAL
.public static final CommandTypes.GenericType.Values LIST
CommandTypes.GenericType.LIST
.public static final CommandTypes.GenericType.Values OPTIONAL_LIST
CommandTypes.GenericType.OPTIONAL_LIST
.public static final CommandTypes.GenericType.Values LIST_OPTIONAL
CommandTypes.GenericType.LIST_OPTIONAL
.public static final CommandTypes.GenericType.Values _UNKNOWN
enum
constant which is used to represent constants
that do not exist in this enumeration binding. For example if a
client receives an enumeration constant that only exists in the
newer version of the API of the server, the client source code will
see it represented by _UNKNOWN
constant, because its version
of the native Java enum
lacks the new constant.public static CommandTypes.GenericType.Values[] values()
for (CommandTypes.GenericType.Values c : CommandTypes.GenericType.Values.values()) System.out.println(c);
public static CommandTypes.GenericType.Values 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 nullCopyright © 2016. All Rights Reserved.