public interface GraphLocation extends GraphObject
GraphObject.Factory
Modifier and Type | Method and Description |
---|---|
String |
getCity()
Gets the city component of the location.
|
String |
getCountry()
Returns the country component of the location.
|
double |
getLatitude()
Returns the latitude component of the location.
|
double |
getLongitude()
Returns the longitude component of the location.
|
String |
getState()
Returns the state component of the location.
|
String |
getStreet()
Returns the street component of the location.
|
String |
getZip()
Returns the postal code component of the location.
|
void |
setCity(String city)
Sets the city component of the location.
|
void |
setCountry(String country)
Sets the country component of the location
|
void |
setLatitude(double latitude)
Sets the latitude component of the location.
|
void |
setLongitude(double longitude)
Sets the longitude component of the location.
|
void |
setState(String state)
Sets the state component of the location.
|
void |
setStreet(String street)
Sets the street component of the location.
|
void |
setZip(String zip)
Sets the postal code component of the location.
|
asMap, cast, getInnerJSONObject, getProperty, getPropertyAs, getPropertyAsList, removeProperty, setProperty
String getStreet()
void setStreet(String street)
street
- the street component of the location, or nullString getCity()
void setCity(String city)
city
- the city component of the locationString getState()
void setState(String state)
state
- the state component of the locationString getCountry()
void setCountry(String country)
country
- the country component of the locationString getZip()
void setZip(String zip)
zip
- the postal code component of the locationdouble getLatitude()
void setLatitude(double latitude)
latitude
- the latitude component of the locationdouble getLongitude()
void setLongitude(double longitude)
longitude
- the longitude component of the location