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 PostalStateCode implements Coded {
26
27 AL("AL", "Alabama"),
28 AK("AK", "Alaska"),
29 AZ("AZ", "Arizona"),
30 AR("AR", "Arkansas"),
31 CA("CA", "California"),
32 CO("CO", "Colorado"),
33 CT("CT", "Connecticut"),
34 DE("DE", "Delaware"),
35 FL("FL", "Florida"),
36 GA("GA", "Georgia"),
37 HI("HI", "Hawaii"),
38 ID("ID", "Idaho"),
39 IL("IL", "Illinois"),
40 IN("IN", "Indiana"),
41 IA("IA", "Iowa"),
42 KS("KS", "Kansas"),
43 KY("KY", "Kentucky"),
44 LA("LA", "Louisiana"),
45 ME("ME", "Maine"),
46 MD("MD", "Maryland"),
47 MA("MA", "Massachusetts"),
48 MI("MI", "Michigan"),
49 MN("MN", "Minnesota"),
50 MS("MS", "Mississippi"),
51 MO("MO", "Missouri"),
52 MT("MT", "Montana"),
53 NE("NE", "Nebraska"),
54 NV("NV", "Nevada"),
55 NH("NH", "New Hampshire"),
56 NJ("NJ", "New Jersey"),
57 NM("NM", "New Mexico"),
58 NY("NY", "New York"),
59 NC("NC", "North Carolina"),
60 ND("ND", "North Dakota"),
61 OH("OH", "Ohio"),
62 OK("OK", "Oklahoma"),
63 OR("OR", "Oregon"),
64 PA("PA", "Pennsylvania"),
65 RI("RI", "Rhode Island"),
66 SC("SC", "South Carolina"),
67 SD("SD", "South Dakota"),
68 TN("TN", "Tennessee"),
69 TX("TX", "Texas"),
70 UT("UT", "Utah"),
71 VT("VT", "Vermont"),
72 VA("VA", "Virginia"),
73 WA("WA", "Washington"),
74 WV("WV", "West Virginia"),
75 WI("WI", "Wisconsin"),
76 WY("WY", "Wyoming"),
77 DC("DC", "District of Columbia"),
78 AS("AS", "American Samoa"),
79 GU("GU", "Guam"),
80 MP("MP", "Northern Mariana Islands"),
81 PR("PR", "Puerto Rico"),
82 UM("UM", "United States Minor Outlying Islands"),
83 VI("VI", "Virgin Islands");
84
85 private final String code;
86 private final String label;
87
88 PostalStateCode(String code, String label) {
89 this.code = code;
90 this.label = label;
91 }
92
93 @Override
94 public String getCode() {
95 return code;
96 }
97
98 public String getLabel() {
99 return label;
100 }
101
102 }
103