public class TimeMention_Type extends IdentifiedAnnotation_Type
Modifier and Type | Field and Description |
---|---|
(package private) Feature |
casFeat_date |
(package private) Feature |
casFeat_time |
(package private) Feature |
casFeat_timeClass |
(package private) int |
casFeatCode_date |
(package private) int |
casFeatCode_time |
(package private) int |
casFeatCode_timeClass |
static boolean |
featOkTst |
private FSGenerator |
fsGenerator |
static int |
typeIndexID |
casFeat_conditional, casFeat_confidence, casFeat_discoveryTechnique, casFeat_generic, casFeat_historyOf, casFeat_id, casFeat_ontologyConceptArr, casFeat_originalText, casFeat_polarity, casFeat_segmentID, casFeat_sentenceID, casFeat_subject, casFeat_typeID, casFeat_uncertainty, casFeatCode_conditional, casFeatCode_confidence, casFeatCode_discoveryTechnique, casFeatCode_generic, casFeatCode_historyOf, casFeatCode_id, casFeatCode_ontologyConceptArr, casFeatCode_originalText, casFeatCode_polarity, casFeatCode_segmentID, casFeatCode_sentenceID, casFeatCode_subject, casFeatCode_typeID, casFeatCode_uncertainty
Constructor and Description |
---|
TimeMention_Type(JCas jcas,
Type casType)
initialize variables to correspond with Cas Type and Features
|
Modifier and Type | Method and Description |
---|---|
int |
getDate(int addr) |
protected FSGenerator |
getFSGenerator() |
int |
getTime(int addr) |
java.lang.String |
getTimeClass(int addr) |
void |
setDate(int addr,
int v) |
void |
setTime(int addr,
int v) |
void |
setTimeClass(int addr,
java.lang.String v) |
getConditional, getConfidence, getDiscoveryTechnique, getGeneric, getHistoryOf, getId, getOntologyConceptArr, getOntologyConceptArr, getOriginalText, getOriginalText, getPolarity, getSegmentID, getSentenceID, getSubject, getTypeID, getUncertainty, setConditional, setConfidence, setDiscoveryTechnique, setGeneric, setHistoryOf, setId, setOntologyConceptArr, setOntologyConceptArr, setOriginalText, setOriginalText, setPolarity, setSegmentID, setSentenceID, setSubject, setTypeID, setUncertainty
private final FSGenerator fsGenerator
public static final int typeIndexID
public static final boolean featOkTst
final Feature casFeat_date
final int casFeatCode_date
final Feature casFeat_time
final int casFeatCode_time
final Feature casFeat_timeClass
final int casFeatCode_timeClass
public TimeMention_Type(JCas jcas, Type casType)
jcas
- JCascasType
- Typeprotected FSGenerator getFSGenerator()
getFSGenerator
in class IdentifiedAnnotation_Type
public int getDate(int addr)
addr
- low level Feature Structure referencepublic void setDate(int addr, int v)
addr
- low level Feature Structure referencev
- value to setpublic int getTime(int addr)
addr
- low level Feature Structure referencepublic void setTime(int addr, int v)
addr
- low level Feature Structure referencev
- value to setpublic java.lang.String getTimeClass(int addr)
addr
- low level Feature Structure referencepublic void setTimeClass(int addr, java.lang.String v)
addr
- low level Feature Structure referencev
- value to set