GraphLocation
Questa classe non è più disponibile nella versione più recente dell'SDK.
Non è disponibile una versione più recente di questa classe. Controlla la versione più recente.

Provides a strongly-typed representation of a Location as defined by the Graph API.

Note that this interface is intended to be used with GraphObject.Factory and not implemented directly.

Implementazioni:GraphObject
Pacchetto:model
Metodi di istanza
getStreet()

Returns the street component of the location.

public String getStreet()
Returns
The street component of the location, or null
setStreet(String)

Sets the street component of the location.

public void setStreet(String street)
ParametroDescrizione
streetThe street component of the location, or null
getCity()

Gets the city component of the location.

public String getCity()
Returns
The city component of the location
setCity(String)

Sets the city component of the location.

public void setCity(String city)
ParametroDescrizione
cityThe city component of the location
getState()

Returns the state component of the location.

public String getState()
Returns
The state component of the location
setState(String)

Sets the state component of the location.

public void setState(String state)
ParametroDescrizione
stateThe state component of the location
getCountry()

Returns the country component of the location.

public String getCountry()
Returns
The country component of the location
setCountry(String)

Sets the country component of the location

public void setCountry(String country)
ParametroDescrizione
countryThe country component of the location
getZip()

Returns the postal code component of the location.

public String getZip()
Returns
The postal code component of the location
setZip(String)

Sets the postal code component of the location.

public void setZip(String zip)
ParametroDescrizione
zipThe postal code component of the location
getLatitude()

Returns the latitude component of the location.

public double getLatitude()
Returns
The latitude component of the location
setLatitude(double)

Sets the latitude component of the location.

public void setLatitude(double latitude)
ParametroDescrizione
latitudeThe latitude component of the location
getLongitude()

Returns the longitude component of the location.

public double getLongitude()
Returns
The longitude component of the location
setLongitude(double)

Sets the longitude component of the location.

public void setLongitude(double longitude)
ParametroDescrizione
longitudeThe longitude component of the location