Package com.iland.core.api.user
Enum Class Country
- All Implemented Interfaces:
Serializable,Comparable<Country>,Constable
Enum for country codes.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiongetCcn3()Get ccn3 code.static CountrygetCountryByFullname(String fullname) Gets aCountryby it's fullname.Get the friendly name of the country.static CountryReturns the enum constant of this class with the specified name.static Country[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
AF
-
AX
-
AL
-
DZ
-
AS
-
AD
-
AO
-
AI
-
AQ
-
AG
-
AR
-
AM
-
AW
-
AU
-
AT
-
AZ
-
BS
-
BH
-
BD
-
BB
-
BY
-
BE
-
BZ
-
BJ
-
BM
-
BT
-
BO
-
BQ
-
BA
-
BW
-
BV
-
BR
-
IO
-
VG
-
BN
-
BG
-
BF
-
BI
-
KH
-
CM
-
CA
-
CV
-
KY
-
CF
-
TD
-
CL
-
CN
-
CX
-
CC
-
CO
-
KM
-
CG
-
CD
-
CK
-
CR
-
CI
-
HR
-
CU
-
CW
-
CY
-
CZ
-
DK
-
DJ
-
DM
-
DO
-
EC
-
EG
-
SV
-
GQ
-
ER
-
EE
-
ET
-
FK
-
FO
-
FJ
-
FI
-
FR
-
GF
-
PF
-
TF
-
GA
-
GM
-
GE
-
DE
-
GH
-
GI
-
GR
-
GL
-
GD
-
GP
-
GU
-
GT
-
GG
-
GN
-
GW
-
GY
-
HT
-
HM
-
VA
-
HN
-
HK
-
HU
-
IS
-
IN
-
ID
-
IR
-
IQ
-
IE
-
IM
-
IL
-
IT
-
JM
-
JP
-
JE
-
JO
-
KZ
-
KE
-
KI
-
KW
-
KG
-
LA
-
LV
-
LB
-
LS
-
LR
-
LY
-
LI
-
LT
-
LU
-
MO
-
MK
-
MG
-
MW
-
MY
-
MV
-
ML
-
MT
-
MH
-
MQ
-
MR
-
MU
-
YT
-
MX
-
FM
-
MD
-
MC
-
MN
-
ME
-
MS
-
MA
-
MZ
-
MM
-
NA
-
NR
-
NP
-
NL
-
NC
-
NZ
-
NI
-
NE
-
NG
-
NU
-
NF
-
KP
-
MP
-
NO
-
OM
-
PK
-
PW
-
PS
-
PA
-
PG
-
PY
-
PE
-
PH
-
PN
-
PL
-
PT
-
PR
-
QA
-
XK
-
RE
-
RO
-
RU
-
RW
-
BL
-
SH
-
KN
-
LC
-
MF
-
PM
-
VC
-
WS
-
SM
-
ST
-
SA
-
SN
-
RS
-
SC
-
SL
-
SG
-
SX
-
SK
-
SI
-
SB
-
SO
-
ZA
-
GS
-
KR
-
SS
-
ES
-
LK
-
SD
-
SR
-
SJ
-
SZ
-
SE
-
CH
-
SY
-
TW
-
TJ
-
TZ
-
TH
-
TL
-
TG
-
TK
-
TO
-
TT
-
TN
-
TR
-
TM
-
TC
-
TV
-
UG
-
UA
-
AE
-
GB
-
US
-
UM
-
VI
-
UY
-
UZ
-
VU
-
VE
-
VN
-
WF
-
EH
-
YE
-
ZM
-
ZW
-
-
Field Details
-
ID_FIELD
- See Also:
-
CCN3_FIELD
- See Also:
-
NAME_FIELD
- See Also:
-
-
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
-
getCountryByFullname
Gets aCountryby it's fullname. -
getFullName
Get the friendly name of the country.- Returns:
Stringname
-
getCcn3
Get ccn3 code.- Returns:
StringCCN3 code
-