public class Constituent
extends org.apache.uima.jcas.tcas.Annotation
Modifier and Type | Field and Description |
---|---|
static int |
type |
static int |
typeIndexID |
Modifier | Constructor and Description |
---|---|
protected |
Constituent()
Never called.
|
|
Constituent(int addr,
org.apache.uima.jcas.cas.TOP_Type type)
Internal - constructor used by generator
|
|
Constituent(org.apache.uima.jcas.JCas jcas) |
|
Constituent(org.apache.uima.jcas.JCas jcas,
int begin,
int end) |
Modifier and Type | Method and Description |
---|---|
org.apache.uima.jcas.cas.FSArray |
getChildren()
getter for children - gets
|
org.apache.uima.jcas.tcas.Annotation |
getChildren(int i)
indexed getter for children - gets an indexed value -
|
String |
getConstituentType()
getter for constituentType - gets
|
org.apache.uima.jcas.tcas.Annotation |
getParent()
getter for parent - gets The parent constituent
|
String |
getSyntacticFunction()
getter for syntacticFunction - gets
|
int |
getTypeIndexID() |
void |
setChildren(org.apache.uima.jcas.cas.FSArray v)
setter for children - sets
|
void |
setChildren(int i,
org.apache.uima.jcas.tcas.Annotation v)
indexed setter for children - sets an indexed value -
|
void |
setConstituentType(String v)
setter for constituentType - sets
|
void |
setParent(org.apache.uima.jcas.tcas.Annotation v)
setter for parent - sets The parent constituent
|
void |
setSyntacticFunction(String v)
setter for syntacticFunction - sets
|
getBegin, getCoveredText, getEnd, getStart, setBegin, setEnd
addToIndexes, addToIndexes, equals, getAddress, getCAS, getCASImpl, getLowLevelCas, hashCode, removeFromIndexes, removeFromIndexes
clone, getavoidcollisionTypeCode, getBooleanValue, getByteValue, getDoubleValue, getFeatureValue, getFeatureValueAsString, getFloatValue, getIntValue, getLongValue, getShortValue, getStringValue, getType, prettyPrint, prettyPrint, prettyPrint, setBooleanValue, setByteValue, setDoubleValue, setFeatureValue, setFeatureValueFromString, setFloatValue, setIntValue, setLongValue, setShortValue, setStringValue, toString, toString
finalize, getClass, notify, notifyAll, wait, wait, wait
clone, equals, getBooleanValue, getByteValue, getCAS, getDoubleValue, getFeatureValue, getFeatureValueAsString, getFloatValue, getIntValue, getLongValue, getShortValue, getStringValue, getType, hashCode, setBooleanValue, setByteValue, setDoubleValue, setFeatureValue, setFeatureValueFromString, setFloatValue, setIntValue, setLongValue, setShortValue, setStringValue
protected Constituent()
public Constituent(int addr, org.apache.uima.jcas.cas.TOP_Type type)
addr
- low level Feature Structure referencetype
- the type of this Feature Structurepublic Constituent(org.apache.uima.jcas.JCas jcas)
jcas
- JCas to which this Feature Structure belongspublic Constituent(org.apache.uima.jcas.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 org.apache.uima.jcas.tcas.Annotation
public String getConstituentType()
public void setConstituentType(String v)
v
- value to set into the featurepublic org.apache.uima.jcas.tcas.Annotation getParent()
public void setParent(org.apache.uima.jcas.tcas.Annotation v)
v
- value to set into the featurepublic org.apache.uima.jcas.cas.FSArray getChildren()
public void setChildren(org.apache.uima.jcas.cas.FSArray v)
v
- value to set into the featurepublic org.apache.uima.jcas.tcas.Annotation getChildren(int i)
i
- index in the array to getpublic void setChildren(int i, org.apache.uima.jcas.tcas.Annotation v)
i
- index in the array to setv
- value to set into the arraypublic String getSyntacticFunction()
public void setSyntacticFunction(String v)
v
- value to set into the featureCopyright © 2007–2018 Ubiquitous Knowledge Processing (UKP) Lab, Technische Universität Darmstadt. All rights reserved.