Provides a strongly-typed representation of a Place as defined by the Graph API.
Note that this interface is intended to be used with GraphObject.Factory and not implemented directly.
Implementierungen: | GraphObject |
Package: | model |
getId()
Returns the ID of the place.
public String getId()
setId(String)
Sets the ID of the place.
public void setId(String id)
Parameter | Beschreibung |
---|---|
id | The ID of the place |
getName()
Returns the name of the place.
public String getName()
setName(String)
Sets the name of the place.
public void setName(String name)
Parameter | Beschreibung |
---|---|
name | The name of the place |
getCategory()
Returns the category of the place.
public String getCategory()
setCategory(String)
Sets the category of the place.
public void setCategory(String category)
Parameter | Beschreibung |
---|---|
category | The category of the place |
getLocation()
Returns the location of the place.
public GraphLocation getLocation()
setLocation(GraphLocation)
Sets the location of the place.
public void setLocation(GraphLocation location)
Parameter | Beschreibung |
---|---|
location | The location of the place |