org.apache.uima.tutorial
Class DateTimeAnnot

java.lang.Object
  extended by org.apache.uima.cas.impl.FeatureStructureImpl
      extended by org.apache.uima.jcas.cas.TOP
          extended by org.apache.uima.jcas.cas.AnnotationBase
              extended by org.apache.uima.jcas.tcas.Annotation
                  extended by org.apache.uima.tutorial.DateTimeAnnot
All Implemented Interfaces:
java.lang.Cloneable, AnnotationBaseFS, FeatureStructure, AnnotationFS
Direct Known Subclasses:
DateAnnot, TimeAnnot

public class DateTimeAnnot
extends Annotation

Updated by JCasGen Mon Nov 29 15:02:38 EST 2004 XML source: C:/Program Files/apache/uima/examples/descriptors/tutorial/ex6/TutorialTypeSystem.xml


Field Summary
static int type
           
static int typeIndexID
           
 
Fields inherited from class org.apache.uima.jcas.cas.TOP
addr, jcasType
 
Constructor Summary
protected DateTimeAnnot()
          Never called.
  DateTimeAnnot(int addr, TOP_Type type)
          Internal - constructor used by generator
  DateTimeAnnot(JCas jcas)
           
  DateTimeAnnot(JCas jcas, int begin, int end)
           
 
Method Summary
 java.lang.String getShortDateString()
          getter for shortDateString - gets
 int getTypeIndexID()
          used to obtain reference to the TOP_Type instance
 void setShortDateString(java.lang.String v)
          setter for shortDateString - sets
 
Methods inherited from class org.apache.uima.jcas.tcas.Annotation
getBegin, getCoveredText, getEnd, getStart, setBegin, setEnd
 
Methods inherited from class org.apache.uima.jcas.cas.AnnotationBase
getSofa, getView
 
Methods inherited from class org.apache.uima.jcas.cas.TOP
addToIndexes, addToIndexes, equals, getAddress, getCAS, getCASImpl, getLowLevelCas, hashCode, removeFromIndexes, removeFromIndexes
 
Methods inherited from class org.apache.uima.cas.impl.FeatureStructureImpl
clone, getBooleanValue, getByteValue, getDoubleValue, getFeatureValue, getFeatureValueAsString, getFloatValue, getIntValue, getLongValue, getShortValue, getStringValue, getType, prettyPrint, prettyPrint, prettyPrint, setBooleanValue, setByteValue, setDoubleValue, setFeatureValue, setFeatureValueFromString, setFloatValue, setIntValue, setLongValue, setShortValue, setStringValue, toString, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.apache.uima.cas.AnnotationBaseFS
getView
 
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
 

Field Detail

typeIndexID

public static final int typeIndexID

type

public static final int type
Constructor Detail

DateTimeAnnot

protected DateTimeAnnot()
Never called. Disable default constructor


DateTimeAnnot

public DateTimeAnnot(int addr,
                     TOP_Type type)
Internal - constructor used by generator


DateTimeAnnot

public DateTimeAnnot(JCas jcas)

DateTimeAnnot

public DateTimeAnnot(JCas jcas,
                     int begin,
                     int end)
Method Detail

getTypeIndexID

public int getTypeIndexID()
Description copied from class: TOP
used to obtain reference to the TOP_Type instance

Overrides:
getTypeIndexID in class Annotation
Returns:
the type array index

getShortDateString

public java.lang.String getShortDateString()
getter for shortDateString - gets


setShortDateString

public void setShortDateString(java.lang.String v)
setter for shortDateString - sets



Copyright © 2010 The Apache Software Foundation. All Rights Reserved.