public class MedicationFrequency extends Attribute
Modifier and Type | Field and Description |
---|---|
static int |
type |
static int |
typeIndexID |
Modifier | Constructor and Description |
---|---|
protected |
MedicationFrequency()
Never called.
|
|
MedicationFrequency(int addr,
TOP_Type type)
Internal - constructor used by generator
|
|
MedicationFrequency(JCas jcas) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getNumber()
getter for number - gets
|
int |
getTypeIndexID() |
java.lang.String |
getUnit()
getter for unit - gets The periodic unit used, e.g day, month, hour, etc.
|
private void |
readObject()
Write your own initialization here
|
void |
setNumber(java.lang.String v)
setter for number - sets
|
void |
setUnit(java.lang.String v)
setter for unit - sets The periodic unit used, e.g day, month, hour, etc.
|
getConditional, getConfidence, getDiscoveryTechnique, getGeneric, getHistoryOf, getId, getMentions, getMentions, getOntologyConcept, getPolarity, getSubject, getUncertainty, setConditional, setConfidence, setDiscoveryTechnique, setGeneric, setHistoryOf, setId, setMentions, setMentions, setOntologyConcept, setPolarity, setSubject, setUncertainty
protected MedicationFrequency()
public MedicationFrequency(int addr, TOP_Type type)
addr
- low level Feature Structure referencetype
- the type of this Feature Structurepublic MedicationFrequency(JCas jcas)
jcas
- JCas to which this Feature Structure belongspublic int getTypeIndexID()
getTypeIndexID
in class Attribute
private void readObject()
public java.lang.String getNumber()
public void setNumber(java.lang.String v)
v
- value to set into the featurepublic java.lang.String getUnit()
public void setUnit(java.lang.String v)
v
- value to set into the feature