opennlp.tools.formats.brat

## Class BratAnnotation

- java.lang.Object
- - opennlp.tools.formats.brat.BratAnnotation

- Direct Known Subclasses:
    AnnotatorNoteAnnotation, AttributeAnnotation, EventAnnotation, RelationAnnotation, SpanAnnotation

      public abstract class BratAnnotation
      extends Object

- - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `String` | `getId()`
    `String` | `getNote()`
    `String` | `getType()`
    `void` | `setNote(String note)`
    `String` | `toString()`

    - ### Methods inherited from class java.lang.Object

      `equals, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Method Detail

    - #### getId

          public String getId()

    - #### getType

          public String getType()

    - #### setNote

          public void setNote(String note)

    - #### getNote

          public String getNote()

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`

Copyright © 2026 The Apache Software Foundation. All rights reserved.