public class Predicate extends ScoredAnnotation
| Modifier and Type | Field and Description |
|---|---|
static int |
type |
static int |
typeIndexID |
| Modifier | Constructor and Description |
|---|---|
protected |
Predicate()
Never called.
|
|
Predicate(int addr,
TOP_Type type)
Internal - constructor used by generator
|
|
Predicate(JCas jcas) |
|
Predicate(JCas jcas,
int begin,
int end) |
| Modifier and Type | Method and Description |
|---|---|
Annotation |
getAnnotation()
getter for annotation - gets
|
FSArray |
getArguments()
getter for arguments - gets
|
Argument |
getArguments(int i)
indexed getter for arguments - gets an indexed value -
|
String |
getBaseForm()
getter for baseForm - gets
|
String |
getFrameSet()
getter for frameSet - gets
|
String |
getPropTxt()
getter for propTxt - gets
|
Sentence |
getSentence()
getter for sentence - gets
|
int |
getTypeIndexID() |
void |
setAnnotation(Annotation v)
setter for annotation - sets
|
void |
setArguments(FSArray v)
setter for arguments - sets
|
void |
setArguments(int i,
Argument v)
indexed setter for arguments - sets an indexed value -
|
void |
setBaseForm(String v)
setter for baseForm - sets
|
void |
setFrameSet(String v)
setter for frameSet - sets
|
void |
setPropTxt(String v)
setter for propTxt - sets
|
void |
setSentence(Sentence v)
setter for sentence - sets
|
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 Predicate()
public Predicate(int addr, TOP_Type type)
addr - low level Feature Structure referencetype - the type of this Feature Structurepublic Predicate(JCas jcas)
jcas - JCas to which this Feature Structure belongspublic Annotation getAnnotation()
public FSArray getArguments()
public Argument getArguments(int i)
i - index in the array to getpublic String getBaseForm()
public String getFrameSet()
public String getPropTxt()
public Sentence getSentence()
public int getTypeIndexID()
getTypeIndexID in class ScoredAnnotationpublic void setAnnotation(Annotation v)
v - value to set into the featurepublic void setArguments(FSArray v)
v - value to set into the featurepublic void setArguments(int i, Argument v)
i - index in the array to setv - value to set into the arraypublic void setBaseForm(String v)
v - value to set into the featurepublic void setFrameSet(String v)
v - value to set into the featurepublic void setPropTxt(String v)
v - value to set into the featurepublic void setSentence(Sentence v)
v - value to set into the featureCopyright © 2014. All rights reserved.