public final class Place extends GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Google+ API. For a detailed explanation see: http://code.google.com/p/google-http-java-client/wiki/JSON
Modifier and Type | Class and Description |
---|---|
static class |
Place.Address
The physical address of the place.
|
static class |
Place.Position
The position of the place.
|
GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
Place() |
Modifier and Type | Method and Description |
---|---|
Place |
clone() |
Place.Address |
getAddress()
The physical address of the place.
|
String |
getDisplayName()
The display name of the place.
|
String |
getId()
The id of the place.
|
String |
getKind()
Identifies this resource as a place.
|
Place.Position |
getPosition()
The position of the place.
|
Place |
set(String fieldName,
Object value) |
Place |
setAddress(Place.Address address)
The physical address of the place.
|
Place |
setDisplayName(String displayName)
The display name of the place.
|
Place |
setId(String id)
The id of the place.
|
Place |
setKind(String kind)
Identifies this resource as a place.
|
Place |
setPosition(Place.Position position)
The position of the place.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public Place.Address getAddress()
null
for nonepublic Place setAddress(Place.Address address)
address
- address or null
for nonepublic String getDisplayName()
null
for nonepublic Place setDisplayName(String displayName)
displayName
- displayName or null
for nonepublic String getId()
null
for nonepublic String getKind()
null
for nonepublic Place setKind(String kind)
kind
- kind or null
for nonepublic Place.Position getPosition()
null
for nonepublic Place setPosition(Place.Position position)
position
- position or null
for nonepublic Place set(String fieldName, Object value)
set
in class GenericJson
public Place clone()
clone
in class GenericJson