public class TimeMention extends IdentifiedAnnotation
Modifier and Type | Field and Description |
---|---|
static int |
type |
static int |
typeIndexID |
Modifier | Constructor and Description |
---|---|
protected |
TimeMention()
Never called.
|
|
TimeMention(int addr,
TOP_Type type)
Internal - constructor used by generator
|
|
TimeMention(JCas jcas) |
|
TimeMention(JCas jcas,
int begin,
int end) |
Modifier and Type | Method and Description |
---|---|
Date |
getDate()
getter for date - gets
|
Time |
getTime()
getter for time - gets
|
java.lang.String |
getTimeClass()
getter for timeClass - gets DATE, DURATION, QUANTIFIER, PREPOSTEXP, etc.
|
int |
getTypeIndexID() |
private void |
readObject()
Write your own initialization here
|
void |
setDate(Date v)
setter for date - sets
|
void |
setTime(Time v)
setter for time - sets
|
void |
setTimeClass(java.lang.String v)
setter for timeClass - sets DATE, DURATION, QUANTIFIER, PREPOSTEXP, etc.
|
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
protected TimeMention()
public TimeMention(int addr, TOP_Type type)
addr
- low level Feature Structure referencetype
- the type of this Feature Structurepublic TimeMention(JCas jcas)
jcas
- JCas to which this Feature Structure belongspublic TimeMention(JCas jcas, int begin, int end)
jcas
- JCas to which this Feature Structure belongsbegin
- offset to the begin spot in the SofAend
- offset to the end spot in the SofApublic int getTypeIndexID()
getTypeIndexID
in class IdentifiedAnnotation
private void readObject()
public Date getDate()
public void setDate(Date v)
v
- value to set into the featurepublic Time getTime()
public void setTime(Time v)
v
- value to set into the featurepublic java.lang.String getTimeClass()
public void setTimeClass(java.lang.String v)
v
- value to set into the feature