public class Metadata_Type
extends TOP_Type
Modifier and Type | Field and Description |
---|---|
(package private) Feature |
casFeat_demographics |
(package private) Feature |
casFeat_patientID |
(package private) Feature |
casFeat_providerID |
(package private) Feature |
casFeat_sourceData |
(package private) int |
casFeatCode_demographics |
(package private) int |
casFeatCode_patientID |
(package private) int |
casFeatCode_providerID |
(package private) int |
casFeatCode_sourceData |
static boolean |
featOkTst |
private FSGenerator |
fsGenerator |
static int |
typeIndexID |
Constructor and Description |
---|
Metadata_Type(JCas jcas,
Type casType)
initialize variables to correspond with Cas Type and Features
|
Modifier and Type | Method and Description |
---|---|
int |
getDemographics(int addr) |
protected FSGenerator |
getFSGenerator() |
long |
getPatientID(int addr) |
int |
getProviderID(int addr) |
long |
getProviderID(int addr,
int i) |
int |
getSourceData(int addr) |
void |
setDemographics(int addr,
int v) |
void |
setPatientID(int addr,
long v) |
void |
setProviderID(int addr,
int v) |
void |
setProviderID(int addr,
int i,
long v) |
void |
setSourceData(int addr,
int v) |
private final FSGenerator fsGenerator
public static final int typeIndexID
public static final boolean featOkTst
final Feature casFeat_patientID
final int casFeatCode_patientID
final Feature casFeat_providerID
final int casFeatCode_providerID
final Feature casFeat_sourceData
final int casFeatCode_sourceData
final Feature casFeat_demographics
final int casFeatCode_demographics
public Metadata_Type(JCas jcas, Type casType)
jcas
- JCascasType
- Typeprotected FSGenerator getFSGenerator()
public long getPatientID(int addr)
addr
- low level Feature Structure referencepublic void setPatientID(int addr, long v)
addr
- low level Feature Structure referencev
- value to setpublic int getProviderID(int addr)
addr
- low level Feature Structure referencepublic void setProviderID(int addr, int v)
addr
- low level Feature Structure referencev
- value to setpublic long getProviderID(int addr, int i)
addr
- low level Feature Structure referencei
- index of item in the arraypublic void setProviderID(int addr, int i, long v)
addr
- low level Feature Structure referencei
- index of item in the arrayv
- value to setpublic int getSourceData(int addr)
addr
- low level Feature Structure referencepublic void setSourceData(int addr, int v)
addr
- low level Feature Structure referencev
- value to setpublic int getDemographics(int addr)
addr
- low level Feature Structure referencepublic void setDemographics(int addr, int v)
addr
- low level Feature Structure referencev
- value to set