1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package edu.sampleu.travel.options;
17
18 import org.kuali.rice.core.api.mo.common.Coded;
19
20
21
22
23
24
25 public enum PostalCountryCode implements Coded {
26 AD("AD", "Andorra"),
27 AO("AO", "Angola"),
28 AI("AI", "Anguilla"),
29 AU("AU", "Australia"),
30 AT("AT", "Austria"),
31 BN("BN", "Brunei Darussalam"),
32 BG("BG", "Bulgaria"),
33 TD("TD", "Chad"),
34 CL("CL", "Chile"),
35 CN("CN", "China"),
36 YT("YT", "Mayotte"),
37 MX("MX", "Mexico"),
38 MC("MC", "Monaco"),
39 MN("MN", "Mongolia"),
40 ME("ME", "Montenegro"),
41 MS("MS", "Montserrat"),
42 MA("MA", "Morocco"),
43 MZ("MZ", "Mozambique"),
44 MM("MM", "Myanmar"),
45 NO("NO", "Norway"),
46 OM("OM", "Oman"),
47 PK("PK", "Pakistan"),
48 PW("PW", "Palau"),
49 RO("RO", "Romania"),
50 RU("RU", "Russian Federation"),
51 RW("RW", "Rwanda"),
52 ZA("ZA", "South Africa"),
53 SS("SS", "South Sudan"),
54 ES("ES", "Spain"),
55 TV("TV", "Tuvalu"),
56 UG("UG", "Uganda"),
57 UA("UA", "Ukraine"),
58 AE("AE", "United Arab Emirates"),
59 GB("GB", "United Kingdom"),
60 US("US", "United States"),
61 ZW("ZW", "Zimbabwe");
62
63 private final String code;
64 private final String label;
65
66 PostalCountryCode(String code, String label) {
67 this.code = code;
68 this.label = label;
69 }
70
71 @Override
72 public String getCode() {
73 return code;
74 }
75
76 public String getLabel() {
77 return label;
78 }
79
80 }