public class ContextAnnotation extends IdentifiedAnnotation
Modifier and Type | Field and Description |
---|---|
static int |
type |
static int |
typeIndexID |
Modifier | Constructor and Description |
---|---|
protected |
ContextAnnotation()
Never called.
|
|
ContextAnnotation(int addr,
TOP_Type type)
Internal - constructor used by generator
|
|
ContextAnnotation(JCas jcas) |
|
ContextAnnotation(JCas jcas,
int begin,
int end) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getFocusText()
getter for FocusText - gets
|
java.lang.String |
getScope()
getter for Scope - gets
|
int |
getTypeIndexID() |
private void |
readObject()
Write your own initialization here
|
void |
setFocusText(java.lang.String v)
setter for FocusText - sets
|
void |
setScope(java.lang.String v)
setter for Scope - sets
|
getConditional, getConfidence, getDiscoveryTechnique, getGeneric, getHistoryOf, getId, getOntologyConceptArr, getOntologyConceptArr, getOriginalText, getOriginalText, getPolarity, getSegmentID, getSentenceID, getSubject, getTypeID, getUncertainty, setConditional, setConfidence, setDiscoveryTechnique, setGeneric, setHistoryOf, setId, setOntologyConceptArr, setOntologyConceptArr, setOriginalText, setOriginalText, setPolarity, setSegmentID, setSentenceID, setSubject, setTypeID, setUncertainty
protected ContextAnnotation()
public ContextAnnotation(int addr, TOP_Type type)
addr
- low level Feature Structure referencetype
- the type of this Feature Structurepublic ContextAnnotation(JCas jcas)
jcas
- JCas to which this Feature Structure belongspublic ContextAnnotation(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()
getTypeIndexID
in class IdentifiedAnnotation
private void readObject()
public java.lang.String getFocusText()
public void setFocusText(java.lang.String v)
v
- value to set into the featurepublic java.lang.String getScope()
public void setScope(java.lang.String v)
v
- value to set into the feature