anl.aida.types
Class Date

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 anl.aida.types.Date
All Implemented Interfaces:
java.lang.Cloneable, org.apache.uima.cas.AnnotationBaseFS, org.apache.uima.cas.FeatureStructure, org.apache.uima.cas.text.AnnotationFS

public class Date
extends org.apache.uima.jcas.tcas.Annotation

Updated by JCasGen Mon Mar 16 15:58:25 EDT 2009 XML source: /Users/nick/Documents/workspace/fusion/Core/desc/DocumentMetaData.xml


Field Summary
static int type
           
static int typeIndexID
           
 
Fields inherited from class org.apache.uima.jcas.cas.TOP
addr, jcasType
 
Constructor Summary
protected Date()
          Never called.
  Date(int addr, org.apache.uima.jcas.cas.TOP_Type type)
          Internal - constructor used by generator
  Date(org.apache.uima.jcas.JCas jcas)
           
  Date(org.apache.uima.jcas.JCas jcas, int begin, int end)
           
 
Method Summary
 int getDay()
          getter for day - gets
 int getMonth()
          getter for month - gets
 int getTypeIndexID()
           
 int getYear()
          getter for year - gets
private  void readObject()
          Write your own initialization here
 void setDay(int v)
          setter for day - sets
 void setMonth(int v)
          setter for month - sets
 void setYear(int v)
          setter for year - 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

Date

protected Date()
Never called. Disable default constructor


Date

public Date(int addr,
            org.apache.uima.jcas.cas.TOP_Type type)
Internal - constructor used by generator


Date

public Date(org.apache.uima.jcas.JCas jcas)

Date

public Date(org.apache.uima.jcas.JCas jcas,
            int begin,
            int end)
Method Detail

getTypeIndexID

public int getTypeIndexID()
Overrides:
getTypeIndexID in class org.apache.uima.jcas.tcas.Annotation

readObject

private void readObject()
Write your own initialization here


getYear

public int getYear()
getter for year - gets


setYear

public void setYear(int v)
setter for year - sets


getMonth

public int getMonth()
getter for month - gets


setMonth

public void setMonth(int v)
setter for month - sets


getDay

public int getDay()
getter for day - gets


setDay

public void setDay(int v)
setter for day - sets