Package com.restfb.types
Klasse Location
java.lang.Object
com.restfb.types.AbstractFacebookType
com.restfb.types.FacebookType
com.restfb.types.Location
- Alle implementierten Schnittstellen:
Serializable
Represents a location (address and latitude/longitude).
This is used by several Graph API types, e.g. Post
and Page
.
- Seit:
- 1.6.8
- Autor:
- Mark Allen
- Siehe auch:
-
Verschachtelte Klassen - Übersicht
Von Klasse geerbte verschachtelte Klassen/Schnittstellen com.restfb.types.FacebookType
FacebookType.Metadata
-
Konstruktorübersicht
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibunggetCity()
The city name of this location.City ID.The country name of this location.Country codeThe latitude of this location.The parent location if this location is located within another location.The longitude of this location.getName()
The name of this location.The region of this location.Region ID.getState()
The state name of this location.The street address of this location.getZip()
The postal code of this location.void
The city name of this location.void
City ID.void
setCountry
(String country) The country name of this location.void
setCountryCode
(String countryCode) Country codevoid
setLatitude
(Double latitude) The latitude of this location.void
setLocatedIn
(String locatedIn) The parent location if this location is located within another location.void
setLongitude
(Double longitude) The longitude of this location.void
The name of this location.void
The region of this location.void
setRegionId
(String regionId) Region ID.void
The state name of this location.void
The street address of this location.void
The postal code of this location.Von Klasse geerbte Methoden com.restfb.types.FacebookType
getId, getMetadata, getType, setId, setMetadata, setType
Von Klasse geerbte Methoden com.restfb.types.AbstractFacebookType
equals, hashCode, toString
-
Konstruktordetails
-
Location
public Location()
-
-
Methodendetails
-
getStreet
The street address of this location.- Gibt zurück:
- The street address of this location.
-
setStreet
The street address of this location. -
getCity
The city name of this location.- Gibt zurück:
- The city name of this location.
-
setCity
The city name of this location. -
getCityId
City ID. Any city identified is also a city you can use for targeting ads. -
setCityId
City ID. Any city identified is also a city you can use for targeting ads. -
getState
The state name of this location.- Gibt zurück:
- The state name of this location.
-
setState
The state name of this location. -
getCountry
The country name of this location.- Gibt zurück:
- The country name of this location.
-
setCountry
The country name of this location. -
getCountryCode
Country code- Gibt zurück:
- the country code
-
setCountryCode
Country code -
getZip
The postal code of this location.- Gibt zurück:
- The postal code of this location.
-
setZip
The postal code of this location. -
getLatitude
The latitude of this location.- Gibt zurück:
- The latitude of this location.
-
setLatitude
The latitude of this location. -
getLongitude
The longitude of this location.- Gibt zurück:
- The longitude of this location.
-
setLongitude
The longitude of this location. -
getRegion
The region of this location.- Gibt zurück:
- The region of this location
-
setRegion
The region of this location. -
getRegionId
Region ID. Specifies a geographic region, such as California. An identified region is the same as one you can use to target ads.- Gibt zurück:
- the region id
-
setRegionId
Region ID. Specifies a geographic region, such as California. An identified region is the same as one you can use to target ads. -
getName
The name of this location.- Gibt zurück:
- The name of this location
-
setName
The name of this location. -
getLocatedIn
The parent location if this location is located within another location.- Gibt zurück:
- The parent location if this location is located within another location
-
setLocatedIn
The parent location if this location is located within another location.
-