public class Date extends Metadatum
| Modifier and Type | Field and Description |
|---|---|
static int |
type |
static int |
typeIndexID |
| Modifier | Constructor and Description |
|---|---|
protected |
Date()
Never called.
|
|
Date(int addr,
org.apache.uima.jcas.cas.TOP_Type type)
Internal - constructor used by generator
|
|
Date(org.apache.uima.jcas.JCas jcas) |
|
Date(org.apache.uima.jcas.JCas jcas,
int begin,
int end) |
| Modifier and Type | Method and Description |
|---|---|
int |
getTypeIndexID() |
int |
getYear()
getter for Year - gets The year of the date
|
void |
setYear(int v)
setter for Year - sets The year of the date
|
getBegin, getCoveredText, getEnd, getStart, setBegin, setEndaddToIndexes, addToIndexes, equals, getAddress, getCAS, getCASImpl, getLowLevelCas, hashCode, removeFromIndexes, removeFromIndexesclone, getavoidcollisionTypeCode, getBooleanValue, getByteValue, getDoubleValue, getFeatureValue, getFeatureValueAsString, getFloatValue, getIntValue, getLongValue, getShortValue, getStringValue, getType, prettyPrint, prettyPrint, prettyPrint, setBooleanValue, setByteValue, setDoubleValue, setFeatureValue, setFeatureValueFromString, setFloatValue, setIntValue, setLongValue, setShortValue, setStringValue, toString, toStringfinalize, getClass, notify, notifyAll, wait, wait, waitclone, equals, getBooleanValue, getByteValue, getCAS, getDoubleValue, getFeatureValue, getFeatureValueAsString, getFloatValue, getIntValue, getLongValue, getShortValue, getStringValue, getType, hashCode, setBooleanValue, setByteValue, setDoubleValue, setFeatureValue, setFeatureValueFromString, setFloatValue, setIntValue, setLongValue, setShortValue, setStringValuepublic static final int typeIndexID
public static final int type
protected Date()
public Date(int addr,
org.apache.uima.jcas.cas.TOP_Type type)
addr - low level Feature Structure referencetype - the type of this Feature Structurepublic Date(org.apache.uima.jcas.JCas jcas)
jcas - JCas to which this Feature Structure belongspublic Date(org.apache.uima.jcas.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 Metadatumpublic int getYear()
public void setYear(int v)
v - value to set into the featureCopyright © 2016. All rights reserved.