public class KeyValuePair_Type
extends org.apache.uima.jcas.cas.TOP_Type
Modifier and Type | Field and Description |
---|---|
static boolean |
featOkTst |
static int |
typeIndexID |
Constructor and Description |
---|
KeyValuePair_Type(org.apache.uima.jcas.JCas jcas,
org.apache.uima.cas.Type casType)
initialize variables to correspond with Cas Type and Features
|
Modifier and Type | Method and Description |
---|---|
String |
getKey(int addr) |
long |
getValueLong(int addr) |
String |
getValueString(int addr) |
void |
setKey(int addr,
String v) |
void |
setValueLong(int addr,
long v) |
void |
setValueString(int addr,
String v) |
public static final int typeIndexID
public static final boolean featOkTst
public KeyValuePair_Type(org.apache.uima.jcas.JCas jcas, org.apache.uima.cas.Type casType)
jcas
- JCascasType
- Typepublic String getKey(int addr)
addr
- low level Feature Structure referencepublic void setKey(int addr, String v)
addr
- low level Feature Structure referencev
- value to setpublic long getValueLong(int addr)
addr
- low level Feature Structure referencepublic void setValueLong(int addr, long v)
addr
- low level Feature Structure referencev
- value to setpublic String getValueString(int addr)
addr
- low level Feature Structure referencepublic void setValueString(int addr, String v)
addr
- low level Feature Structure referencev
- value to setCopyright © 2012-2017 The Apache Software Foundation. All Rights Reserved.