public interface GraphPlace extends GraphObject
GraphObject.Factory
Modifier and Type | Method and Description |
---|---|
String |
getCategory()
Returns the category of the place.
|
String |
getId()
Returns the ID of the place.
|
GraphLocation |
getLocation()
Returns the location of the place.
|
String |
getName()
Returns the name of the place.
|
void |
setCategory(String category)
Sets the category of the place.
|
void |
setId(String id)
Sets the ID of the place.
|
void |
setLocation(GraphLocation location)
Sets the location of the place.
|
void |
setName(String name)
Sets the name of the place.
|
asMap, cast, getInnerJSONObject, getProperty, getPropertyAs, getPropertyAsList, removeProperty, setProperty
String getId()
void setId(String id)
id
- the ID of the placeString getName()
void setName(String name)
name
- the name of the placeString getCategory()
void setCategory(String category)
category
- the category of the placeGraphLocation getLocation()
void setLocation(GraphLocation location)
location
- the location of the place