|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface GraphUser
Provides a strongly-typed representation of a User 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 |
getBirthday()
Returns the birthday of the user. |
String |
getFirstName()
Returns the first name of the user. |
String |
getId()
Returns the ID of the user. |
String |
getLastName()
Returns the last name of the user. |
String |
getLink()
Returns the Facebook URL of the user. |
GraphLocation |
getLocation()
Returns the current city of the user. |
String |
getMiddleName()
Returns the middle name of the user. |
String |
getName()
Returns the name of the user. |
String |
getUsername()
Returns the Facebook username of the user. |
void |
setBirthday(String birthday)
Sets the birthday of the user. |
void |
setFirstName(String firstName)
Sets the first name of the user. |
void |
setId(String id)
Sets the ID of the user. |
void |
setLastName(String lastName)
Sets the last name of the user. |
void |
setLink(String link)
Sets the Facebook URL of the user. |
void |
setLocation(GraphLocation location)
Sets the current city of the user. |
void |
setMiddleName(String middleName)
Sets the middle name of the user. |
void |
setName(String name)
Sets the name of the user. |
void |
setUsername(String username)
Sets the Facebook username of the user. |
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 userString getName()
void setName(String name)
name
- the name of the userString getFirstName()
void setFirstName(String firstName)
firstName
- the first name of the userString getMiddleName()
void setMiddleName(String middleName)
middleName
- the middle name of the userString getLastName()
void setLastName(String lastName)
lastName
- the last name of the userString getLink()
void setLink(String link)
link
- the Facebook URL of the userString getUsername()
void setUsername(String username)
username
- the Facebook username of the userString getBirthday()
void setBirthday(String birthday)
birthday
- the birthday of the userGraphLocation getLocation()
void setLocation(GraphLocation location)
location
- the current city of the user
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |