edu.sampleu.travel.options
Enum PostalStateCode
java.lang.Object
java.lang.Enum<PostalStateCode>
edu.sampleu.travel.options.PostalStateCode
- All Implemented Interfaces:
- Serializable, Comparable<PostalStateCode>, Coded
public enum PostalStateCode
- extends Enum<PostalStateCode>
- implements Coded
This class provides state postal codes for US
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
AL
public static final PostalStateCode AL
AK
public static final PostalStateCode AK
AZ
public static final PostalStateCode AZ
AR
public static final PostalStateCode AR
CA
public static final PostalStateCode CA
CO
public static final PostalStateCode CO
CT
public static final PostalStateCode CT
DE
public static final PostalStateCode DE
FL
public static final PostalStateCode FL
GA
public static final PostalStateCode GA
HI
public static final PostalStateCode HI
ID
public static final PostalStateCode ID
IL
public static final PostalStateCode IL
IN
public static final PostalStateCode IN
IA
public static final PostalStateCode IA
KS
public static final PostalStateCode KS
KY
public static final PostalStateCode KY
LA
public static final PostalStateCode LA
ME
public static final PostalStateCode ME
MD
public static final PostalStateCode MD
MA
public static final PostalStateCode MA
MI
public static final PostalStateCode MI
MN
public static final PostalStateCode MN
MS
public static final PostalStateCode MS
MO
public static final PostalStateCode MO
MT
public static final PostalStateCode MT
NE
public static final PostalStateCode NE
NV
public static final PostalStateCode NV
NH
public static final PostalStateCode NH
NJ
public static final PostalStateCode NJ
NM
public static final PostalStateCode NM
NY
public static final PostalStateCode NY
NC
public static final PostalStateCode NC
ND
public static final PostalStateCode ND
OH
public static final PostalStateCode OH
OK
public static final PostalStateCode OK
OR
public static final PostalStateCode OR
PA
public static final PostalStateCode PA
RI
public static final PostalStateCode RI
SC
public static final PostalStateCode SC
SD
public static final PostalStateCode SD
TN
public static final PostalStateCode TN
TX
public static final PostalStateCode TX
UT
public static final PostalStateCode UT
VT
public static final PostalStateCode VT
VA
public static final PostalStateCode VA
WA
public static final PostalStateCode WA
WV
public static final PostalStateCode WV
WI
public static final PostalStateCode WI
WY
public static final PostalStateCode WY
DC
public static final PostalStateCode DC
AS
public static final PostalStateCode AS
GU
public static final PostalStateCode GU
MP
public static final PostalStateCode MP
PR
public static final PostalStateCode PR
UM
public static final PostalStateCode UM
VI
public static final PostalStateCode VI
values
public static PostalStateCode[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (PostalStateCode c : PostalStateCode.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static PostalStateCode valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (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 type has no constant
with the specified name
NullPointerException
- if the argument is null
getCode
public String getCode()
- Description copied from interface:
Coded
- The code value for this object. In general a code value cannot be null or a blank string.
- Specified by:
getCode
in interface Coded
- Returns:
- the code value for this object.
getLabel
public String getLabel()
Copyright © 2005–2015 The Kuali Foundation. All rights reserved.