public class SideEffectAnnotation_Type
extends Annotation_Type
Modifier and Type | Field and Description |
---|---|
(package private) Feature |
casFeat_drug |
(package private) Feature |
casFeat_sentence |
(package private) Feature |
casFeat_sideEffect |
(package private) int |
casFeatCode_drug |
(package private) int |
casFeatCode_sentence |
(package private) int |
casFeatCode_sideEffect |
static boolean |
featOkTst |
private FSGenerator |
fsGenerator |
static int |
typeIndexID |
Constructor and Description |
---|
SideEffectAnnotation_Type(JCas jcas,
Type casType)
initialize variables to correspond with Cas Type and Features
|
Modifier and Type | Method and Description |
---|---|
int |
getDrug(int addr) |
protected FSGenerator |
getFSGenerator() |
int |
getSentence(int addr) |
int |
getSideEffect(int addr) |
void |
setDrug(int addr,
int v) |
void |
setSentence(int addr,
int v) |
void |
setSideEffect(int addr,
int v) |
private final FSGenerator fsGenerator
public static final int typeIndexID
public static final boolean featOkTst
final Feature casFeat_sideEffect
final int casFeatCode_sideEffect
final Feature casFeat_drug
final int casFeatCode_drug
final Feature casFeat_sentence
final int casFeatCode_sentence
public SideEffectAnnotation_Type(JCas jcas, Type casType)
jcas
- JCascasType
- Typeprotected FSGenerator getFSGenerator()
public int getSideEffect(int addr)
addr
- low level Feature Structure referencepublic void setSideEffect(int addr, int v)
addr
- low level Feature Structure referencev
- value to setpublic int getDrug(int addr)
addr
- low level Feature Structure referencepublic void setDrug(int addr, int v)
addr
- low level Feature Structure referencev
- value to setpublic int getSentence(int addr)
addr
- low level Feature Structure referencepublic void setSentence(int addr, int v)
addr
- low level Feature Structure referencev
- value to set