Class DateTimeAnnotation

All Implemented Interfaces:
Cloneable, AnnotationBaseFS, FeatureStructure, AnnotationBaseImpl, AnnotationImpl, FeatureStructureImpl, AnnotationFS
Direct Known Subclasses:
DateAnnotation, TimeAnnotation

public class DateTimeAnnotation extends Annotation
Updated by JCasGen Thu Oct 08 18:40:03 CEST 2026 XML source: /Users/bluefire/git/uima-uimaj-release/target/checkout/uimafit-examples/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
    • _FeatName_shortDateString

      public static final String _FeatName_shortDateString
      See Also:
  • Constructor Details

    • DateTimeAnnotation

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

      public DateTimeAnnotation(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
    • DateTimeAnnotation

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

      public DateTimeAnnotation(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
    • getShortDateString

      public String getShortDateString()
      getter for shortDateString - gets
      Returns:
      value of the feature
    • setShortDateString

      public void setShortDateString(String v)
      setter for shortDateString - sets
      Parameters:
      v - value to set into the feature