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