com.facebook.model
Interface GraphPlace

All Superinterfaces:
GraphObject

public interface GraphPlace
extends GraphObject

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.


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.facebook.model.GraphObject
GraphObject.Factory
 
Method Summary
 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.
 
Methods inherited from interface com.facebook.model.GraphObject
asMap, cast, getInnerJSONObject, getProperty, removeProperty, setProperty
 

Method Detail

getId

String getId()
Returns the ID of the place.

Returns:
the ID of the place

setId

void setId(String id)
Sets the ID of the place.

Parameters:
id - the ID of the place

getName

String getName()
Returns the name of the place.

Returns:
the name of the place

setName

void setName(String name)
Sets the name of the place.

Parameters:
name - the name of the place

getCategory

String getCategory()
Returns the category of the place.

Returns:
the category of the place

setCategory

void setCategory(String category)
Sets the category of the place.

Parameters:
category - the category of the place

getLocation

GraphLocation getLocation()
Returns the location of the place.

Returns:
the location of the place

setLocation

void setLocation(GraphLocation location)
Sets the location of the place.

Parameters:
location - the location of the place