public class KeyValuePair
extends TOP
Modifier and Type | Field and Description |
---|---|
static int |
type |
static int |
typeIndexID |
Modifier | Constructor and Description |
---|---|
protected |
KeyValuePair()
Never called.
|
|
KeyValuePair(int addr,
TOP_Type type)
Internal - constructor used by generator
|
|
KeyValuePair(JCas jcas) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getKey()
getter for key - gets
|
int |
getTypeIndexID() |
long |
getValueLong()
getter for valueLong - gets
|
java.lang.String |
getValueString()
getter for valueString - gets
|
private void |
readObject()
Write your own initialization here
|
void |
setKey(java.lang.String v)
setter for key - sets
|
void |
setValueLong(long v)
setter for valueLong - sets
|
void |
setValueString(java.lang.String v)
setter for valueString - sets
|
protected KeyValuePair()
public KeyValuePair(int addr, TOP_Type type)
addr
- low level Feature Structure referencetype
- the type of this Feature Structurepublic KeyValuePair(JCas jcas)
jcas
- JCas to which this Feature Structure belongspublic int getTypeIndexID()
private void readObject()
public java.lang.String getKey()
public void setKey(java.lang.String v)
v
- value to set into the featurepublic long getValueLong()
public void setValueLong(long v)
v
- value to set into the featurepublic java.lang.String getValueString()
public void setValueString(java.lang.String v)
v
- value to set into the feature