public class KeyValuePair
extends org.apache.uima.jcas.cas.TOP
Modifier and Type | Field and Description |
---|---|
static int |
type |
static int |
typeIndexID |
Modifier | Constructor and Description |
---|---|
protected |
KeyValuePair()
Never called.
|
|
KeyValuePair(int addr,
org.apache.uima.jcas.cas.TOP_Type type)
Internal - constructor used by generator
|
|
KeyValuePair(org.apache.uima.jcas.JCas jcas) |
Modifier and Type | Method and Description |
---|---|
String |
getKey()
getter for key - gets
|
int |
getTypeIndexID() |
long |
getValueLong()
getter for valueLong - gets
|
String |
getValueString()
getter for valueString - gets
|
void |
setKey(String v)
setter for key - sets
|
void |
setValueLong(long v)
setter for valueLong - sets
|
void |
setValueString(String v)
setter for valueString - sets
|
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
protected KeyValuePair()
public KeyValuePair(int addr, org.apache.uima.jcas.cas.TOP_Type type)
addr
- low level Feature Structure referencetype
- the type of this Feature Structurepublic KeyValuePair(org.apache.uima.jcas.JCas jcas)
jcas
- JCas to which this Feature Structure belongspublic int getTypeIndexID()
getTypeIndexID
in class org.apache.uima.jcas.cas.TOP
public String getKey()
public void setKey(String v)
v
- value to set into the featurepublic long getValueLong()
public void setValueLong(long v)
v
- value to set into the featurepublic String getValueString()
public void setValueString(String v)
v
- value to set into the featureCopyright © 2012-2017 The Apache Software Foundation. All Rights Reserved.