org.apache.ctakes.typesystem.type.refsem
Class Date_Type

java.lang.Object
  extended by org.apache.uima.jcas.cas.TOP_Type
      extended by org.apache.ctakes.typesystem.type.refsem.Element_Type
          extended by org.apache.ctakes.typesystem.type.refsem.Date_Type

public class Date_Type
extends Element_Type

A normalized form for dates, namely with day, month, and year. A subtype of Element but may not use all inherited attributes. Updated by JCasGen Tue Apr 09 11:44:33 EDT 2013


Field Summary
(package private)  org.apache.uima.cas.Feature casFeat_day
           
(package private)  org.apache.uima.cas.Feature casFeat_month
           
(package private)  org.apache.uima.cas.Feature casFeat_year
           
(package private)  int casFeatCode_day
           
(package private)  int casFeatCode_month
           
(package private)  int casFeatCode_year
           
static boolean featOkTst
           
static int typeIndexID
           
 
Fields inherited from class org.apache.ctakes.typesystem.type.refsem.Element_Type
casFeat_conditional, casFeat_confidence, casFeat_discoveryTechnique, casFeat_generic, casFeat_id, casFeat_mentions, casFeat_ontologyConcept, casFeat_polarity, casFeat_subject, casFeat_uncertainty, casFeatCode_conditional, casFeatCode_confidence, casFeatCode_discoveryTechnique, casFeatCode_generic, casFeatCode_id, casFeatCode_mentions, casFeatCode_ontologyConcept, casFeatCode_polarity, casFeatCode_subject, casFeatCode_uncertainty
 
Fields inherited from class org.apache.uima.jcas.cas.TOP_Type
casImpl, casType, casTypeCode, instanceOf_Type, jcas, ll_cas, lowLevelArrayBoundChecks, lowLevelTypeChecks, useExistingInstance
 
Constructor Summary
Date_Type(org.apache.uima.jcas.JCas jcas, org.apache.uima.cas.Type casType)
          initialize variables to correspond with Cas Type and Features
 
Method Summary
 java.lang.String getDay(int addr)
           
protected  org.apache.uima.cas.impl.FSGenerator getFSGenerator()
           
 java.lang.String getMonth(int addr)
           
 java.lang.String getYear(int addr)
           
 void setDay(int addr, java.lang.String v)
           
 void setMonth(int addr, java.lang.String v)
           
 void setYear(int addr, java.lang.String v)
           
 
Methods inherited from class org.apache.ctakes.typesystem.type.refsem.Element_Type
getConditional, getConfidence, getDiscoveryTechnique, getGeneric, getId, getMentions, getMentions, getOntologyConcept, getPolarity, getSubject, getUncertainty, setConditional, setConfidence, setDiscoveryTechnique, setGeneric, setId, setMentions, setMentions, setOntologyConcept, setPolarity, setSubject, setUncertainty
 
Methods inherited from class org.apache.uima.jcas.cas.TOP_Type
addToIndexes, checkType, getTypeIndexID, invalidTypeArg, noObjCreate, removeFromIndexes
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

typeIndexID

public static final int typeIndexID

featOkTst

public static final boolean featOkTst

casFeat_day

final org.apache.uima.cas.Feature casFeat_day

casFeatCode_day

final int casFeatCode_day

casFeat_month

final org.apache.uima.cas.Feature casFeat_month

casFeatCode_month

final int casFeatCode_month

casFeat_year

final org.apache.uima.cas.Feature casFeat_year

casFeatCode_year

final int casFeatCode_year
Constructor Detail

Date_Type

public Date_Type(org.apache.uima.jcas.JCas jcas,
                 org.apache.uima.cas.Type casType)
initialize variables to correspond with Cas Type and Features

Method Detail

getFSGenerator

protected org.apache.uima.cas.impl.FSGenerator getFSGenerator()
Overrides:
getFSGenerator in class Element_Type

getDay

public java.lang.String getDay(int addr)

setDay

public void setDay(int addr,
                   java.lang.String v)

getMonth

public java.lang.String getMonth(int addr)

setMonth

public void setMonth(int addr,
                     java.lang.String v)

getYear

public java.lang.String getYear(int addr)

setYear

public void setYear(int addr,
                    java.lang.String v)