public class Concept
extends org.apache.uima.jcas.tcas.Annotation
Modifier and Type | Field and Description |
---|---|
static int |
type |
static int |
typeIndexID |
Modifier | Constructor and Description |
---|---|
protected |
Concept()
Never called.
|
|
Concept(int addr,
org.apache.uima.jcas.cas.TOP_Type type)
Internal - constructor used by generator
|
|
Concept(org.apache.uima.jcas.JCas jcas) |
|
Concept(org.apache.uima.jcas.JCas jcas,
int begin,
int end) |
Modifier and Type | Method and Description |
---|---|
String |
getConceptText()
getter for conceptText - gets
|
String |
getConceptType()
getter for conceptType - gets the concept type -- one of problem, treatment, or test
|
int |
getExternalId()
getter for externalId - gets
|
int |
getOriginalEntityExternalId()
getter for originalEntityExternalId - gets
|
int |
getTypeIndexID() |
void |
setConceptText(String v)
setter for conceptText - sets
|
void |
setConceptType(String v)
setter for conceptType - sets the concept type -- one of problem, treatment, or test
|
void |
setExternalId(int v)
setter for externalId - sets
|
void |
setOriginalEntityExternalId(int v)
setter for originalEntityExternalId - sets
|
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 Concept()
public Concept(int addr, org.apache.uima.jcas.cas.TOP_Type type)
addr
- low level Feature Structure referencetype
- the type of this Feature Structurepublic Concept(org.apache.uima.jcas.JCas jcas)
jcas
- JCas to which this Feature Structure belongspublic Concept(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 getConceptType()
public void setConceptType(String v)
v
- value to set into the featurepublic String getConceptText()
public void setConceptText(String v)
v
- value to set into the featurepublic int getExternalId()
public void setExternalId(int v)
v
- value to set into the featurepublic int getOriginalEntityExternalId()
public void setOriginalEntityExternalId(int v)
v
- value to set into the featureCopyright © 2012-2017 The Apache Software Foundation. All Rights Reserved.