Package be.gaudry.model.eid
Enum Class EidDocumentType
- All Implemented Interfaces:
IEidDocumentType
,Serializable
,Comparable<EidDocumentType>
,Constable
- Author:
- Steph GAUDRY
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescription -
Method Summary
Modifier and TypeMethodDescriptionstatic EidDocumentType
fromCardValue(long cardValue)
static EidDocumentType
fromXMLValue(String xmlNodeValue)
long
getDe()
getEn()
getFr()
getNl()
toString()
static EidDocumentType
Returns 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, valueOf
Methods 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:
toString
in classEnum<EidDocumentType>
-
getEidBackground
- Specified by:
getEidBackground
in interfaceIEidDocumentType
- Returns:
- the eidBackground
-
getEidBackgroundDark
- Specified by:
getEidBackgroundDark
in interfaceIEidDocumentType
- Returns:
- the eidBackgroundDark
-
getEidTextForeground
- Specified by:
getEidTextForeground
in interfaceIEidDocumentType
- Returns:
- the eidTextForeground
-
getEidInputBackground
- Specified by:
getEidInputBackground
in interfaceIEidDocumentType
- Returns:
- the eidInputBackground
-
getFr
- Specified by:
getFr
in interfaceIEidDocumentType
- Returns:
- the fr
-
getEn
- Specified by:
getEn
in interfaceIEidDocumentType
- Returns:
- the en
-
getNl
- Specified by:
getNl
in interfaceIEidDocumentType
- Returns:
- the nl
-
getDe
- Specified by:
getDe
in interfaceIEidDocumentType
- Returns:
- the de
-
getXmlNodeValue
- Specified by:
getXmlNodeValue
in interfaceIEidDocumentType
- Returns:
- the xmlNodeValue
-
getCardValue
public long getCardValue()- Specified by:
getCardValue
in interfaceIEidDocumentType
- Returns:
- the cardValue
-
getLongTitle
- Specified by:
getLongTitle
in interfaceIEidDocumentType
- Returns:
- the longTitle
-
getLocalizedName
- Specified by:
getLocalizedName
in interfaceIEidDocumentType
- Returns:
- the name in the default Locale, or in English
-
fromXMLValue
-
fromCardValue
-