Package com.gemalto.mfs.mwsdk.dcm
Enum Aid.LockStatus
- java.lang.Object
-
- java.lang.Enum<Aid.LockStatus>
-
- com.gemalto.mfs.mwsdk.dcm.Aid.LockStatus
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<Aid.LockStatus>
- Enclosing interface:
- Aid
public static enum Aid.LockStatus extends java.lang.Enum<Aid.LockStatus>
The enum class for Aid lock status.- Since:
- 6.3.1
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
toString()
String representation of the Enum.static Aid.LockStatus
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static Aid.LockStatus[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
LOCKED
public static final Aid.LockStatus LOCKED
AID is locked, SDK will response to POS with status word 6A81.
-
UNLOCKED
public static final Aid.LockStatus UNLOCKED
AID is unlocked, and will work as usual.
-
-
Method Detail
-
values
public static Aid.LockStatus[] 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 (Aid.LockStatus c : Aid.LockStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Aid.LockStatus valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
toString
public java.lang.String toString()
String representation of the Enum.- Overrides:
toString
in classjava.lang.Enum<Aid.LockStatus>
- Returns:
- String representation of the Enum.
-
-