|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.gcube.contentmanagement.gcubemodellibrary.elements.InnerElements<GCubeAnnotation>
org.gcube.contentmanagement.gcubemodellibrary.elements.AnnotationElements
public class AnnotationElements
Method Summary | |
---|---|
void |
removeFromThread(GCubeAnnotation a)
Removes an annotation and the annotation that follow it in the thread, if any. |
GCubeAnnotation |
removeFromThread(java.lang.String id)
Removes an annotation and the annotation that follow it in the thread, if any. |
java.util.List<AnnotationThread> |
threads()
Returns the annotation threads in the document. |
Methods inherited from class org.gcube.contentmanagement.gcubemodellibrary.elements.InnerElements |
---|
add, contains, get, iterator, remove, remove, size, toList, toString |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public void removeFromThread(GCubeAnnotation a) throws java.lang.IllegalStateException
a
- the annotation.
java.lang.IllegalStateException
- if an annotation with the given identifier does not exist.public GCubeAnnotation removeFromThread(java.lang.String id) throws java.lang.IllegalStateException
a
- the annotation identifier.
java.lang.IllegalStateException
- if an annotation with the given identifier does not exist.public java.util.List<AnnotationThread> threads()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |