GraphPlace
最新版的 SDK 已不支持此类。
这个类有新版本。查看 最新版本。

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.

执行:GraphObject
应用安装包:model
实例方法
getId()

Returns the ID of the place.

public String getId()
Returns
The ID of the place
setId(String)

Sets the ID of the place.

public void setId(String id)
参数描述
idThe ID of the place
getName()

Returns the name of the place.

public String getName()
Returns
The name of the place
setName(String)

Sets the name of the place.

public void setName(String name)
参数描述
nameThe name of the place
getCategory()

Returns the category of the place.

public String getCategory()
Returns
The category of the place
setCategory(String)

Sets the category of the place.

public void setCategory(String category)
参数描述
categoryThe category of the place
getLocation()

Returns the location of the place.

public GraphLocation getLocation()
Returns
The location of the place
setLocation(GraphLocation)

Sets the location of the place.

public void setLocation(GraphLocation location)
参数描述
locationThe location of the place