Class SimpleAnnotation

All Implemented Interfaces:
Cloneable, AnnotationBaseFS, FeatureStructure, AnnotationBaseImpl, AnnotationImpl, FeatureStructureImpl, AnnotationFS

public class SimpleAnnotation extends Annotation
Updated by JCasGen Thu Oct 08 18:41:33 CEST 2026 XML source: /Users/bluefire/git/uima-uimaj-release/target/checkout/uimaj-it-pear-with-typesystem/target/jcasgen/typesystem.xml
  • Field Details

    • _TypeName

      public static final String _TypeName
      See Also:
    • typeIndexID

      public static final int typeIndexID
    • type

      public static final int type
  • Constructor Details

    • SimpleAnnotation

      @Deprecated protected SimpleAnnotation()
      Deprecated.
      Never called. Disable default constructor
    • SimpleAnnotation

      public SimpleAnnotation(TypeImpl type, CASImpl casImpl)
      Internal - constructor used by generator
      Parameters:
      type - the type of this Feature Structure
      casImpl - the CAS this Feature Structure belongs to
    • SimpleAnnotation

      public SimpleAnnotation(JCas jcas)
      Parameters:
      jcas - JCas to which this Feature Structure belongs
    • SimpleAnnotation

      public SimpleAnnotation(JCas jcas, int begin, int end)
      Parameters:
      jcas - JCas to which this Feature Structure belongs
      begin - offset to the begin spot in the SofA
      end - offset to the end spot in the SofA
  • Method Details

    • getTypeIndexID

      public int getTypeIndexID()
      Overrides:
      getTypeIndexID in class Annotation
      Returns:
      index of the type