|
Follow us on GitHub |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<PlacesServiceStatus>
com.google.gwt.maps.client.placeslib.PlacesServiceStatus
public enum PlacesServiceStatus
Enum Constant Summary | |
---|---|
INVALID_REQUEST
This request was invalid. |
|
OK
The response contains a valid result. |
|
OVER_QUERY_LIMIT
The application has gone over its request quota. |
|
REQUEST_DENIED
The application is not allowed to use the PlacesService. |
|
UNKNOWN_ERROR
The PlacesService request could not be processed due to a server error. |
|
ZERO_RESULTS
No result was found for this request. |
Method Summary | |
---|---|
static PlacesServiceStatus |
fromValue(String type)
|
String |
toString()
|
String |
value()
|
static PlacesServiceStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static PlacesServiceStatus[] |
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, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final PlacesServiceStatus INVALID_REQUEST
public static final PlacesServiceStatus OK
public static final PlacesServiceStatus OVER_QUERY_LIMIT
public static final PlacesServiceStatus REQUEST_DENIED
public static final PlacesServiceStatus UNKNOWN_ERROR
public static final PlacesServiceStatus ZERO_RESULTS
Method Detail |
---|
public static PlacesServiceStatus[] values()
for (PlacesServiceStatus c : PlacesServiceStatus.values()) System.out.println(c);
public static PlacesServiceStatus 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 String value()
public static PlacesServiceStatus fromValue(String type)
public String toString()
toString
in class Enum<PlacesServiceStatus>
|
Follow us on GitHub |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |