001/** 002 * Copyright 2005-2014 The Kuali Foundation 003 * 004 * Licensed under the Educational Community License, Version 2.0 (the "License"); 005 * you may not use this file except in compliance with the License. 006 * You may obtain a copy of the License at 007 * 008 * http://www.opensource.org/licenses/ecl2.php 009 * 010 * Unless required by applicable law or agreed to in writing, software 011 * distributed under the License is distributed on an "AS IS" BASIS, 012 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 013 * See the License for the specific language governing permissions and 014 * limitations under the License. 015 */ 016package edu.sampleu.travel.options; 017 018import org.kuali.rice.core.api.mo.common.Coded; 019 020/** 021 * This class provides state postal codes for US 022 * 023 * @author Kuali Rice Team (rice.collab@kuali.org) 024 */ 025public enum PostalStateCode implements Coded { 026 027 AL("AL", "Alabama"), 028 AK("AK", "Alaska"), 029 AZ("AZ", "Arizona"), 030 AR("AR", "Arkansas"), 031 CA("CA", "California"), 032 CO("CO", "Colorado"), 033 CT("CT", "Connecticut"), 034 DE("DE", "Delaware"), 035 FL("FL", "Florida"), 036 GA("GA", "Georgia"), 037 HI("HI", "Hawaii"), 038 ID("ID", "Idaho"), 039 IL("IL", "Illinois"), 040 IN("IN", "Indiana"), 041 IA("IA", "Iowa"), 042 KS("KS", "Kansas"), 043 KY("KY", "Kentucky"), 044 LA("LA", "Louisiana"), 045 ME("ME", "Maine"), 046 MD("MD", "Maryland"), 047 MA("MA", "Massachusetts"), 048 MI("MI", "Michigan"), 049 MN("MN", "Minnesota"), 050 MS("MS", "Mississippi"), 051 MO("MO", "Missouri"), 052 MT("MT", "Montana"), 053 NE("NE", "Nebraska"), 054 NV("NV", "Nevada"), 055 NH("NH", "New Hampshire"), 056 NJ("NJ", "New Jersey"), 057 NM("NM", "New Mexico"), 058 NY("NY", "New York"), 059 NC("NC", "North Carolina"), 060 ND("ND", "North Dakota"), 061 OH("OH", "Ohio"), 062 OK("OK", "Oklahoma"), 063 OR("OR", "Oregon"), 064 PA("PA", "Pennsylvania"), 065 RI("RI", "Rhode Island"), 066 SC("SC", "South Carolina"), 067 SD("SD", "South Dakota"), 068 TN("TN", "Tennessee"), 069 TX("TX", "Texas"), 070 UT("UT", "Utah"), 071 VT("VT", "Vermont"), 072 VA("VA", "Virginia"), 073 WA("WA", "Washington"), 074 WV("WV", "West Virginia"), 075 WI("WI", "Wisconsin"), 076 WY("WY", "Wyoming"), 077 DC("DC", "District of Columbia"), 078 AS("AS", "American Samoa"), 079 GU("GU", "Guam"), 080 MP("MP", "Northern Mariana Islands"), 081 PR("PR", "Puerto Rico"), 082 UM("UM", "United States Minor Outlying Islands"), 083 VI("VI", "Virgin Islands"); 084 085 private final String code; 086 private final String label; 087 088 PostalStateCode(String code, String label) { 089 this.code = code; 090 this.label = label; 091 } 092 093 @Override 094 public String getCode() { 095 return code; 096 } 097 098 public String getLabel() { 099 return label; 100 } 101 102} 103