|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.gcube.contentmanagement.gcubemodellibrary.elements.AnnotationThread
public class AnnotationThread
A tree-shaped thread of annotation.
Constructor Summary | |
---|---|
AnnotationThread(GCubeAnnotation a)
Creates a thread rooted in a given annotation. |
|
AnnotationThread(GCubeAnnotation a,
java.util.List<AnnotationThread> threads)
Creates a thread rooted in a given annotation and with zero or more response threads. |
Method Summary | |
---|---|
GCubeAnnotation |
annotation()
|
java.util.List<GCubeAnnotation> |
annotations()
Returns the annotation in the thread. |
java.util.List<AnnotationThread> |
answers()
Returns the threads that answer to the annotation of this thread. |
boolean |
contains(GCubeAnnotation a)
Returns true if the thread contains a given annotation. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public AnnotationThread(GCubeAnnotation a)
a
- annotationpublic AnnotationThread(GCubeAnnotation a, java.util.List<AnnotationThread> threads)
Method Detail |
---|
public GCubeAnnotation annotation()
public java.util.List<AnnotationThread> answers()
public boolean contains(GCubeAnnotation a)
true
if the thread contains a given annotation.
a
- the annotation.
true
if the thread contains the annotation.public java.util.List<GCubeAnnotation> annotations()
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |