public enum InventoryDataFormat extends Enum<InventoryDataFormat>
| Enum Constant and Description |
|---|
antennaId |
epc |
frequency |
pc |
phase |
rn16 |
rssi |
tid |
timestamp |
userSpecifiedMemory |
| Modifier and Type | Method and Description |
|---|---|
static InventoryDataFormat |
fromValue(int code)
Returns the InventoryDataFormat corresponding to the given code.
|
int |
getCode() |
String |
toString() |
static InventoryDataFormat |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static InventoryDataFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InventoryDataFormat epc
public static final InventoryDataFormat pc
public static final InventoryDataFormat rssi
public static final InventoryDataFormat antennaId
public static final InventoryDataFormat tid
public static final InventoryDataFormat userSpecifiedMemory
public static final InventoryDataFormat phase
public static final InventoryDataFormat frequency
public static final InventoryDataFormat timestamp
public static final InventoryDataFormat rn16
public static InventoryDataFormat[] values()
for (InventoryDataFormat c : InventoryDataFormat.values()) System.out.println(c);
public static InventoryDataFormat 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 getCode()
public String toString()
toString in class Enum<InventoryDataFormat>public static InventoryDataFormat fromValue(int code)
code - the code of the InventoryDataFormatIllegalArgumentException - if no InventoryDataFormat with the given code exists