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.
구현: | GraphObject |
패키지: | model |
getStreet()
Returns the street component of the location.
public String getStreet()
setStreet(String)
Sets the street component of the location.
public void setStreet(String street)
매개변수 | 설명 |
---|---|
street | The street component of the location, or null |
getCity()
Gets the city component of the location.
public String getCity()
setCity(String)
Sets the city component of the location.
public void setCity(String city)
매개변수 | 설명 |
---|---|
city | The city component of the location |
getState()
Returns the state component of the location.
public String getState()
setState(String)
Sets the state component of the location.
public void setState(String state)
매개변수 | 설명 |
---|---|
state | The state component of the location |
getCountry()
Returns the country component of the location.
public String getCountry()
setCountry(String)
Sets the country component of the location
public void setCountry(String country)
매개변수 | 설명 |
---|---|
country | The country component of the location |
getZip()
Returns the postal code component of the location.
public String getZip()
setZip(String)
Sets the postal code component of the location.
public void setZip(String zip)
매개변수 | 설명 |
---|---|
zip | The postal code component of the location |
getLatitude()
Returns the latitude component of the location.
public double getLatitude()
setLatitude(double)
Sets the latitude component of the location.
public void setLatitude(double latitude)
매개변수 | 설명 |
---|---|
latitude | The latitude component of the location |
getLongitude()
Returns the longitude component of the location.
public double getLongitude()
setLongitude(double)
Sets the longitude component of the location.
public void setLongitude(double longitude)
매개변수 | 설명 |
---|---|
longitude | The longitude component of the location |