twitter4j
Interface Status

All Superinterfaces:
java.io.Serializable, TwitterResponse
All Known Implementing Classes:
StatusJSONImpl

public interface Status
extends TwitterResponse, java.io.Serializable

A data interface representing one single status of a user.

Author:
Yusuke Yamamoto - yusuke at mac.com

Method Summary
 java.util.Date getCreatedAt()
          Return the created_at
 GeoLocation getGeoLocation()
          Returns The location that this tweet refers to if available.
 long getId()
          Returns the id of the status
 java.lang.String getInReplyToScreenName()
          Returns the in_reply_to_screen_name
 long getInReplyToStatusId()
          Returns the in_reply_tostatus_id
 int getInReplyToUserId()
          Returns the in_reply_user_id
 Status getRetweetedStatus()
           
 java.lang.String getSource()
          Returns the source
 java.lang.String getText()
          Returns the text of the status
 User getUser()
          Return the user
 boolean isFavorited()
          Test if the status is favorited
 boolean isRetweet()
           
 boolean isTruncated()
          Test if the status is truncated
 
Methods inherited from interface twitter4j.TwitterResponse
getRateLimitStatus
 

Method Detail

getCreatedAt

java.util.Date getCreatedAt()
Return the created_at

Returns:
created_at
Since:
Twitter4J 1.1.0

getId

long getId()
Returns the id of the status

Returns:
the id

getText

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

Returns:
the text

getSource

java.lang.String getSource()
Returns the source

Returns:
the source
Since:
Twitter4J 1.0.4

isTruncated

boolean isTruncated()
Test if the status is truncated

Returns:
true if truncated
Since:
Twitter4J 1.0.4

getInReplyToStatusId

long getInReplyToStatusId()
Returns the in_reply_tostatus_id

Returns:
the in_reply_tostatus_id
Since:
Twitter4J 1.0.4

getInReplyToUserId

int getInReplyToUserId()
Returns the in_reply_user_id

Returns:
the in_reply_tostatus_id
Since:
Twitter4J 1.0.4

getInReplyToScreenName

java.lang.String getInReplyToScreenName()
Returns the in_reply_to_screen_name

Returns:
the in_in_reply_to_screen_name
Since:
Twitter4J 2.0.4

getGeoLocation

GeoLocation getGeoLocation()
Returns The location that this tweet refers to if available.

Returns:
returns The location that this tweet refers to if available (can be null)
Since:
Twitter4J 2.1.0

isFavorited

boolean isFavorited()
Test if the status is favorited

Returns:
true if favorited
Since:
Twitter4J 1.0.4

getUser

User getUser()
Return the user

Returns:
the user

isRetweet

boolean isRetweet()
Since:
Twitter4J 2.0.10

getRetweetedStatus

Status getRetweetedStatus()
Since:
Twitter4J 2.1.0