public enum DeviceType extends java.lang.Enum<DeviceType>
| Enum Constant and Description |
|---|
MS633 |
MS633LR |
MS652_Plus |
MS822B |
MS852P |
SL220 |
unknown |
| Modifier and Type | Method and Description |
|---|---|
static DeviceType |
fromName(java.lang.String name)
Returns the DeviceType enum corresponding to the given string name.
|
int |
getCode()
Returns the integer code of the device type.
|
byte[] |
toStagingBarcode()
Returns the staging barcode corresponding to the device type.
|
java.lang.String |
toString()
Returns the string representation of the device type.
|
int |
value()
Returns the integer value of the device type.
|
static DeviceType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DeviceType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DeviceType unknown
public static final DeviceType MS852P
public static final DeviceType MS652_Plus
public static final DeviceType MS822B
public static final DeviceType SL220
public static final DeviceType MS633
public static final DeviceType MS633LR
public static DeviceType[] values()
for (DeviceType c : DeviceType.values()) System.out.println(c);
public static DeviceType 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 value()
public int getCode()
public java.lang.String toString()
toString in class java.lang.Enum<DeviceType>public static DeviceType fromName(java.lang.String name)
name - The string name to match against the DeviceType enum values.public byte[] toStagingBarcode()