public enum DCBCommand extends java.lang.Enum<DCBCommand> implements BaseEnum, Command
Enum Constant and Description |
---|
ERASE_CONFIG_REQ |
ERASE_CONFIG_RES |
QUERY_STATUS_REQ |
QUERY_STATUS_RES |
READ_CONFIG_REQ |
READ_CONFIG_RES |
REF |
WRITE_CONFIG_REQ |
WRITE_CONFIG_RES |
Modifier and Type | Method and Description |
---|---|
static DCBCommand |
getEnum(byte[] data) |
byte[] |
getID() |
DCBCommand |
getRefEnum(byte[] data) |
java.lang.String |
toString() |
static DCBCommand |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DCBCommand[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DCBCommand REF
public static final DCBCommand READ_CONFIG_REQ
public static final DCBCommand READ_CONFIG_RES
public static final DCBCommand WRITE_CONFIG_REQ
public static final DCBCommand WRITE_CONFIG_RES
public static final DCBCommand ERASE_CONFIG_REQ
public static final DCBCommand ERASE_CONFIG_RES
public static final DCBCommand QUERY_STATUS_REQ
public static final DCBCommand QUERY_STATUS_RES
public static DCBCommand[] values()
for (DCBCommand c : DCBCommand.values()) System.out.println(c);
public static DCBCommand 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 static DCBCommand getEnum(byte[] data)
public DCBCommand getRefEnum(byte[] data)
getRefEnum
in interface BaseEnum
public byte[] getID()
public java.lang.String toString()
toString
in class java.lang.Enum<DCBCommand>