org.yestech.lib.i18n
Enum USStateEnum

java.lang.Object
  extended by java.lang.Enum<USStateEnum>
      extended by org.yestech.lib.i18n.USStateEnum
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<USStateEnum>

public enum USStateEnum
extends java.lang.Enum<USStateEnum>

A list of states to be used in a drop downlist


Enum Constant Summary
ALABAMA
           
ALASKA
           
ARIZONA
           
ARKANSAS
           
CALIFORNIA
           
COLORADO
           
CONNECTICUT
           
DELAWARE
           
DISTRICT_OF_COLUMBIA
           
FLORIDA
           
GEORGIA
           
HAWAII
           
IDAHO
           
ILLINOIS
           
INDIANA
           
IOWA
           
KANSAS
           
KENTUCKY
           
LOUISIANA
           
MAINE
           
MARYLAND
           
MASSACHUSETTS
           
MICHIGAN
           
MINNESOTA
           
MISSISSIPPI
           
MISSOURI
           
MONTANA
           
NEBRASKA
           
NEVADO
           
NEW_HAMPSHIRE
           
NEW_JERSEY
           
NEW_MEXICO
           
NEW_YORK
           
NORTH_CAROLINA
           
NORTH_DAKOTA
           
OHIO
           
OKLAHOMA
           
OREGON
           
PENNSYLVANIA
           
RHODE_ISLAND
           
SOUTH_CAROLINA
           
SOUTH_DAKOTA
           
TENNESSEE
           
TEXAS
           
UTAH
           
VERMONT
           
VIRGINIA
           
WASHINGTON
           
WEST_VIRGINIA
           
WISCONSIN
           
WYOMING
           
 
Method Summary
 java.lang.String getCode()
           
static USStateEnum valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static USStateEnum[] 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

ALASKA

public static final USStateEnum ALASKA

ALABAMA

public static final USStateEnum ALABAMA

ARKANSAS

public static final USStateEnum ARKANSAS

ARIZONA

public static final USStateEnum ARIZONA

CALIFORNIA

public static final USStateEnum CALIFORNIA

COLORADO

public static final USStateEnum COLORADO

CONNECTICUT

public static final USStateEnum CONNECTICUT

DISTRICT_OF_COLUMBIA

public static final USStateEnum DISTRICT_OF_COLUMBIA

DELAWARE

public static final USStateEnum DELAWARE

FLORIDA

public static final USStateEnum FLORIDA

GEORGIA

public static final USStateEnum GEORGIA

HAWAII

public static final USStateEnum HAWAII

IOWA

public static final USStateEnum IOWA

IDAHO

public static final USStateEnum IDAHO

ILLINOIS

public static final USStateEnum ILLINOIS

INDIANA

public static final USStateEnum INDIANA

KANSAS

public static final USStateEnum KANSAS

KENTUCKY

public static final USStateEnum KENTUCKY

LOUISIANA

public static final USStateEnum LOUISIANA

MASSACHUSETTS

public static final USStateEnum MASSACHUSETTS

MARYLAND

public static final USStateEnum MARYLAND

MAINE

public static final USStateEnum MAINE

MICHIGAN

public static final USStateEnum MICHIGAN

MINNESOTA

public static final USStateEnum MINNESOTA

MISSOURI

public static final USStateEnum MISSOURI

MISSISSIPPI

public static final USStateEnum MISSISSIPPI

MONTANA

public static final USStateEnum MONTANA

NORTH_CAROLINA

public static final USStateEnum NORTH_CAROLINA

NORTH_DAKOTA

public static final USStateEnum NORTH_DAKOTA

NEBRASKA

public static final USStateEnum NEBRASKA

NEW_HAMPSHIRE

public static final USStateEnum NEW_HAMPSHIRE

NEW_JERSEY

public static final USStateEnum NEW_JERSEY

NEW_MEXICO

public static final USStateEnum NEW_MEXICO

NEVADO

public static final USStateEnum NEVADO

NEW_YORK

public static final USStateEnum NEW_YORK

OHIO

public static final USStateEnum OHIO

OKLAHOMA

public static final USStateEnum OKLAHOMA

OREGON

public static final USStateEnum OREGON

PENNSYLVANIA

public static final USStateEnum PENNSYLVANIA

RHODE_ISLAND

public static final USStateEnum RHODE_ISLAND

SOUTH_CAROLINA

public static final USStateEnum SOUTH_CAROLINA

SOUTH_DAKOTA

public static final USStateEnum SOUTH_DAKOTA

TENNESSEE

public static final USStateEnum TENNESSEE

TEXAS

public static final USStateEnum TEXAS

UTAH

public static final USStateEnum UTAH

VIRGINIA

public static final USStateEnum VIRGINIA

VERMONT

public static final USStateEnum VERMONT

WASHINGTON

public static final USStateEnum WASHINGTON

WISCONSIN

public static final USStateEnum WISCONSIN

WEST_VIRGINIA

public static final USStateEnum WEST_VIRGINIA

WYOMING

public static final USStateEnum WYOMING
Method Detail

values

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

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

valueOf

public static USStateEnum valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

getCode

public java.lang.String getCode()


Copyright © 2009 YES Technology Association. All Rights Reserved.