Enum Constant and Description |
---|
EPC
EPC bank.
|
RESERVED
RESERVED bank.
|
TID
TID bank (read-only).
|
USER
USER Bank.
|
Modifier and Type | Method and Description |
---|---|
static Bank |
fromValue(int value)
Create Bank enum from numeric value.
|
int |
getValue()
Get value of Bank enum.
|
static Bank |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Bank[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Bank RESERVED
public static final Bank EPC
public static final Bank TID
public static final Bank USER
public static Bank[] values()
for (Bank c : Bank.values()) System.out.println(c);
public static Bank 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 getValue()
public static Bank fromValue(int value) throws InvalidParamException
InvalidParamException
- if value is not valid