public class Concept
extends Annotation
Modifier and Type | Field and Description |
---|---|
static int |
type |
static int |
typeIndexID |
Modifier | Constructor and Description |
---|---|
protected |
Concept()
Never called.
|
|
Concept(int addr,
TOP_Type type)
Internal - constructor used by generator
|
|
Concept(JCas jcas) |
|
Concept(JCas jcas,
int begin,
int end) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getConceptText()
getter for conceptText - gets
|
java.lang.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() |
private void |
readObject()
Write your own initialization here
|
void |
setConceptText(java.lang.String v)
setter for conceptText - sets
|
void |
setConceptType(java.lang.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
|
protected Concept()
public Concept(int addr, TOP_Type type)
addr
- low level Feature Structure referencetype
- the type of this Feature Structurepublic Concept(JCas jcas)
jcas
- JCas to which this Feature Structure belongspublic Concept(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()
private void readObject()
public java.lang.String getConceptType()
public void setConceptType(java.lang.String v)
v
- value to set into the featurepublic java.lang.String getConceptText()
public void setConceptText(java.lang.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 feature