public class SemPred
extends org.apache.uima.jcas.tcas.Annotation
Modifier and Type | Field and Description |
---|---|
static int |
type |
static int |
typeIndexID |
Modifier | Constructor and Description |
---|---|
protected |
SemPred()
Never called.
|
|
SemPred(int addr,
org.apache.uima.jcas.cas.TOP_Type type)
Internal - constructor used by generator
|
|
SemPred(org.apache.uima.jcas.JCas jcas) |
|
SemPred(org.apache.uima.jcas.JCas jcas,
int begin,
int end) |
Modifier and Type | Method and Description |
---|---|
org.apache.uima.jcas.cas.FSArray |
getArguments()
getter for arguments - gets The predicate's arguments.
|
SemArgLink |
getArguments(int i)
indexed getter for arguments - gets an indexed value - The predicate's arguments.
|
String |
getCategory()
getter for category - gets A more detailed specification of the predicate type depending on the theory being used, e.g.
|
int |
getTypeIndexID() |
void |
setArguments(org.apache.uima.jcas.cas.FSArray v)
setter for arguments - sets The predicate's arguments.
|
void |
setArguments(int i,
SemArgLink v)
indexed setter for arguments - sets an indexed value - The predicate's arguments.
|
void |
setCategory(String v)
setter for category - sets A more detailed specification of the predicate type depending on the theory being used, e.g.
|
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 SemPred()
public SemPred(int addr, org.apache.uima.jcas.cas.TOP_Type type)
addr
- low level Feature Structure referencetype
- the type of this Feature Structurepublic SemPred(org.apache.uima.jcas.JCas jcas)
jcas
- JCas to which this Feature Structure belongspublic SemPred(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 org.apache.uima.jcas.cas.FSArray getArguments()
public void setArguments(org.apache.uima.jcas.cas.FSArray v)
v
- value to set into the featurepublic SemArgLink getArguments(int i)
i
- index in the array to getpublic void setArguments(int i, SemArgLink v)
i
- index in the array to setv
- value to set into the arraypublic String getCategory()
public void setCategory(String v)
v
- value to set into the featureCopyright © 2007–2018 Ubiquitous Knowledge Processing (UKP) Lab, Technische Universität Darmstadt. All rights reserved.