|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<GeoStatusCode>
geo.google.datamodel.GeoStatusCode
public enum GeoStatusCode
GGeoStatusCode Enum class http://www.google.com/apis/maps/documentation/reference.html#GGeoStatusCode
| Method Summary | |
|---|---|
int |
getCode()
|
String |
getCodeName()
|
String |
getDescription()
|
static GeoStatusCode |
getStatusCode(int code)
Retrun the corresponding GGeoStatusCode based from the input code. |
static GeoStatusCode |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static GeoStatusCode[] |
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 |
|---|
public static final GeoStatusCode G_GEO_SUCCESS
public static final GeoStatusCode G_GEO_BAD_REQUEST
public static final GeoStatusCode G_GEO_SERVER_ERROR
public static final GeoStatusCode G_GEO_MISSING_QUERY
public static final GeoStatusCode G_GEO_UNKNOWN_ADDRESS
public static final GeoStatusCode G_GEO_UNAVAILABLE_ADDRESS
public static final GeoStatusCode G_GEO_UNKNOWN_DIRECTIONS
public static final GeoStatusCode G_GEO_BAD_KEY
public static final GeoStatusCode G_GEO_TOO_MANY_QUERIES
public static final GeoStatusCode G_GEO_UNKOWN_STATUS
| Method Detail |
|---|
public static GeoStatusCode[] values()
for (GeoStatusCode c : GeoStatusCode.values()) System.out.println(c);
public static GeoStatusCode valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is nullpublic int getCode()
public String getCodeName()
public String getDescription()
public static GeoStatusCode getStatusCode(int code)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||