Follow us on GitHub

com.google.gwt.maps.client.placeslib
Enum PlacesServiceStatus

java.lang.Object
  extended by java.lang.Enum<PlacesServiceStatus>
      extended by com.google.gwt.maps.client.placeslib.PlacesServiceStatus
All Implemented Interfaces:
Serializable, Comparable<PlacesServiceStatus>

public enum PlacesServiceStatus
extends 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

INVALID_REQUEST

public static final PlacesServiceStatus INVALID_REQUEST
This request was invalid.


OK

public static final PlacesServiceStatus OK
The response contains a valid result.


OVER_QUERY_LIMIT

public static final PlacesServiceStatus OVER_QUERY_LIMIT
The application has gone over its request quota.


REQUEST_DENIED

public static final PlacesServiceStatus REQUEST_DENIED
The application is not allowed to use the PlacesService.


UNKNOWN_ERROR

public static final PlacesServiceStatus UNKNOWN_ERROR
The PlacesService request could not be processed due to a server error. The request may succeed if you try again.


ZERO_RESULTS

public static final PlacesServiceStatus ZERO_RESULTS
No result was found for this request.

Method Detail

values

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

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

valueOf

public static PlacesServiceStatus 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

value

public String value()

fromValue

public static PlacesServiceStatus fromValue(String type)

toString

public String toString()
Overrides:
toString in class Enum<PlacesServiceStatus>


Follow us on GitHub

Copyright © 2011-2012 Gone Vertical LLC. All Rights Reserved.