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, setStart
private static final long serialVersionUID
private java.lang.String name
private java.lang.String screenName
private long id
UserMentionEntityJSONImpl(JSONObject json) throws TwitterException
TwitterException
UserMentionEntityJSONImpl(int start, int end, java.lang.String name, java.lang.String screenName, long id)
UserMentionEntityJSONImpl()
private void init(JSONObject json) throws TwitterException
TwitterException
public java.lang.String getText()
UserMentionEntity.getScreenName()
getText
in interface TweetEntity
getText
in interface UserMentionEntity
public java.lang.String getName()
getName
in interface UserMentionEntity
public java.lang.String getScreenName()
getScreenName
in interface UserMentionEntity
public long getId()
getId
in interface UserMentionEntity
public int getStart()
getStart
in interface TweetEntity
getStart
in interface UserMentionEntity
getStart
in class EntityIndex
public int getEnd()
getEnd
in interface TweetEntity
getEnd
in interface UserMentionEntity
getEnd
in class EntityIndex
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object