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.
Реализует: | GraphObject |
Пакет: | model |
getId()
Returns the ID of the user.
public String getId()
setId(String)
Sets the ID of the user.
public void setId(String id)
Параметр | Описание |
---|---|
id | The ID of the user |
getName()
Returns the name of the user.
public String getName()
setName(String)
Sets the name of the user.
public void setName(String name)
Параметр | Описание |
---|---|
name | The name of the user |
getFirstName()
Returns the first name of the user.
public String getFirstName()
setFirstName(String)
Sets the first name of the user.
public void setFirstName(String firstName)
Параметр | Описание |
---|---|
firstName | The first name of the user |
getMiddleName()
Returns the middle name of the user.
public String getMiddleName()
setMiddleName(String)
Sets the middle name of the user.
public void setMiddleName(String middleName)
Параметр | Описание |
---|---|
middleName | The middle name of the user |
getLastName()
Returns the last name of the user.
public String getLastName()
setLastName(String)
Sets the last name of the user.
public void setLastName(String lastName)
Параметр | Описание |
---|---|
lastName | The last name of the user |
getLink()
Returns the Facebook URL of the user.
public String getLink()
setLink(String)
Sets the Facebook URL of the user.
public void setLink(String link)
Параметр | Описание |
---|---|
link | The Facebook URL of the user |
getUsername()
Returns the Facebook username of the user.
public String getUsername()
setUsername(String)
Sets the Facebook username of the user.
public void setUsername(String username)
Параметр | Описание |
---|---|
username | The Facebook username of the user |
getBirthday()
Returns the birthday of the user.
public String getBirthday()
setBirthday(String)
Sets the birthday of the user.
public void setBirthday(String birthday)
Параметр | Описание |
---|---|
birthday | The birthday of the user |
getLocation()
Returns the current place of the user.
public GraphPlace getLocation()
setLocation(GraphPlace)
Sets the current place of the user.
public void setLocation(GraphPlace location)
Параметр | Описание |
---|---|
location | The current place of the user |