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 SURNAMEField 3: surname
GIVEN_NAMEField 4: given names
DATE_OF_BIRTHField 5: date of birth
PERSONAL_IDENTIFICATION_NUMBERField 6: personal identification number
INSTITUTION_NUMBERField 7 (part before dash): institution number
INSTITUTION_NAMEField 7 (part after dash): institution name or abbreviation
CARD_NUMBERField 8: card number
CARD_EXPIRATION_DATEField 9: card expiration date
COUNTRYField: Country
-
Method Summary
Modifier and Type Method Description final EhicFieldTypevalueOf(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.
-
-
-
-