LinkedAnnotations Class Reference

Inheritance diagram for LinkedAnnotations:
Collaboration diagram for LinkedAnnotations:

List of all members.

Detailed Description

Default implementation of an ILinkedAnnotations dataobject.


Public Methods

 LinkedAnnotations (String label)
 LinkedAnnotations ()
Set< Annotation<?> > getLinkedAnnotations ()
void addLinkedItem (Annotation<?> annotation)
String getLabel ()
void setLabel (String label)
long getId ()
void setId (long id)


LinkedAnnotations ( String  label)

Method Details

void addLinkedItem ( Annotation<?>  annotation)
long getId ( ) [inherited]

Returns the Id of this DataObject. Might return 0, if the object hasn't been inserted into database yet.


Implements DataObject.

Reimplemented in Tweet, and TwitterEntity.

String getLabel ( ) [inherited]

Returns the label of this token, which can be any kind of string (except null), mainly used for display-reasons only. Note: Components MUST NOT assume that any kind of label (like 'word' or else) is returned by this method.

Implements ILabeledElement.

Reimplemented in TEIDramaSpeaker, TEIDramaSpeechAct, TEIDramaStage, JodaDateTime, JodaInterval, JodaPeriod, Timex, Tweet, and TwitterEntity.

Set<Annotation<?> > getLinkedAnnotations ( )

Returns the list of linked annotations. Never returns null. Depending on the concrete sub-interface, however, the number of elements in the returned collection can vary.

Implements ILinkedAnnotations.

Reimplemented in SequencerReplacement.

void setId ( long  id) [inherited]

Set the Id of this DataObject.


Implements DataObject.

Reimplemented in Tweet, and TwitterEntity.

void setLabel ( String  label) [inherited]