twitter4j
Class ExtendedUser

java.lang.Object
  extended by twitter4j.TwitterResponse
      extended by twitter4j.User
          extended by twitter4j.UserWithStatus
              extended by twitter4j.ExtendedUser
All Implemented Interfaces:
java.io.Serializable

public class ExtendedUser
extends UserWithStatus

A data class representing Extended user information element

Author:
Yusuke Yamamoto - yusuke at mac.com
See Also:
Extended user information element, Serialized Form

Field Summary
private  java.util.Date createdAt
           
private  int favouritesCount
           
private  boolean following
           
private  int friendsCount
           
private  boolean notificationEnabled
           
private  java.lang.String profileBackgroundColor
           
private  java.lang.String profileBackgroundImageUrl
           
private  java.lang.String profileBackgroundTile
           
private  java.lang.String profileLinkColor
           
private  java.lang.String profileSidebarBorderColor
           
private  java.lang.String profileSidebarFillColor
           
private  java.lang.String profileTextColor
           
private static long serialVersionUID
           
private  int statusesCount
           
private  java.lang.String timeZone
           
private  int utcOffset
           
 
Fields inherited from class twitter4j.User
POSSIBLE_ROOT_NAMES
 
Constructor Summary
ExtendedUser(Response res, Twitter twitter)
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 java.util.Date getCreatedAt()
           
 int getFavouritesCount()
           
 int getFriendsCount()
           
 java.lang.String getProfileBackgroundColor()
           
 java.lang.String getProfileBackgroundImageUrl()
           
 java.lang.String getProfileBackgroundTile()
           
 java.lang.String getProfileLinkColor()
           
 java.lang.String getProfileSidebarBorderColor()
           
 java.lang.String getProfileSidebarFillColor()
           
 java.lang.String getProfileTextColor()
           
 int getStatusesCount()
           
 java.lang.String getTimeZone()
           
 int getUtcOffset()
           
 int hashCode()
           
 boolean isFollowing()
           
 boolean isNotificationEnabled()
           
 boolean isNotifications()
          Deprecated. use isNotificationsEnabled() instead
 java.lang.String toString()
           
 
Methods inherited from class twitter4j.User
constructUsers, getDescription, getFollowersCount, getId, getLocation, getName, getProfileImageURL, getScreenName, getStatusCreatedAt, getStatusId, getStatusInReplyToScreenName, getStatusInReplyToStatusId, getStatusInReplyToUserId, getStatusSource, getStatusText, getURL, isProtected, isStatusFavorited, isStatusTruncated, sendDirectMessage
 
Methods inherited from class twitter4j.TwitterResponse
ensureRootNodeNameIs, ensureRootNodeNameIs, ensureRootNodeNameIs, getChildBoolean, getChildDate, getChildDate, getChildInt, getChildLong, getChildText, getRateLimitLimit, getRateLimitRemaining, getRateLimitReset, getString, getTextContent, isRootNodeNilClasses, parseDate
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

profileBackgroundColor

private java.lang.String profileBackgroundColor

profileTextColor

private java.lang.String profileTextColor

profileLinkColor

private java.lang.String profileLinkColor

profileSidebarFillColor

private java.lang.String profileSidebarFillColor

profileSidebarBorderColor

private java.lang.String profileSidebarBorderColor

friendsCount

private int friendsCount

createdAt

private java.util.Date createdAt

favouritesCount

private int favouritesCount

utcOffset

private int utcOffset

timeZone

private java.lang.String timeZone

profileBackgroundImageUrl

private java.lang.String profileBackgroundImageUrl

profileBackgroundTile

private java.lang.String profileBackgroundTile

following

private boolean following

notificationEnabled

private boolean notificationEnabled

statusesCount

private int statusesCount

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values
Constructor Detail

ExtendedUser

public ExtendedUser(Response res,
                    Twitter twitter)
             throws TwitterException
Throws:
TwitterException
Method Detail

getProfileBackgroundColor

public java.lang.String getProfileBackgroundColor()
Specified by:
getProfileBackgroundColor in class UserWithStatus

getProfileTextColor

public java.lang.String getProfileTextColor()
Specified by:
getProfileTextColor in class UserWithStatus

getProfileLinkColor

public java.lang.String getProfileLinkColor()
Specified by:
getProfileLinkColor in class UserWithStatus

getProfileSidebarFillColor

public java.lang.String getProfileSidebarFillColor()
Specified by:
getProfileSidebarFillColor in class UserWithStatus

getProfileSidebarBorderColor

public java.lang.String getProfileSidebarBorderColor()
Specified by:
getProfileSidebarBorderColor in class UserWithStatus

getFriendsCount

public int getFriendsCount()
Specified by:
getFriendsCount in class UserWithStatus

getCreatedAt

public java.util.Date getCreatedAt()
Specified by:
getCreatedAt in class UserWithStatus

getFavouritesCount

public int getFavouritesCount()
Specified by:
getFavouritesCount in class UserWithStatus

getUtcOffset

public int getUtcOffset()
Specified by:
getUtcOffset in class UserWithStatus

getTimeZone

public java.lang.String getTimeZone()
Specified by:
getTimeZone in class UserWithStatus

getProfileBackgroundImageUrl

public java.lang.String getProfileBackgroundImageUrl()
Specified by:
getProfileBackgroundImageUrl in class UserWithStatus

getProfileBackgroundTile

public java.lang.String getProfileBackgroundTile()
Specified by:
getProfileBackgroundTile in class UserWithStatus

isFollowing

public boolean isFollowing()
Specified by:
isFollowing in class UserWithStatus

isNotifications

public boolean isNotifications()
Deprecated. use isNotificationsEnabled() instead

Specified by:
isNotifications in class UserWithStatus

isNotificationEnabled

public boolean isNotificationEnabled()
Since:
Twitter4J 2.0.1

getStatusesCount

public int getStatusesCount()
Specified by:
getStatusesCount in class UserWithStatus

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class User

hashCode

public int hashCode()
Overrides:
hashCode in class User

toString

public java.lang.String toString()
Overrides:
toString in class User