public class UmlsConcept_Type extends OntologyConcept_Type
Modifier and Type | Field and Description |
---|---|
(package private) Feature |
casFeat_cui |
(package private) Feature |
casFeat_preferredText |
(package private) Feature |
casFeat_tui |
(package private) int |
casFeatCode_cui |
(package private) int |
casFeatCode_preferredText |
(package private) int |
casFeatCode_tui |
static boolean |
featOkTst |
private FSGenerator |
fsGenerator |
static int |
typeIndexID |
casFeat_code, casFeat_codingScheme, casFeat_disambiguated, casFeat_oid, casFeat_oui, casFeat_score, casFeatCode_code, casFeatCode_codingScheme, casFeatCode_disambiguated, casFeatCode_oid, casFeatCode_oui, casFeatCode_score
Constructor and Description |
---|
UmlsConcept_Type(JCas jcas,
Type casType)
initialize variables to correspond with Cas Type and Features
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCui(int addr) |
protected FSGenerator |
getFSGenerator() |
java.lang.String |
getPreferredText(int addr) |
java.lang.String |
getTui(int addr) |
void |
setCui(int addr,
java.lang.String v) |
void |
setPreferredText(int addr,
java.lang.String v) |
void |
setTui(int addr,
java.lang.String v) |
getCode, getCodingScheme, getDisambiguated, getOid, getOui, getScore, setCode, setCodingScheme, setDisambiguated, setOid, setOui, setScore
private final FSGenerator fsGenerator
public static final int typeIndexID
public static final boolean featOkTst
final Feature casFeat_cui
final int casFeatCode_cui
final Feature casFeat_tui
final int casFeatCode_tui
final Feature casFeat_preferredText
final int casFeatCode_preferredText
public UmlsConcept_Type(JCas jcas, Type casType)
jcas
- JCascasType
- Typeprotected FSGenerator getFSGenerator()
getFSGenerator
in class OntologyConcept_Type
public java.lang.String getCui(int addr)
addr
- low level Feature Structure referencepublic void setCui(int addr, java.lang.String v)
addr
- low level Feature Structure referencev
- value to setpublic java.lang.String getTui(int addr)
addr
- low level Feature Structure referencepublic void setTui(int addr, java.lang.String v)
addr
- low level Feature Structure referencev
- value to setpublic java.lang.String getPreferredText(int addr)
addr
- low level Feature Structure referencepublic void setPreferredText(int addr, java.lang.String v)
addr
- low level Feature Structure referencev
- value to set