Package de.tsenger.vdstools.idb
Enum IdbMessageType
- java.lang.Object
-
- java.lang.Enum<IdbMessageType>
-
- de.tsenger.vdstools.idb.IdbMessageType
-
- All Implemented Interfaces:
Serializable,Comparable<IdbMessageType>
public enum IdbMessageType extends Enum<IdbMessageType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CANDIGITALTRAVEL_AUTHORIZATIONEF_CARDACCESSEMERGENCY_TRAVEL_DOCUMENTMRZ_TD1MRZ_TD3PROOF_OF_RECOVERYPROOF_OF_TESTINGPROOF_OF_VACCINATIONVISA
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description bytegetValue()static IdbMessageTypevalueOf(byte messageTag)Returns the enum constant of this type with the specified name.static IdbMessageTypevalueOf(String name)Returns the enum constant of this type with the specified name.static IdbMessageType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
VISA
public static final IdbMessageType VISA
-
EMERGENCY_TRAVEL_DOCUMENT
public static final IdbMessageType EMERGENCY_TRAVEL_DOCUMENT
-
PROOF_OF_TESTING
public static final IdbMessageType PROOF_OF_TESTING
-
PROOF_OF_VACCINATION
public static final IdbMessageType PROOF_OF_VACCINATION
-
PROOF_OF_RECOVERY
public static final IdbMessageType PROOF_OF_RECOVERY
-
DIGITALTRAVEL_AUTHORIZATION
public static final IdbMessageType DIGITALTRAVEL_AUTHORIZATION
-
MRZ_TD1
public static final IdbMessageType MRZ_TD1
-
MRZ_TD3
public static final IdbMessageType MRZ_TD3
-
CAN
public static final IdbMessageType CAN
-
EF_CARDACCESS
public static final IdbMessageType EF_CARDACCESS
-
-
Method Detail
-
values
public static IdbMessageType[] 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 (IdbMessageType c : IdbMessageType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static IdbMessageType 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
-
valueOf
public static IdbMessageType valueOf(byte messageTag)
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:
messageTag- 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
-
getValue
public byte getValue()
-
-