edu.sampleu.travel.options
Enum PostalStateCode

java.lang.Object
  extended by java.lang.Enum<PostalStateCode>
      extended by 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)

Enum Constant Summary
AK
           
AL
           
AR
           
AS
           
AZ
           
CA
           
CO
           
CT
           
DC
           
DE
           
FL
           
GA
           
GU
           
HI
           
IA
           
ID
           
IL
           
IN
           
KS
           
KY
           
LA
           
MA
           
MD
           
ME
           
MI
           
MN
           
MO
           
MP
           
MS
           
MT
           
NC
           
ND
           
NE
           
NH
           
NJ
           
NM
           
NV
           
NY
           
OH
           
OK
           
OR
           
PA
           
PR
           
RI
           
SC
           
SD
           
TN
           
TX
           
UM
           
UT
           
VA
           
VI
           
VT
           
WA
           
WI
           
WV
           
WY
           
 
Method Summary
 String getCode()
          The code value for this object.
 String getLabel()
           
static PostalStateCode valueOf(String name)
          Returns the enum constant of this type with the specified name.
static PostalStateCode[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

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
Method Detail

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.