org.apache.uima.cas

## Interface AnnotationBaseFS

- All Superinterfaces:
    FeatureStructure
  All Known Subinterfaces:
    AnnotationFS
  All Known Implementing Classes:
    Annotation, AnnotationBase, DocumentAnnotation, SourceDocumentInformation

      public interface AnnotationBaseFS
      extends FeatureStructure

  Annotation Base API.

  The `AnnotationBase` object holds one feature, the Sofa, which is a reference to the SofaFS object associated with subtypes of this type.

  It implements the methods to get the CAS view associated with this sofa.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `CAS` | `getView()` Gets the CAS view associated with the Sofa that this Annotation is over.

    - ### Methods inherited from interface org.apache.uima.cas.FeatureStructure

      `clone, equals, getBooleanValue, getByteValue, getCAS, getDoubleValue, getFeatureValue, getFeatureValueAsString, getFloatValue, getIntValue, getLongValue, getShortValue, getStringValue, getType, hashCode, setBooleanValue, setByteValue, setDoubleValue, setFeatureValue, setFeatureValueFromString, setFloatValue, setIntValue, setLongValue, setShortValue, setStringValue`

- - ### Method Detail

    - #### getView

          CAS getView()

      Gets the CAS view associated with the Sofa that this Annotation is over.
      Returns:
        the CAS view associated with the Annotation's Sofa

Copyright © 2006–2019 The Apache Software Foundation. All rights reserved.