public final enum

RfidLockType

extends Enum<E extends Enum<E>>
java.lang.Object
   ↳ java.lang.Enum<E extends java.lang.Enum<E>>
     ↳ com.datalogic.device.rfid.RfidLockType

Class Overview

Enum RfidLockType defines how a specific RFID tag object (memory bank or password) is locked.

This enum describes the *lock state* applied to a target identified by RfidLockObject. Lock types control whether a region is writable, requires access password authorization, or is permanently locked.

Permanent lock states are irreversible for the lifetime of the tag.

Summary

Enum Values
RfidLockType  LOCK  Locked state (password-protected). 
RfidLockType  PERMANENT_LOCK  Permanently locked state. 
RfidLockType  PERMANENT_UNLOCK  Permanently unlocked state. 
RfidLockType  UNLOCK  Unlocked state. 
Public Methods
static RfidLockType fromInt(int n)
Retrieves the corresponding RfidLockType value from a valid integer.
int toInt()
Converts a RfidLockType to its corresponding integer value.
static RfidLockType valueOf(String name)
final static RfidLockType[] values()
[Expand]
Inherited Methods
From class java.lang.Enum
From class java.lang.Object
From interface java.lang.Comparable

Enum Values

public static final RfidLockType LOCK

Added in revision 50

Locked state (password-protected).

- Passwords: readable and writable only after successful access password authentication.

- Memory banks: writable only with the correct access password.

This state is reversible unless a permanent lock is applied.

public static final RfidLockType PERMANENT_LOCK

Added in revision 50

Permanently locked state.

- Passwords: permanently unreadable and unwritable.

- Memory banks: permanently unwritable.

This state enforces maximum protection and is irreversible.

public static final RfidLockType PERMANENT_UNLOCK

Added in revision 50

Permanently unlocked state.

- Passwords: permanently readable and writable.

- Memory banks: permanently writable.

This state cannot be changed afterward.

public static final RfidLockType UNLOCK

Added in revision 50

Unlocked state.

- Passwords: readable and writable without restrictions.

- Memory banks: writable without access password protection.

Public Methods

public static RfidLockType fromInt (int n)

Added in revision 50

Retrieves the corresponding RfidLockType value from a valid integer.

Parameters
n int
Returns
  • RfidLockType the corresponding one.

public int toInt ()

Added in revision 50

Converts a RfidLockType to its corresponding integer value.

Returns
  • int

public static RfidLockType valueOf (String name)

Added in revision 50

public static final RfidLockType[] values ()

Added in revision 50