public class Pair_Type
extends TOP_Type
Modifier and Type | Field and Description |
---|---|
(package private) Feature |
casFeat_p1 |
(package private) Feature |
casFeat_p2 |
(package private) int |
casFeatCode_p1 |
(package private) int |
casFeatCode_p2 |
static boolean |
featOkTst |
private FSGenerator |
fsGenerator |
static int |
typeIndexID |
Constructor and Description |
---|
Pair_Type(JCas jcas,
Type casType)
initialize variables to correspond with Cas Type and Features
|
Modifier and Type | Method and Description |
---|---|
protected FSGenerator |
getFSGenerator() |
int |
getP1(int addr) |
int |
getP2(int addr) |
void |
setP1(int addr,
int v) |
void |
setP2(int addr,
int v) |
private final FSGenerator fsGenerator
public static final int typeIndexID
public static final boolean featOkTst
final Feature casFeat_p1
final int casFeatCode_p1
final Feature casFeat_p2
final int casFeatCode_p2
public Pair_Type(JCas jcas, Type casType)
jcas
- JCascasType
- Typeprotected FSGenerator getFSGenerator()
public int getP1(int addr)
addr
- low level Feature Structure referencepublic void setP1(int addr, int v)
addr
- low level Feature Structure referencev
- value to setpublic int getP2(int addr)
addr
- low level Feature Structure referencepublic void setP2(int addr, int v)
addr
- low level Feature Structure referencev
- value to set