Package io.scanbot.ehicscanner.model
Enum EhicFieldType
-
- All Implemented Interfaces:
-
java.io.Serializable
,kotlin.Comparable
public enum EhicFieldType extends Enum<EhicFieldType>
EHIC field type.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description SURNAME
Field 3: surname
GIVEN_NAME
Field 4: given names
DATE_OF_BIRTH
Field 5: date of birth
PERSONAL_IDENTIFICATION_NUMBER
Field 6: personal identification number
INSTITUTION_NUMBER
Field 7 (part before dash): institution number
INSTITUTION_NAME
Field 7 (part after dash): institution name or abbreviation
CARD_NUMBER
Field 8: card number
CARD_EXPIRATION_DATE
Field 9: card expiration date
COUNTRY
Field: Country
-
Method Summary
Modifier and Type Method Description final EhicFieldType
valueOf(String value)
Returns the enum constant of this type with the specified name. final Array<EhicFieldType>
values()
Returns an array containing the constants of this enum type, in the order they're declared. -
-
Method Detail
-
valueOf
final EhicFieldType valueOf(String value)
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.)
-
values
final Array<EhicFieldType> values()
Returns an array containing the constants of this enum type, in the order they're declared.
This method may be used to iterate over the constants.
-
-
-
-