public class PSESentenceFeature
extends Annotation
Modifier and Type | Field and Description |
---|---|
static int |
type |
static int |
typeIndexID |
Modifier | Constructor and Description |
---|---|
protected |
PSESentenceFeature()
Never called.
|
|
PSESentenceFeature(int addr,
TOP_Type type)
Internal - constructor used by generator
|
|
PSESentenceFeature(JCas jcas) |
|
PSESentenceFeature(JCas jcas,
int begin,
int end) |
Modifier and Type | Method and Description |
---|---|
StringArray |
getFeatures()
getter for features - gets
|
java.lang.String |
getFeatures(int i)
indexed getter for features - gets an indexed value -
|
PSESentence |
getPseSen()
getter for pseSen - gets
|
int |
getTypeIndexID() |
private void |
readObject()
Write your own initialization here
|
void |
setFeatures(int i,
java.lang.String v)
indexed setter for features - sets an indexed value -
|
void |
setFeatures(StringArray v)
setter for features - sets
|
void |
setPseSen(PSESentence v)
setter for pseSen - sets
|
protected PSESentenceFeature()
public PSESentenceFeature(int addr, TOP_Type type)
addr
- low level Feature Structure referencetype
- the type of this Feature Structurepublic PSESentenceFeature(JCas jcas)
jcas
- JCas to which this Feature Structure belongspublic PSESentenceFeature(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 PSESentence getPseSen()
public void setPseSen(PSESentence v)
v
- value to set into the featurepublic StringArray getFeatures()
public void setFeatures(StringArray v)
v
- value to set into the featurepublic java.lang.String getFeatures(int i)
i
- index in the array to getpublic void setFeatures(int i, java.lang.String v)
i
- index in the array to setv
- value to set into the array