public class Date extends Element
Modifier and Type | Field and Description |
---|---|
static int |
type |
static int |
typeIndexID |
Modifier | Constructor and Description |
---|---|
protected |
Date()
Never called.
|
|
Date(int addr,
TOP_Type type)
Internal - constructor used by generator
|
|
Date(JCas jcas) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDay()
getter for day - gets
|
java.lang.String |
getMonth()
getter for month - gets
|
int |
getTypeIndexID() |
java.lang.String |
getYear()
getter for year - gets
|
private void |
readObject()
Write your own initialization here
|
void |
setDay(java.lang.String v)
setter for day - sets
|
void |
setMonth(java.lang.String v)
setter for month - sets
|
void |
setYear(java.lang.String v)
setter for year - sets
|
getConditional, getConfidence, getDiscoveryTechnique, getGeneric, getHistoryOf, getId, getMentions, getMentions, getOntologyConcept, getPolarity, getSubject, getUncertainty, setConditional, setConfidence, setDiscoveryTechnique, setGeneric, setHistoryOf, setId, setMentions, setMentions, setOntologyConcept, setPolarity, setSubject, setUncertainty
protected Date()
public Date(int addr, TOP_Type type)
addr
- low level Feature Structure referencetype
- the type of this Feature Structurepublic Date(JCas jcas)
jcas
- JCas to which this Feature Structure belongspublic int getTypeIndexID()
getTypeIndexID
in class Element
private void readObject()
public java.lang.String getDay()
public void setDay(java.lang.String v)
v
- value to set into the featurepublic java.lang.String getMonth()
public void setMonth(java.lang.String v)
v
- value to set into the featurepublic java.lang.String getYear()
public void setYear(java.lang.String v)
v
- value to set into the feature