twitter4j
Class Status

java.lang.Object
  twitter4j.TwitterResponse
      twitter4j.Status
All Implemented Interfaces:
java.io.Serializable

public class Status
extends TwitterResponse
implements java.io.Serializable

A data class representing one single status of a user.

See Also:
Serialized Form

Method Summary
 boolean equals(java.lang.Object obj)
           
 java.util.Date getCreatedAt()
          Return the created_at
 long getId()
          Returns the id of the status
 long getInReplyToStatusId()
          Returns the in_reply_tostatus_id
 int getInReplyToUserId()
          Returns the in_reply_user_id
 java.lang.String getSource()
          Returns the source
 java.lang.String getText()
          Returns the text of the status
 User getUser()
          Return the user
 int hashCode()
           
 boolean isFavorited()
          Test if the status is favorited
 boolean isTruncated()
          Test if the status is truncated
 java.lang.String toString()
           
 
Methods inherited from class twitter4j.TwitterResponse
encodeDate, ensureRootNodeNameIs, ensureRootNodeNameIs, ensureRootNodeNameIs, getChildBoolean, getChildDate, getChildDate, getChildInt, getChildLong, getChildText, isRootNodeNilClasses
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

getCreatedAt

public java.util.Date getCreatedAt()
Return the created_at

Returns:
created_at
Since:
Twitter4J 1.1.0

getId

public long getId()
Returns the id of the status

Returns:
the id

getText

public java.lang.String getText()
Returns the text of the status

Returns:
the text

getSource

public java.lang.String getSource()
Returns the source

Returns:
the source
Since:
Twitter4J 1.0.4

isTruncated

public boolean isTruncated()
Test if the status is truncated

Returns:
true if truncated
Since:
Twitter4J 1.0.4

getInReplyToStatusId

public long getInReplyToStatusId()
Returns the in_reply_tostatus_id

Returns:
the in_reply_tostatus_id
Since:
Twitter4J 1.0.4

getInReplyToUserId

public int getInReplyToUserId()
Returns the in_reply_user_id

Returns:
the in_reply_tostatus_id
Since:
Twitter4J 1.0.4

isFavorited

public boolean isFavorited()
Test if the status is favorited

Returns:
true if favorited
Since:
Twitter4J 1.0.4

getUser

public User getUser()
Return the user

Returns:
the user

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

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

toString

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