Poseidon for UMLTM
  UMLdoc
 PREV  CLASSIFIER    NEXT  CLASSIFIER     FRAMES    NO FRAMES      
SUMMARY:   INNER | ATTR | ASSOC | CONSTR | METHOD     DETAIL:   INNER | ATTR | ASSOC | CONSTR | METHOD     DIAGRAMS:   COLLAB | SEQ | STATE | ACTIV

com.gentleware.services.util

Class UsState

com.gentleware.services.util.UsState

public class UsState


UsState is an enumeration class for all US states/provinces.


 Attribute Summary
private String  _code
 
private static Map  _code2State
 
private String  _name
 
private static Map  _name2State
 
arrow_up
 

 Constructor Summary
public   UsState(String code, String name)
 
arrow_up
 

 Method Summary
private static void   __initializer()
 
public int   compareTo(Object other)
 
public static UsState[]   getAll()
 
public static UsState   getByCode(String code)
 
public static UsState   getByName(String name)
 
public static UsState   getByNameOrCode(String value)
 
public String   getCode()
 
public String   getName()
 
public String   toString()
 
arrow_up
 

Tagged Values
static false
gentleware-imported-line-number 17
gentleware-imported-package-statement-line-number 5
 

 Attribute Detail

_code

private String _code

arrow_up


_code2State

private static Map _code2State

arrow_up


_name

private String _name

arrow_up


_name2State

private static Map _name2State

arrow_up
 Constructor Detail

UsState

public com.gentleware.services.util.UsState UsState(String code, String name)

Parameters:
code -
name -
Returns:
arrow_up
 Method Detail

__initializer

private static void __initializer()

arrow_up


compareTo

public int compareTo(Object other)

Parameters:
other -
Returns:
arrow_up


getAll

public static UsState[] getAll()

Returns:
arrow_up


getByCode

public static UsState getByCode(String code)

Parameters:
code -
Returns:
arrow_up


getByName

public static UsState getByName(String name)

Parameters:
name -
Returns:
arrow_up


getByNameOrCode

public static UsState getByNameOrCode(String value)

Parameters:
value -
Returns:
arrow_up


getCode

public String getCode()

Returns:
arrow_up


getName

public String getName()

Returns:
arrow_up


toString

public String toString()

Returns:
arrow_up
Created  2004 - 12 - 1

    Poseidon for UMLTM
  UMLdoc
 PREV  CLASSIFIER    NEXT  CLASSIFIER     FRAMES    NO FRAMES      
SUMMARY:   INNER | ATTR | ASSOC | CONSTR | METHOD     DETAIL:   INNER | ATTR | ASSOC | CONSTR | METHOD     DIAGRAMS:   COLLAB | SEQ | STATE | ACTIV

Generated with Poseidon for UMLTM.
Poseidon is a registered trademark of Gentleware AG in Germany, USA and other countries. Copyright 2003-2004 Gentleware AG, Schanzenstr. 70, 20357 Hamburg, Germany. All Rights Reserved.

UML is a trademark or registered trademark of Object Management Group, Inc. in the U.S. and other countries.