public class Anomaly
extends org.apache.uima.jcas.tcas.Annotation
Modifier and Type | Field and Description |
---|---|
static int |
type |
static int |
typeIndexID |
Modifier | Constructor and Description |
---|---|
protected |
Anomaly()
Never called.
|
|
Anomaly(int addr,
org.apache.uima.jcas.cas.TOP_Type type)
Internal - constructor used by generator
|
|
Anomaly(org.apache.uima.jcas.JCas jcas) |
|
Anomaly(org.apache.uima.jcas.JCas jcas,
int begin,
int end) |
Modifier and Type | Method and Description |
---|---|
String |
getCategory()
getter for category - gets
|
String |
getDescription()
getter for description - gets
|
org.apache.uima.jcas.cas.FSArray |
getSuggestions()
getter for suggestions - gets An array of the suggested actions to be taken for this anomaly.
|
SuggestedAction |
getSuggestions(int i)
indexed getter for suggestions - gets an indexed value - An array of the suggested actions to be taken for this anomaly.
|
int |
getTypeIndexID() |
void |
setCategory(String v)
setter for category - sets
|
void |
setDescription(String v)
setter for description - sets
|
void |
setSuggestions(org.apache.uima.jcas.cas.FSArray v)
setter for suggestions - sets An array of the suggested actions to be taken for this anomaly.
|
void |
setSuggestions(int i,
SuggestedAction v)
indexed setter for suggestions - sets an indexed value - An array of the suggested actions to be taken for this anomaly.
|
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 Anomaly()
public Anomaly(int addr, org.apache.uima.jcas.cas.TOP_Type type)
addr
- low level Feature Structure referencetype
- the type of this Feature Structurepublic Anomaly(org.apache.uima.jcas.JCas jcas)
jcas
- JCas to which this Feature Structure belongspublic Anomaly(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 getDescription()
public void setDescription(String v)
v
- value to set into the featurepublic org.apache.uima.jcas.cas.FSArray getSuggestions()
public void setSuggestions(org.apache.uima.jcas.cas.FSArray v)
v
- value to set into the featurepublic SuggestedAction getSuggestions(int i)
i
- index in the array to getpublic void setSuggestions(int i, SuggestedAction 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.