com.facebook.model
Interface GraphUser

All Superinterfaces:
GraphObject

public interface GraphUser
extends GraphObject

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

getId

String getId()
Returns the ID of the user.

Returns:
the ID of the user

setId

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

Parameters:
id - the ID of the user

getName

String getName()
Returns the name of the user.

Returns:
the name of the user

setName

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

Parameters:
name - the name of the user

getFirstName

String getFirstName()
Returns the first name of the user.

Returns:
the first name of the user

setFirstName

void setFirstName(String firstName)
Sets the first name of the user.

Parameters:
firstName - the first name of the user

getMiddleName

String getMiddleName()
Returns the middle name of the user.

Returns:
the middle name of the user

setMiddleName

void setMiddleName(String middleName)
Sets the middle name of the user.

Parameters:
middleName - the middle name of the user

getLastName

String getLastName()
Returns the last name of the user.

Returns:
the last name of the user

setLastName

void setLastName(String lastName)
Sets the last name of the user.

Parameters:
lastName - the last name of the user

getLink

String getLink()
Returns the Facebook URL of the user.

Returns:
the Facebook URL of the user

setLink

void setLink(String link)
Sets the Facebook URL of the user.

Parameters:
link - the Facebook URL of the user

getUsername

String getUsername()
Returns the Facebook username of the user.

Returns:
the Facebook username of the user

setUsername

void setUsername(String username)
Sets the Facebook username of the user.

Parameters:
username - the Facebook username of the user

getBirthday

String getBirthday()
Returns the birthday of the user.

Returns:
the birthday of the user

setBirthday

void setBirthday(String birthday)
Sets the birthday of the user.

Parameters:
birthday - the birthday of the user

getLocation

GraphLocation getLocation()
Returns the current city of the user.

Returns:
the current city of the user

setLocation

void setLocation(GraphLocation location)
Sets the current city of the user.

Parameters:
location - the current city of the user