public class Element
extends TOP
Modifier and Type | Field and Description |
---|---|
static int |
type |
static int |
typeIndexID |
Modifier | Constructor and Description |
---|---|
protected |
Element()
Never called.
|
|
Element(int addr,
TOP_Type type)
Internal - constructor used by generator
|
|
Element(JCas jcas) |
Modifier and Type | Method and Description |
---|---|
boolean |
getConditional()
getter for conditional - gets
|
double |
getConfidence()
getter for confidence - gets
|
int |
getDiscoveryTechnique()
getter for discoveryTechnique - gets
|
boolean |
getGeneric()
getter for generic - gets
|
int |
getHistoryOf()
getter for historyOf - gets
|
int |
getId()
getter for id - gets
|
FSArray |
getMentions()
getter for mentions - gets
|
IdentifiedAnnotation |
getMentions(int i)
indexed getter for mentions - gets an indexed value -
|
OntologyConcept |
getOntologyConcept()
getter for ontologyConcept - gets
|
int |
getPolarity()
getter for polarity - gets
|
java.lang.String |
getSubject()
getter for subject - gets
|
int |
getTypeIndexID() |
int |
getUncertainty()
getter for uncertainty - gets
|
private void |
readObject()
Write your own initialization here
|
void |
setConditional(boolean v)
setter for conditional - sets
|
void |
setConfidence(double v)
setter for confidence - sets
|
void |
setDiscoveryTechnique(int v)
setter for discoveryTechnique - sets
|
void |
setGeneric(boolean v)
setter for generic - sets
|
void |
setHistoryOf(int v)
setter for historyOf - sets
|
void |
setId(int v)
setter for id - sets
|
void |
setMentions(FSArray v)
setter for mentions - sets
|
void |
setMentions(int i,
IdentifiedAnnotation v)
indexed setter for mentions - sets an indexed value -
|
void |
setOntologyConcept(OntologyConcept v)
setter for ontologyConcept - sets
|
void |
setPolarity(int v)
setter for polarity - sets
|
void |
setSubject(java.lang.String v)
setter for subject - sets
|
void |
setUncertainty(int v)
setter for uncertainty - sets
|
protected Element()
public Element(int addr, TOP_Type type)
addr
- low level Feature Structure referencetype
- the type of this Feature Structurepublic Element(JCas jcas)
jcas
- JCas to which this Feature Structure belongspublic int getTypeIndexID()
private void readObject()
public int getId()
public void setId(int v)
v
- value to set into the featurepublic OntologyConcept getOntologyConcept()
public void setOntologyConcept(OntologyConcept v)
v
- value to set into the featurepublic FSArray getMentions()
public void setMentions(FSArray v)
v
- value to set into the featurepublic IdentifiedAnnotation getMentions(int i)
i
- index in the array to getpublic void setMentions(int i, IdentifiedAnnotation v)
i
- index in the array to setv
- value to set into the arraypublic int getDiscoveryTechnique()
public void setDiscoveryTechnique(int v)
v
- value to set into the featurepublic double getConfidence()
public void setConfidence(double v)
v
- value to set into the featurepublic boolean getConditional()
public void setConditional(boolean v)
v
- value to set into the featurepublic boolean getGeneric()
public void setGeneric(boolean v)
v
- value to set into the featurepublic java.lang.String getSubject()
public void setSubject(java.lang.String v)
v
- value to set into the featurepublic int getPolarity()
public void setPolarity(int v)
v
- value to set into the featurepublic int getUncertainty()
public void setUncertainty(int v)
v
- value to set into the featurepublic int getHistoryOf()
public void setHistoryOf(int v)
v
- value to set into the feature