|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.twitterapime.model.DefaultEntity
com.twitterapime.rest.UserAccount
public final class UserAccount
This class defines an entity that represents a user's account.
UserAccountManager
Field Summary |
---|
Fields inherited from class com.twitterapime.model.DefaultEntity |
---|
data |
Constructor Summary | |
---|---|
UserAccount()
Create an instance of UserAccount class. |
|
UserAccount(java.util.Hashtable data)
Create an instance of UserAccount class. |
|
UserAccount(java.lang.String userNameOrID)
Create an instance of UserAccount class. This constructor is used when the UserAccount object is going to be used for Follow or Unfollow operations on UserAccountManager . |
Method Summary | |
---|---|
Tweet |
getLastTweet()
Get the last tweet posted by the user. |
Methods inherited from class com.twitterapime.model.DefaultEntity |
---|
equals, getArray, getDate, getInt, getLong, getObject, getString, hashCode, setData, setData, size, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public UserAccount()
Create an instance of UserAccount class.
public UserAccount(java.util.Hashtable data)
Create an instance of UserAccount class.
data
- The initial attributes/values.public UserAccount(java.lang.String userNameOrID)
Create an instance of UserAccount class.
This constructor is used when the UserAccount object is going to be
used for Follow or Unfollow operations on UserAccountManager
.
userNameOrID
- Username or ID.
java.lang.IllegalArgumentException
- If userNameOrID is empty/null.Method Detail |
---|
public Tweet getLastTweet()
Get the last tweet posted by the user.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |