Package com.caen.RFIDLibrary
Enum CAENRFIDTag.MemBanks
- java.lang.Object
-
- java.lang.Enum<CAENRFIDTag.MemBanks>
-
- com.caen.RFIDLibrary.CAENRFIDTag.MemBanks
-
- All Implemented Interfaces:
Serializable,Comparable<CAENRFIDTag.MemBanks>
- Enclosing class:
- CAENRFIDTag
public static enum CAENRFIDTag.MemBanks extends Enum<CAENRFIDTag.MemBanks>
This enum defines the memory banks ids.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description shortgetBankNum()Gets the number associated to the memory bank.static CAENRFIDTag.MemBanksvalueOf(String name)Returns the enum constant of this type with the specified name.static CAENRFIDTag.MemBanks[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
RESERVED
public static final CAENRFIDTag.MemBanks RESERVED
Reserved memory bank. It contains the Kill password and Access Password memory area.
-
EPC
public static final CAENRFIDTag.MemBanks EPC
The EPC memory bank. It's meant to contain the main identificator sequence for the tracking of the real-world object where the tag is mount/applied, along with Protocol Control Word and other optional information.
-
TID
public static final CAENRFIDTag.MemBanks TID
The Tag Identificator memory area. In this area you could find production info about the manufacturer of the tag, along with other optional info. Tag manufacturer often duplicate the TID memory on EPC memory bank.
-
USER
public static final CAENRFIDTag.MemBanks USER
User memory bank (Optional). Typical use is the storage of a little portion of information about the thing where the tag is applied, but in some cases it's intended for different usage. Check the tag's user/reference manual or relative datasheet.
-
-
Method Detail
-
values
public static CAENRFIDTag.MemBanks[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (CAENRFIDTag.MemBanks c : CAENRFIDTag.MemBanks.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CAENRFIDTag.MemBanks valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getBankNum
public short getBankNum()
Gets the number associated to the memory bank.- Returns:
- A short to use with Bank parameters where applicable.
-
-