Package be.gaudry.model.eid
Enum Class EidDocumentType
- All Implemented Interfaces:
IEidDocumentType,Serializable,Comparable<EidDocumentType>,Constable
- Author:
- Steph GAUDRY
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Method Summary
Modifier and TypeMethodDescriptionstatic EidDocumentTypefromCardValue(long cardValue)static EidDocumentTypefromXMLValue(String xmlNodeValue)longgetDe()getEn()getFr()getNl()toString()static EidDocumentTypeReturns the enum constant of this class with the specified name.static EidDocumentType[]values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOfMethods inherited from interface be.gaudry.model.eid.IEidDocumentType
name
-
Enum Constant Details
-
GENERIC
-
BELGIAN_CITIZEN
-
KIDS_CARD
-
BOOTSTRAP_CARD
-
HABILITATION_CARD
-
FOREIGNER_A
-
FOREIGNER_B
-
FOREIGNER_C
-
FOREIGNER_D
-
FOREIGNER_E
-
FOREIGNER_E_PLUS
-
FOREIGNER_F
-
FOREIGNER_F_PLUS
-
EUROPEAN_BLUE_CARD_H
-
ICT_I
-
MOBILE_ICT_J
-
FOREIGNER_M
-
FOREIGNER_N
-
FOREIGNER_K
-
FOREIGNER_L
-
FOREIGNER_EU
-
FOREIGNER_EU_PLUS
-
FOREIGNER_A_2021
-
FOREIGNER_B_2021
-
FOREIGNER_F_2021
-
FOREIGNER_F_PLUS_2021
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-
toString
- Overrides:
toStringin classEnum<EidDocumentType>
-
getEidBackground
- Specified by:
getEidBackgroundin interfaceIEidDocumentType- Returns:
- the eidBackground
-
getEidBackgroundDark
- Specified by:
getEidBackgroundDarkin interfaceIEidDocumentType- Returns:
- the eidBackgroundDark
-
getEidTextForeground
- Specified by:
getEidTextForegroundin interfaceIEidDocumentType- Returns:
- the eidTextForeground
-
getEidInputBackground
- Specified by:
getEidInputBackgroundin interfaceIEidDocumentType- Returns:
- the eidInputBackground
-
getFr
- Specified by:
getFrin interfaceIEidDocumentType- Returns:
- the fr
-
getEn
- Specified by:
getEnin interfaceIEidDocumentType- Returns:
- the en
-
getNl
- Specified by:
getNlin interfaceIEidDocumentType- Returns:
- the nl
-
getDe
- Specified by:
getDein interfaceIEidDocumentType- Returns:
- the de
-
getXmlNodeValue
- Specified by:
getXmlNodeValuein interfaceIEidDocumentType- Returns:
- the xmlNodeValue
-
getCardValue
public long getCardValue()- Specified by:
getCardValuein interfaceIEidDocumentType- Returns:
- the cardValue
-
getLongTitle
- Specified by:
getLongTitlein interfaceIEidDocumentType- Returns:
- the longTitle
-
getLocalizedName
- Specified by:
getLocalizedNamein interfaceIEidDocumentType- Returns:
- the name in the default Locale, or in English
-
fromXMLValue
-
fromCardValue
-