public class SemanticArgument_Type
extends Annotation_Type
Modifier and Type | Field and Description |
---|---|
(package private) Feature |
casFeat_label |
(package private) Feature |
casFeat_relation |
(package private) int |
casFeatCode_label |
(package private) int |
casFeatCode_relation |
static boolean |
featOkTst |
private FSGenerator |
fsGenerator |
static int |
typeIndexID |
Constructor and Description |
---|
SemanticArgument_Type(JCas jcas,
Type casType)
initialize variables to correspond with Cas Type and Features
|
Modifier and Type | Method and Description |
---|---|
protected FSGenerator |
getFSGenerator() |
java.lang.String |
getLabel(int addr) |
int |
getRelation(int addr) |
void |
setLabel(int addr,
java.lang.String v) |
void |
setRelation(int addr,
int v) |
private final FSGenerator fsGenerator
public static final int typeIndexID
public static final boolean featOkTst
final Feature casFeat_relation
final int casFeatCode_relation
final Feature casFeat_label
final int casFeatCode_label
public SemanticArgument_Type(JCas jcas, Type casType)
jcas
- JCascasType
- Typeprotected FSGenerator getFSGenerator()
public int getRelation(int addr)
addr
- low level Feature Structure referencepublic void setRelation(int addr, int v)
addr
- low level Feature Structure referencev
- value to setpublic java.lang.String getLabel(int addr)
addr
- low level Feature Structure referencepublic void setLabel(int addr, java.lang.String v)
addr
- low level Feature Structure referencev
- value to set