Package be.gaudry.model.eid
Enum Class EidSpecialStatus
- All Implemented Interfaces:
Serializable
,Comparable<EidSpecialStatus>
,Constable
EID version 4.3
Values present on existing cards, but not used anymore
specialstatus="NO_STATUS"
0: No status
1 White cane (blind people)
2: Extended minority
3: White cane + extended minority
4: Yellow cane (partially sighted people)
5: Yellow cane + extended minority
- 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 EidSpecialStatus
get(boolean whitecane, boolean yellowcane, boolean extendedminority)
static EidSpecialStatus
get(be.belgium.eid.objects.IDData beIDData)
boolean
boolean
boolean
static EidSpecialStatus
Returns the enum constant of this class with the specified name.static EidSpecialStatus[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NO_STATUS
-
WHITE_CANE
-
EXTENDED_MINORITY
-
WHITE_CANE_EXTENDED_MINORITY
-
YELLOW_CANE
-
YELLOW_CANE_EXTENDED_MINORITY
-
-
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
-
isWhitecane
public boolean isWhitecane()- Returns:
- the whitecane
-
isYellowcane
public boolean isYellowcane()- Returns:
- the yellowcane
-
isExtendedminority
public boolean isExtendedminority()- Returns:
- the extendedminority
-
get
public static EidSpecialStatus get(boolean whitecane, boolean yellowcane, boolean extendedminority) -
get
-