Enum Class UserIdType

java.lang.Object
java.lang.Enum<UserIdType>
net.commuty.parking.model.UserIdType
All Implemented Interfaces:
Serializable, Comparable<UserIdType>, Constable

public enum UserIdType extends Enum<UserIdType>

This indicates what is the type of the user identifier.

A parking user is known to Commuty via one or more identifiers. Each identifier has a specific type (i.e. the identifier is an email, a number plate,...)

If the identifier type is not known by the client (for instance when the client is used against a newer version of the api), the the type will be shown as UNKNOWN.

  • Enum Constant Details

    • EMAIL

      public static final UserIdType EMAIL
    • LICENSE_PLATE

      public static final UserIdType LICENSE_PLATE
    • IDENTIFICATION_NUMBER

      public static final UserIdType IDENTIFICATION_NUMBER
    • QR_CODE

      public static final UserIdType QR_CODE
    • BADGE_NUMBER

      public static final UserIdType BADGE_NUMBER
    • CARDHOLDER_ID

      public static final UserIdType CARDHOLDER_ID
    • PIN_CODE

      public static final UserIdType PIN_CODE
    • LICENSE_PLATE_WIM64

      public static final UserIdType LICENSE_PLATE_WIM64
    • COMMUTY_EXTERNAL_ID

      public static final UserIdType COMMUTY_EXTERNAL_ID
    • COMMUTY_LABEL

      public static final UserIdType COMMUTY_LABEL
    • ACCESS_CODE

      public static final UserIdType ACCESS_CODE
    • LICENSE_PLATE_WIM26_AS_DECIMAL_CODE

      public static final UserIdType LICENSE_PLATE_WIM26_AS_DECIMAL_CODE
    • LICENSE_PLATE_WIM26_AS_FACILITY_AND_ID_CODE

      public static final UserIdType LICENSE_PLATE_WIM26_AS_FACILITY_AND_ID_CODE
    • UNKNOWN

      public static final UserIdType UNKNOWN
  • Method Details

    • values

      public static UserIdType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static UserIdType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null