edu.sampleu.travel.options
Enum PostalCountryCode

java.lang.Object
  extended by java.lang.Enum<PostalCountryCode>
      extended by edu.sampleu.travel.options.PostalCountryCode
All Implemented Interfaces:
Serializable, Comparable<PostalCountryCode>, Coded

public enum PostalCountryCode
extends Enum<PostalCountryCode>
implements Coded

This class provides a small subset of postal country codes

Author:
Kuali Rice Team (rice.collab@kuali.org)

Enum Constant Summary
AD
           
AE
           
AI
           
AO
           
AT
           
AU
           
BG
           
BN
           
CL
           
CN
           
ES
           
GB
           
MA
           
MC
           
ME
           
MM
           
MN
           
MS
           
MX
           
MZ
           
NO
           
OM
           
PK
           
PW
           
RO
           
RU
           
RW
           
SS
           
TD
           
TV
           
UA
           
UG
           
US
           
YT
           
ZA
           
ZW
           
 
Method Summary
 String getCode()
          The code value for this object.
 String getLabel()
           
static PostalCountryCode valueOf(String name)
          Returns the enum constant of this type with the specified name.
static PostalCountryCode[] 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

AD

public static final PostalCountryCode AD

AO

public static final PostalCountryCode AO

AI

public static final PostalCountryCode AI

AU

public static final PostalCountryCode AU

AT

public static final PostalCountryCode AT

BN

public static final PostalCountryCode BN

BG

public static final PostalCountryCode BG

TD

public static final PostalCountryCode TD

CL

public static final PostalCountryCode CL

CN

public static final PostalCountryCode CN

YT

public static final PostalCountryCode YT

MX

public static final PostalCountryCode MX

MC

public static final PostalCountryCode MC

MN

public static final PostalCountryCode MN

ME

public static final PostalCountryCode ME

MS

public static final PostalCountryCode MS

MA

public static final PostalCountryCode MA

MZ

public static final PostalCountryCode MZ

MM

public static final PostalCountryCode MM

NO

public static final PostalCountryCode NO

OM

public static final PostalCountryCode OM

PK

public static final PostalCountryCode PK

PW

public static final PostalCountryCode PW

RO

public static final PostalCountryCode RO

RU

public static final PostalCountryCode RU

RW

public static final PostalCountryCode RW

ZA

public static final PostalCountryCode ZA

SS

public static final PostalCountryCode SS

ES

public static final PostalCountryCode ES

TV

public static final PostalCountryCode TV

UG

public static final PostalCountryCode UG

UA

public static final PostalCountryCode UA

AE

public static final PostalCountryCode AE

GB

public static final PostalCountryCode GB

US

public static final PostalCountryCode US

ZW

public static final PostalCountryCode ZW
Method Detail

values

public static PostalCountryCode[] 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 (PostalCountryCode c : PostalCountryCode.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static PostalCountryCode 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.