public class Dependency
extends org.apache.uima.jcas.tcas.Annotation
Modifier and Type | Field and Description |
---|---|
static int |
type |
static int |
typeIndexID |
Constructor and Description |
---|
Dependency(int addr,
org.apache.uima.jcas.cas.TOP_Type type)
Internal - constructor used by generator
|
Dependency(org.apache.uima.jcas.JCas jcas) |
Dependency(org.apache.uima.jcas.JCas jcas,
int begin,
int end) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDependencyType()
getter for DependencyType - gets Specifies the dependency relation type.
|
Token |
getDependent()
getter for Dependent - gets Specifies the dependent Token (of the governor) in the dependency relation.
|
Token |
getGovernor()
getter for Governor - gets Specifies the governor Token in the dependency relation.
|
int |
getTypeIndexID() |
void |
setDependencyType(java.lang.String v)
setter for DependencyType - sets Specifies the dependency relation type.
|
void |
setDependent(Token v)
setter for Dependent - sets Specifies the dependent Token (of the governor) in the dependency relation.
|
void |
setGovernor(Token v)
setter for Governor - sets Specifies the governor Token in the dependency relation.
|
getBegin, getCoveredText, getEnd, getStart, setBegin, setEnd
addToIndexes, addToIndexes, equals, getAddress, getCAS, getCASImpl, getLowLevelCas, hashCode, removeFromIndexes, removeFromIndexes
clone, 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
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
public Dependency(int addr, org.apache.uima.jcas.cas.TOP_Type type)
public Dependency(org.apache.uima.jcas.JCas jcas)
public Dependency(org.apache.uima.jcas.JCas jcas, int begin, int end)
public int getTypeIndexID()
getTypeIndexID
in class org.apache.uima.jcas.tcas.Annotation
public Token getGovernor()
public void setGovernor(Token v)
v
- value to set into the featurepublic Token getDependent()
public void setDependent(Token v)
v
- value to set into the featurepublic java.lang.String getDependencyType()
public void setDependencyType(java.lang.String v)
v
- value to set into the feature