public static enum IeDoubleCommand.DoubleCommandState extends java.lang.Enum<IeDoubleCommand.DoubleCommandState>
Enum Constant and Description |
---|
NOT_PERMITTED_A |
NOT_PERMITTED_B |
OFF |
ON |
Modifier and Type | Method and Description |
---|---|
int |
getId()
Returns the ID of this DoubleCommandState.
|
static IeDoubleCommand.DoubleCommandState |
getInstance(int id)
Returns the DoubleCommandState that corresponds to the given ID.
|
static IeDoubleCommand.DoubleCommandState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static IeDoubleCommand.DoubleCommandState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IeDoubleCommand.DoubleCommandState NOT_PERMITTED_A
public static final IeDoubleCommand.DoubleCommandState OFF
public static final IeDoubleCommand.DoubleCommandState ON
public static final IeDoubleCommand.DoubleCommandState NOT_PERMITTED_B
public static IeDoubleCommand.DoubleCommandState[] values()
for (IeDoubleCommand.DoubleCommandState c : IeDoubleCommand.DoubleCommandState.values()) System.out.println(c);
public static IeDoubleCommand.DoubleCommandState 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 static IeDoubleCommand.DoubleCommandState getInstance(int id)
null
if no
DoubleCommandState with the given ID exists.id
- the ID