public class DependencyNode extends ScoredAnnotation
| Modifier and Type | Field and Description |
|---|---|
static int |
type |
static int |
typeIndexID |
| Modifier | Constructor and Description |
|---|---|
protected |
DependencyNode()
Never called.
|
|
DependencyNode(int addr,
TOP_Type type)
Internal - constructor used by generator
|
|
DependencyNode(JCas jcas) |
|
DependencyNode(JCas jcas,
int begin,
int end) |
| Modifier and Type | Method and Description |
|---|---|
FSArray |
getChildRelations()
getter for ChildRelations - gets
|
DependencyRelation |
getChildRelations(int i)
indexed getter for ChildRelations - gets an indexed value -
|
FSArray |
getHeadRelations()
getter for HeadRelations - gets
|
DependencyRelation |
getHeadRelations(int i)
indexed getter for HeadRelations - gets an indexed value -
|
int |
getTypeIndexID() |
void |
setChildRelations(FSArray v)
setter for ChildRelations - sets
|
void |
setChildRelations(int i,
DependencyRelation v)
indexed setter for ChildRelations - sets an indexed value -
|
void |
setHeadRelations(FSArray v)
setter for HeadRelations - sets
|
void |
setHeadRelations(int i,
DependencyRelation v)
indexed setter for HeadRelations - sets an indexed value -
|
getScore, setScoregetBegin, getCoveredText, getEnd, getStart, setBegin, setEndgetSofa, getViewaddToIndexes, addToIndexes, equals, getAddress, getCAS, getCASImpl, getLowLevelCas, hashCode, removeFromIndexes, removeFromIndexesclone, 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, toStringfinalize, getClass, notify, notifyAll, wait, wait, waitgetViewclone, equals, getBooleanValue, getByteValue, getCAS, getDoubleValue, getFeatureValue, getFeatureValueAsString, getFloatValue, getIntValue, getLongValue, getShortValue, getStringValue, getType, hashCode, setBooleanValue, setByteValue, setDoubleValue, setFeatureValue, setFeatureValueFromString, setFloatValue, setIntValue, setLongValue, setShortValue, setStringValuepublic static final int type
public static final int typeIndexID
protected DependencyNode()
public DependencyNode(int addr, TOP_Type type)
addr - low level Feature Structure referencetype - the type of this Feature Structurepublic DependencyNode(JCas jcas)
jcas - JCas to which this Feature Structure belongspublic DependencyNode(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 FSArray getChildRelations()
public DependencyRelation getChildRelations(int i)
i - index in the array to getpublic FSArray getHeadRelations()
public DependencyRelation getHeadRelations(int i)
i - index in the array to getpublic int getTypeIndexID()
getTypeIndexID in class ScoredAnnotationpublic void setChildRelations(FSArray v)
v - value to set into the featurepublic void setChildRelations(int i, DependencyRelation v)
i - index in the array to setv - value to set into the arraypublic void setHeadRelations(FSArray v)
v - value to set into the featurepublic void setHeadRelations(int i, DependencyRelation v)
i - index in the array to setv - value to set into the arrayCopyright © 2014. All rights reserved.