|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecttwitter4j.Annotations
public class Annotations
A data class representing the Annotations of a Status or a Tweet
| Field Summary | |
|---|---|
static int |
lengthLimit
Deprecated. |
| Constructor Summary | |
|---|---|
Annotations()
Deprecated. Construct empty Annotations instance |
|
Annotations(twitter4j.internal.org.json.JSONArray jsonArray)
Deprecated. Construct Annotations instance from a JSON Array, returned from Twitter API Package visibility only! |
|
Annotations(List<Annotation> annotations)
Deprecated. Construct Annotations instance from an exisiting List of Annotation instances |
|
| Method Summary | |
|---|---|
void |
addAnnotation(Annotation annotation)
Deprecated. Adds a single Annotation to the List of Annotation instances |
Annotations |
annotation(Annotation annotation)
Deprecated. Adds a single Annotation to the List of Annotation instances |
boolean |
equals(Object obj)
Deprecated. |
List<Annotation> |
getAnnotations()
Deprecated. |
int |
hashCode()
Deprecated. |
boolean |
isEmpty()
Deprecated. |
boolean |
isExceedingLengthLimit()
Deprecated. |
static boolean |
isExceedingLengthLimit(Annotations annotations)
Deprecated. |
void |
setAnnotations(List<Annotation> annotations)
Deprecated. Sets the List of Annotation instances Ensures the class's property is not null |
Integer |
size()
Deprecated. |
String |
toString()
Deprecated. |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int lengthLimit
| Constructor Detail |
|---|
public Annotations()
public Annotations(List<Annotation> annotations)
annotations - - the List of Annotation instancespublic Annotations(twitter4j.internal.org.json.JSONArray jsonArray)
jsonArray - - the JSON Array| Method Detail |
|---|
public List<Annotation> getAnnotations()
public void setAnnotations(List<Annotation> annotations)
annotations - - the List of Annotation instancespublic void addAnnotation(Annotation annotation)
annotation - - the Annotation to addpublic Annotations annotation(Annotation annotation)
annotation - - the Annotation to add
public boolean isEmpty()
public Integer size()
public static boolean isExceedingLengthLimit(Annotations annotations)
annotations - - the instance to test
public boolean isExceedingLengthLimit()
public boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in class Objectpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||