public class Metadata
extends TOP
Modifier and Type | Field and Description |
---|---|
static int |
type |
static int |
typeIndexID |
Modifier | Constructor and Description |
---|---|
protected |
Metadata()
Never called.
|
|
Metadata(int addr,
TOP_Type type)
Internal - constructor used by generator
|
|
Metadata(JCas jcas) |
Modifier and Type | Method and Description |
---|---|
Demographics |
getDemographics()
getter for demographics - gets
|
long |
getPatientID()
getter for patientID - gets
|
LongArray |
getProviderID()
getter for providerID - gets
|
long |
getProviderID(int i)
indexed getter for providerID - gets an indexed value -
|
SourceData |
getSourceData()
getter for sourceData - gets
|
int |
getTypeIndexID() |
private void |
readObject()
Write your own initialization here
|
void |
setDemographics(Demographics v)
setter for demographics - sets
|
void |
setPatientID(long v)
setter for patientID - sets
|
void |
setProviderID(int i,
long v)
indexed setter for providerID - sets an indexed value -
|
void |
setProviderID(LongArray v)
setter for providerID - sets
|
void |
setSourceData(SourceData v)
setter for sourceData - sets
|
protected Metadata()
public Metadata(int addr, TOP_Type type)
addr
- low level Feature Structure referencetype
- the type of this Feature Structurepublic Metadata(JCas jcas)
jcas
- JCas to which this Feature Structure belongspublic int getTypeIndexID()
private void readObject()
public long getPatientID()
public void setPatientID(long v)
v
- value to set into the featurepublic LongArray getProviderID()
public void setProviderID(LongArray v)
v
- value to set into the featurepublic long getProviderID(int i)
i
- index in the array to getpublic void setProviderID(int i, long v)
i
- index in the array to setv
- value to set into the arraypublic SourceData getSourceData()
public void setSourceData(SourceData v)
v
- value to set into the featurepublic Demographics getDemographics()
public void setDemographics(Demographics v)
v
- value to set into the feature