RelationAnnotation (Apache OpenNLP Tools 2.5.9 API)
Description: declaration: package: opennlp.tools.formats.brat, class: RelationAnnotation

# Class RelationAnnotation

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

public class RelationAnnotation extends BratAnnotation

- ## Method Summary

  Modifier and Type
  Method
  Description
  `String`
  `getArg1()`
  `String`
  `getArg2()`
  `String`
  `toString()`

  ### Methods inherited from class BratAnnotation

  `getId, getNote, getType, setNote`

  ### Methods inherited from class Object

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

- ## Method Details

  - ### getArg1

    public String getArg1()

  - ### getArg2

    public String getArg2()

  - ### toString

    public String toString()
    Overrides:
      `toString` in class `BratAnnotation`