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 Thu Nov 28 10:35:55 CST 2013


Field Summary
static boolean featOkTst
           
static int typeIndexID
           
 
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
 String getDay(int addr)
           
protected  org.apache.uima.cas.impl.FSGenerator getFSGenerator()
           
 String getMonth(int addr)
           
 String getYear(int addr)
           
 void setDay(int addr, String v)
           
 void setMonth(int addr, String v)
           
 void setYear(int addr, String v)
           
 
Methods inherited from class org.apache.ctakes.typesystem.type.refsem.Element_Type
getConditional, getConfidence, getDiscoveryTechnique, getGeneric, getHistoryOf, getId, getMentions, getMentions, getOntologyConcept, getPolarity, getSubject, getUncertainty, setConditional, setConfidence, setDiscoveryTechnique, setGeneric, setHistoryOf, 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
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 String getDay(int addr)

setDay

public void setDay(int addr,
                   String v)

getMonth

public String getMonth(int addr)

setMonth

public void setMonth(int addr,
                     String v)

getYear

public String getYear(int addr)

setYear

public void setYear(int addr,
                    String v)


Copyright © 2012-2013 The Apache Software Foundation. All Rights Reserved.