class UserMentionEntityJSONImpl extends EntityIndex implements UserMentionEntity
| Modifier and Type | Field and Description |
|---|---|
private long |
id |
private java.lang.String |
name |
private java.lang.String |
screenName |
private static long |
serialVersionUID |
| Constructor and Description |
|---|
UserMentionEntityJSONImpl() |
UserMentionEntityJSONImpl(int start,
int end,
java.lang.String name,
java.lang.String screenName,
long id) |
UserMentionEntityJSONImpl(JSONObject json) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
int |
getEnd()
Returns the index of the end character of the user mention.
|
long |
getId()
Returns the user id mentioned in the status.
|
java.lang.String |
getName()
Returns the name mentioned in the status.
|
java.lang.String |
getScreenName()
Returns the screen name mentioned in the status.
|
int |
getStart()
Returns the index of the start character of the user mention.
|
java.lang.String |
getText()
Returns the screen name mentioned in the status.
|
int |
hashCode() |
private void |
init(JSONObject json) |
java.lang.String |
toString() |
compareTo, setEnd, setStartprivate static final long serialVersionUID
private java.lang.String name
private java.lang.String screenName
private long id
UserMentionEntityJSONImpl(JSONObject json) throws TwitterException
TwitterExceptionUserMentionEntityJSONImpl(int start,
int end,
java.lang.String name,
java.lang.String screenName,
long id)
UserMentionEntityJSONImpl()
private void init(JSONObject json) throws TwitterException
TwitterExceptionpublic java.lang.String getText()
UserMentionEntity.getScreenName()getText in interface TweetEntitygetText in interface UserMentionEntitypublic java.lang.String getName()
getName in interface UserMentionEntitypublic java.lang.String getScreenName()
getScreenName in interface UserMentionEntitypublic long getId()
getId in interface UserMentionEntitypublic int getStart()
getStart in interface TweetEntitygetStart in interface UserMentionEntitygetStart in class EntityIndexpublic int getEnd()
getEnd in interface TweetEntitygetEnd in interface UserMentionEntitygetEnd in class EntityIndexpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object