be.fedict.eid.applet.service
Enum DocumentType

java.lang.Object
  extended by java.lang.Enum<DocumentType>
      extended by be.fedict.eid.applet.service.DocumentType
All Implemented Interfaces:
Serializable, Comparable<DocumentType>

public enum DocumentType
extends Enum<DocumentType>
implements Serializable

Enumeration for eID Document Type.

Author:
Frank Cornelis

Enum Constant Summary
BELGIAN_CITIZEN
           
BOOTSTRAP_CARD
           
FOREIGNER_A
           
FOREIGNER_B
           
FOREIGNER_C
           
FOREIGNER_D
           
FOREIGNER_E
           
FOREIGNER_E_PLUS
           
FOREIGNER_F
           
FOREIGNER_F_PLUS
           
HABILITATION_CARD
           
KIDS_CARD
           
 
Method Summary
static DocumentType toDocumentType(byte[] value)
           
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
clone, compareTo, equals, finalize, 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

KIDS_CARD

public static final DocumentType KIDS_CARD

BOOTSTRAP_CARD

public static final DocumentType BOOTSTRAP_CARD

HABILITATION_CARD

public static final DocumentType HABILITATION_CARD

FOREIGNER_A

public static final DocumentType FOREIGNER_A

FOREIGNER_B

public static final DocumentType FOREIGNER_B

FOREIGNER_C

public static final DocumentType FOREIGNER_C

FOREIGNER_D

public static final DocumentType FOREIGNER_D

FOREIGNER_E

public static final DocumentType FOREIGNER_E

FOREIGNER_E_PLUS

public static final DocumentType FOREIGNER_E_PLUS

FOREIGNER_F

public static final DocumentType FOREIGNER_F

FOREIGNER_F_PLUS

public static final DocumentType FOREIGNER_F_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

toDocumentType

public static DocumentType toDocumentType(byte[] value)


Copyright © 2008-2010 FedICT. All Rights Reserved.