public enum ReaderModel extends java.lang.Enum<ReaderModel>
Enum Constant and Description |
---|
SpeedwayR120
Speedway R120
|
SpeedwayR220
Speedway R220
|
SpeedwayR420
Speedway R420
|
Unknown
Unknown reader type
|
XArray
xArray
|
XArrayEAP
xArrayEAP
|
XArrayWM
xArrayWM
|
XPortal
xPortal
|
XSpan
xSpan
|
Modifier and Type | Method and Description |
---|---|
int |
getValue() |
boolean |
isSpatialReader()
Detects if the connected reader is a reader with direction or location role capabilities (xArray or xSpan).
|
boolean |
isXArray()
Detects if the connected reader is an xArray.
|
static ReaderModel |
valueOf(int modelNumber) |
static ReaderModel |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ReaderModel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ReaderModel Unknown
public static final ReaderModel SpeedwayR220
public static final ReaderModel SpeedwayR420
public static final ReaderModel XPortal
public static final ReaderModel XArrayWM
public static final ReaderModel XArrayEAP
public static final ReaderModel XArray
public static final ReaderModel XSpan
public static final ReaderModel SpeedwayR120
public static ReaderModel[] values()
for (ReaderModel c : ReaderModel.values()) System.out.println(c);
public static ReaderModel 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 ReaderModel valueOf(int modelNumber)
modelNumber
- the reader model numberpublic int getValue()
public boolean isSpatialReader()
public boolean isXArray()