be.ehealth.technicalconnector.beid.domain

## Enum DocumentType

- java.lang.Object
- - java.lang.Enum<DocumentType>
  - - be.ehealth.technicalconnector.beid.domain.DocumentType

- All Implemented Interfaces:
    Serializable, Comparable<DocumentType>

      public enum DocumentType
      extends Enum<DocumentType>
      implements Serializable

  DocumentType enumeration (type associated with the id card)

- - ### Enum Constant Summary

    Enum Constants
    Enum Constant and Description
    `BELGIAN_CITIZEN` Belgian citizen
    `BOOTSTRAP_CARD` Bootstrap card
    `EUROPEAN_BLUE_CARD_H` European blue card H
    `FOREIGNER_A` Foreigner A
    `FOREIGNER_B` Foreigner B
    `FOREIGNER_C` Foreigner C
    `FOREIGNER_D` Foreigner D
    `FOREIGNER_E` Foreigner E
    `FOREIGNER_E_PLUS` Foreigner E+
    `FOREIGNER_EU`
    `FOREIGNER_EU_PLUS`
    `FOREIGNER_F` Foreigner F
    `FOREIGNER_F_PLUS` Foreigner F+
    `FOREIGNER_I`
    `FOREIGNER_J`
    `FOREIGNER_M`
    `FOREIGNER_N`
    `HABILITATION_CARD` Habilitation card
    `KIDS_CARD` Kids card

  - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `int` | `getKey()`
    `static DocumentType` | `toDocumentType(byte[] value)` Transforms a byte array into a Document type
    `static String` | `toString(byte[] documentTypeValue)` Transforms a byte array into a String
    `static DocumentType` | `valueOf(String name)` Returns the enum constant of this type with the specified name.
    `static DocumentType[]` | `values()` Returns an array containing the constants of this enum type, in the order they are declared.

    - ### Methods inherited from class java.lang.Enum

      `compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf`

    - ### Methods inherited from class java.lang.Object

      `getClass, notify, notifyAll, wait, wait, wait`

- - ### Enum Constant Detail

    - #### BELGIAN_CITIZEN

          public static final DocumentType BELGIAN_CITIZEN

      Belgian citizen

    - #### KIDS_CARD

          public static final DocumentType KIDS_CARD

      Kids card

    - #### BOOTSTRAP_CARD

          public static final DocumentType BOOTSTRAP_CARD

      Bootstrap card

    - #### HABILITATION_CARD

          public static final DocumentType HABILITATION_CARD

      Habilitation card

    - #### FOREIGNER_A

          public static final DocumentType FOREIGNER_A

      Foreigner A

    - #### FOREIGNER_B

          public static final DocumentType FOREIGNER_B

      Foreigner B

    - #### FOREIGNER_C

          public static final DocumentType FOREIGNER_C

      Foreigner C

    - #### FOREIGNER_D

          public static final DocumentType FOREIGNER_D

      Foreigner D

    - #### FOREIGNER_E

          public static final DocumentType FOREIGNER_E

      Foreigner E

    - #### FOREIGNER_E_PLUS

          public static final DocumentType FOREIGNER_E_PLUS

      Foreigner E+

    - #### FOREIGNER_F

          public static final DocumentType FOREIGNER_F

      Foreigner F

    - #### FOREIGNER_F_PLUS

          public static final DocumentType FOREIGNER_F_PLUS

      Foreigner F+

    - #### EUROPEAN_BLUE_CARD_H

          public static final DocumentType EUROPEAN_BLUE_CARD_H

      European blue card H

    - #### FOREIGNER_I

          public static final DocumentType FOREIGNER_I

    - #### FOREIGNER_J

          public static final DocumentType FOREIGNER_J

    - #### FOREIGNER_M

          public static final DocumentType FOREIGNER_M

    - #### FOREIGNER_N

          public static final DocumentType FOREIGNER_N

    - #### FOREIGNER_EU

          public static final DocumentType FOREIGNER_EU

    - #### FOREIGNER_EU_PLUS

          public static final DocumentType FOREIGNER_EU_PLUS

  - ### Method Detail

    - #### values

          public static DocumentType[] 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 (DocumentType c : DocumentType.values())
              System.out.println(c);

      Returns:
        an array containing the constants of this enum type, in the order they are declared

    - #### valueOf

          public static DocumentType 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 name
        `NullPointerException` - if the argument is null

    - #### getKey

          public int getKey()

      Returns:
        the key

    - #### toDocumentType

          public static DocumentType toDocumentType(byte[] value)

      Transforms a byte array into a Document type
      Parameters:
        `value` - the byte array
      Returns:
        the document type

    - #### toString

          public static String toString(byte[] documentTypeValue)

      Transforms a byte array into a String
      Parameters:
        `documentTypeValue` - the byte array
      Returns:
        the string

Connector Packaging TECHNICAL 4.2.0 API
Copyright © {inceptionYear}-2022 eHealth. All Rights Reserved.