public class RecordSentence
extends org.apache.uima.jcas.tcas.Annotation
Modifier and Type | Field and Description |
---|---|
static int |
type |
static int |
typeIndexID |
Modifier | Constructor and Description |
---|---|
protected |
RecordSentence()
Never called.
|
|
RecordSentence(int addr,
org.apache.uima.jcas.cas.TOP_Type type)
Internal - constructor used by generator
|
|
RecordSentence(org.apache.uima.jcas.JCas jcas) |
|
RecordSentence(org.apache.uima.jcas.JCas jcas,
int begin,
int end) |
Modifier and Type | Method and Description |
---|---|
String |
getClassification()
getter for classification - gets Smoking status classification for the given sentence.
|
String |
getRecordID()
getter for recordID - gets ID of record that this sentence belongs to.
|
int |
getRecordTextBegin()
getter for recordTextBegin - gets Begin offset of the sentence relative to the entire
record text.
|
int |
getRecordTextEnd()
getter for recordTextEnd - gets End offset of the sentence relative to the entire
record text.
|
int |
getTypeIndexID() |
void |
setClassification(String v)
setter for classification - sets Smoking status classification for the given sentence.
|
void |
setRecordID(String v)
setter for recordID - sets ID of record that this sentence belongs to.
|
void |
setRecordTextBegin(int v)
setter for recordTextBegin - sets Begin offset of the sentence relative to the entire
record text.
|
void |
setRecordTextEnd(int v)
setter for recordTextEnd - sets End offset of the sentence relative to the entire
record text.
|
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 RecordSentence()
public RecordSentence(int addr, org.apache.uima.jcas.cas.TOP_Type type)
addr
- low level Feature Structure referencetype
- the type of this Feature Structurepublic RecordSentence(org.apache.uima.jcas.JCas jcas)
jcas
- JCas to which this Feature Structure belongspublic RecordSentence(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 getRecordID()
public void setRecordID(String v)
v
- value to set into the featurepublic String getClassification()
public void setClassification(String v)
v
- value to set into the featurepublic int getRecordTextBegin()
public void setRecordTextBegin(int v)
v
- value to set into the featurepublic int getRecordTextEnd()
public void setRecordTextEnd(int v)
v
- value to set into the featureCopyright © 2012-2017 The Apache Software Foundation. All Rights Reserved.