Enum Class RfidReaderType
- All Implemented Interfaces:
Serializable,Comparable<RfidReaderType>,Constable
Different types of readers can read different ranges.
- Version:
- 2023-09-14
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic RfidReaderTypefromZoneId(int zoneId) Return the reader type from the zoneId.intReturn the zone id the reader type: NONE = 0 GX = 1 EU = 2 UNIVERSAL = 3 return the zonebooleanisCompatible(RfidReaderType otherType) Return true if the specified type is compatible with this type.static RfidReaderTypeReturns the enum constant of this class with the specified name.static RfidReaderType[]values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
NONE
-
GX
-
EU
-
UNIVERSAL
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
getZoneId
public int getZoneId()Return the zone id the reader type: NONE = 0 GX = 1 EU = 2 UNIVERSAL = 3 return the zone -
isCompatible
Return true if the specified type is compatible with this type. -
fromZoneId
Return the reader type from the zoneId.
-