public class DocKey
extends org.apache.uima.jcas.tcas.Annotation
Modifier and Type | Field and Description |
---|---|
static int |
type |
static int |
typeIndexID |
Modifier | Constructor and Description |
---|---|
protected |
DocKey()
Never called.
|
|
DocKey(int addr,
org.apache.uima.jcas.cas.TOP_Type type)
Internal - constructor used by generator
|
|
DocKey(org.apache.uima.jcas.JCas jcas) |
|
DocKey(org.apache.uima.jcas.JCas jcas,
int begin,
int end) |
Modifier and Type | Method and Description |
---|---|
org.apache.uima.jcas.cas.FSArray |
getKeyValuePairs()
getter for keyValuePairs - gets
|
KeyValuePair |
getKeyValuePairs(int i)
indexed getter for keyValuePairs - gets an indexed value -
|
int |
getTypeIndexID() |
void |
setKeyValuePairs(org.apache.uima.jcas.cas.FSArray v)
setter for keyValuePairs - sets
|
void |
setKeyValuePairs(int i,
KeyValuePair v)
indexed setter for keyValuePairs - sets an indexed value -
|
getBegin, getCoveredText, getEnd, getStart, setBegin, setEnd
addToIndexes, addToIndexes, equals, getAddress, getCAS, getCASImpl, getLowLevelCas, hashCode, removeFromIndexes, removeFromIndexes
clone, 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, toString
finalize, getClass, notify, notifyAll, wait, wait, wait
clone, equals, getBooleanValue, getByteValue, getCAS, getDoubleValue, getFeatureValue, getFeatureValueAsString, getFloatValue, getIntValue, getLongValue, getShortValue, getStringValue, getType, hashCode, setBooleanValue, setByteValue, setDoubleValue, setFeatureValue, setFeatureValueFromString, setFloatValue, setIntValue, setLongValue, setShortValue, setStringValue
protected DocKey()
public DocKey(int addr, org.apache.uima.jcas.cas.TOP_Type type)
addr
- low level Feature Structure referencetype
- the type of this Feature Structurepublic DocKey(org.apache.uima.jcas.JCas jcas)
jcas
- JCas to which this Feature Structure belongspublic DocKey(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 org.apache.uima.jcas.tcas.Annotation
public org.apache.uima.jcas.cas.FSArray getKeyValuePairs()
public void setKeyValuePairs(org.apache.uima.jcas.cas.FSArray v)
v
- value to set into the featurepublic KeyValuePair getKeyValuePairs(int i)
i
- index in the array to getpublic void setKeyValuePairs(int i, KeyValuePair v)
i
- index in the array to setv
- value to set into the arrayCopyright © 2012-2017 The Apache Software Foundation. All Rights Reserved.