public class TwitterUserDetails extends java.lang.Object
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <userDetails> <bio>jzlWflOQOiPAtKGfYUODpwFKpwElaFDywbIGIdqGOAwbjmrQaxdzwzfPHyVDDiUz</bio> <favoritesCount>436314657</favoritesCount> <friendsCount>1371714215</friendsCount> <followersCount>99553925</followersCount> <name>rnvhoeYPigueehEUSSTWGVLyszRVxXYmorcYZGhNJvzBzRrteabzyZGkhVGqRwtB</name> <screenName>MVDRODTHcwaGzAQyhgIzoETCbVFyhzAGtXSxcRKlWBYrgxVxYLMIYaxGJfijZRba</screenName> <twitterId>1992146074245497153</twitterId> <location> <name>RYrazAlKxrSwizqSKfIaklmWzMQbrxOPLhVpDqSxAAhKvJgiQALCKhPLjRCOllAt</name> <latitude>78.0</latitude> <longitude>140.0</longitude> </location> <userId>645394437730795325</userId> </userDetails>
User
Constructor and Description |
---|
TwitterUserDetails() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getBio() |
java.lang.Integer |
getFavoritesCount() |
java.lang.Integer |
getFollowersCount() |
java.lang.Integer |
getFriendsCount() |
TwitterLocation |
getLocation() |
java.lang.String |
getName() |
java.lang.String |
getScreenName() |
java.lang.String |
getTwitterId() |
static java.util.List<TwitterUserDetails> |
getTwitterUserDetails(java.util.Collection<twitter4j.User> users) |
static TwitterUserDetails |
getTwitterUserDetails(twitter4j.User user) |
UserIdentity |
getUserId() |
java.lang.Long |
getUserIdValue() |
java.lang.Boolean |
isProtected() |
void |
setBio(java.lang.String bio) |
void |
setFavoritesCount(java.lang.Integer favoritesCount) |
void |
setFollowersCount(java.lang.Integer followersCount) |
void |
setFriendsCount(java.lang.Integer friendsCount) |
void |
setLocation(TwitterLocation location) |
void |
setName(java.lang.String name) |
void |
setProtected(java.lang.Boolean protected1) |
void |
setScreenName(java.lang.String screenName) |
void |
setTwitterId(java.lang.String twitterId) |
void |
setUserId(UserIdentity userId) |
public TwitterUserDetails()
public static TwitterUserDetails getTwitterUserDetails(twitter4j.User user)
user
- public java.lang.Long getUserIdValue()
getUserId()
public UserIdentity getUserId()
public void setUserId(UserIdentity userId)
userId
- public static java.util.List<TwitterUserDetails> getTwitterUserDetails(java.util.Collection<twitter4j.User> users)
users
- public java.lang.String getBio()
User.getDescription()
public void setBio(java.lang.String bio)
bio
- the bio to setpublic java.lang.Integer getFavoritesCount()
User.getFavouritesCount()
public void setFavoritesCount(java.lang.Integer favoritesCount)
favoritesCount
- the favoritesCount to setpublic java.lang.Integer getFriendsCount()
User.getFriendsCount()
public void setFriendsCount(java.lang.Integer friendsCount)
friendsCount
- the friendsCount to setpublic java.lang.Integer getFollowersCount()
User.getFollowersCount()
public void setFollowersCount(java.lang.Integer followersCount)
followersCount
- the followersCount to setpublic java.lang.String getName()
User.getName()
public void setName(java.lang.String name)
name
- the name to setpublic java.lang.Boolean isProtected()
User.isProtected()
public void setProtected(java.lang.Boolean protected1)
protected1
- the protected to setpublic java.lang.String getScreenName()
User.getScreenName()
public void setScreenName(java.lang.String screenName)
screenName
- the screenName to setpublic java.lang.String getTwitterId()
User.getId()
public void setTwitterId(java.lang.String twitterId)
twitterId
- the twitterId to setpublic TwitterLocation getLocation()
User.getLocation()
public void setLocation(TwitterLocation location)
location
- the location to setCopyright © 2015 Tampere University of Technology, Pori Department.