|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface GraphPlace
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 |
---|
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
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |