Package com.google.maps.model
Enum PlaceDetails.Review.AspectRating.RatingType
- java.lang.Object
-
- java.lang.Enum<PlaceDetails.Review.AspectRating.RatingType>
-
- com.google.maps.model.PlaceDetails.Review.AspectRating.RatingType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<PlaceDetails.Review.AspectRating.RatingType>
- Enclosing class:
- PlaceDetails.Review.AspectRating
public static enum PlaceDetails.Review.AspectRating.RatingType extends java.lang.Enum<PlaceDetails.Review.AspectRating.RatingType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description APPEAL
ATMOSPHERE
DECOR
FACILITIES
FOOD
OVERALL
QUALITY
SERVICE
UNKNOWN
Indicates an unknown rating type returned by the server.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PlaceDetails.Review.AspectRating.RatingType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static PlaceDetails.Review.AspectRating.RatingType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
APPEAL
public static final PlaceDetails.Review.AspectRating.RatingType APPEAL
-
ATMOSPHERE
public static final PlaceDetails.Review.AspectRating.RatingType ATMOSPHERE
-
DECOR
public static final PlaceDetails.Review.AspectRating.RatingType DECOR
-
FACILITIES
public static final PlaceDetails.Review.AspectRating.RatingType FACILITIES
-
FOOD
public static final PlaceDetails.Review.AspectRating.RatingType FOOD
-
OVERALL
public static final PlaceDetails.Review.AspectRating.RatingType OVERALL
-
QUALITY
public static final PlaceDetails.Review.AspectRating.RatingType QUALITY
-
SERVICE
public static final PlaceDetails.Review.AspectRating.RatingType SERVICE
-
UNKNOWN
public static final PlaceDetails.Review.AspectRating.RatingType UNKNOWN
Indicates an unknown rating type returned by the server. The Java Client for Google Maps Services should be updated to support the new value.
-
-
Method Detail
-
values
public static PlaceDetails.Review.AspectRating.RatingType[] 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 (PlaceDetails.Review.AspectRating.RatingType c : PlaceDetails.Review.AspectRating.RatingType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PlaceDetails.Review.AspectRating.RatingType 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 namejava.lang.NullPointerException
- if the argument is null
-
-