Package com.thalesgroup.gemalto.d1.card
Enum PhysicalCardSetPinMode
- java.lang.Object
-
- java.lang.Enum<PhysicalCardSetPinMode>
-
- com.thalesgroup.gemalto.d1.card.PhysicalCardSetPinMode
-
- All Implemented Interfaces:
Serializable,Comparable<PhysicalCardSetPinMode>
public enum PhysicalCardSetPinMode extends Enum<PhysicalCardSetPinMode>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PhysicalCardSetPinModefromString(String val)Converts from String to PIN mode.StringtoString()Returns the value as String.static PhysicalCardSetPinModevalueOf(String name)Returns the enum constant of this type with the specified name.static PhysicalCardSetPinMode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NEW
public static final PhysicalCardSetPinMode NEW
-
CONFIRM
public static final PhysicalCardSetPinMode CONFIRM
-
-
Method Detail
-
values
public static PhysicalCardSetPinMode[] 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 (PhysicalCardSetPinMode c : PhysicalCardSetPinMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PhysicalCardSetPinMode 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
-
fromString
@Nullable public static PhysicalCardSetPinMode fromString(String val)
Converts from String to PIN mode.
-
toString
@NonNull public String toString()
Returns the value as String.- Overrides:
toStringin classEnum<PhysicalCardSetPinMode>
-
-