public class SideEffectAnnotation
extends Annotation
Modifier and Type | Field and Description |
---|---|
static int |
type |
static int |
typeIndexID |
Modifier | Constructor and Description |
---|---|
protected |
SideEffectAnnotation()
Never called.
|
|
SideEffectAnnotation(int addr,
TOP_Type type)
Internal - constructor used by generator
|
|
SideEffectAnnotation(JCas jcas) |
|
SideEffectAnnotation(JCas jcas,
int begin,
int end) |
Modifier and Type | Method and Description |
---|---|
IdentifiedAnnotation |
getDrug()
getter for drug - gets
|
SESentence |
getSentence()
getter for sentence - gets sentence containing side effect
|
IdentifiedAnnotation |
getSideEffect()
getter for sideEffect - gets side effect mention in NamedEntity
|
int |
getTypeIndexID() |
private void |
readObject()
Write your own initialization here
|
void |
setDrug(IdentifiedAnnotation v)
setter for drug - sets
|
void |
setSentence(SESentence v)
setter for sentence - sets sentence containing side effect
|
void |
setSideEffect(IdentifiedAnnotation v)
setter for sideEffect - sets side effect mention in NamedEntity
|
protected SideEffectAnnotation()
public SideEffectAnnotation(int addr, TOP_Type type)
addr
- low level Feature Structure referencetype
- the type of this Feature Structurepublic SideEffectAnnotation(JCas jcas)
jcas
- JCas to which this Feature Structure belongspublic SideEffectAnnotation(JCas jcas, int begin, int end)
jcas
- JCas to which this Feature Structure belongsbegin
- offset to the begin spot in the SofAend
- offset to the end spot in the SofApublic int getTypeIndexID()
private void readObject()
public IdentifiedAnnotation getSideEffect()
public void setSideEffect(IdentifiedAnnotation v)
v
- value to set into the featurepublic IdentifiedAnnotation getDrug()
public void setDrug(IdentifiedAnnotation v)
v
- value to set into the featurepublic SESentence getSentence()
public void setSentence(SESentence v)
v
- value to set into the feature