org.apache.uima.cas

## Interface AnnotationBaseFS

- All Superinterfaces:
    Cloneable, FeatureStructure
  All Known Subinterfaces:
    AnnotationBaseImpl, AnnotationFS, AnnotationImpl
  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

      `_getTypeCode, _id, clone, equals, getAddress, getBooleanValue, getByteValue, getCAS, getDoubleValue, getFeatureValue, getFeatureValueAsString, getFloatValue, getIntValue, getJCas, 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–2022 The Apache Software Foundation. All rights reserved.