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,
org.apache.uima.jcas.cas.TOP_Type type)
Internal - constructor used by generator
|
|
MedicationFrequency(org.apache.uima.jcas.JCas jcas) |
Modifier and Type | Method and Description |
---|---|
String |
getNumber()
getter for number - gets
|
int |
getTypeIndexID() |
String |
getUnit()
getter for unit - gets The periodic unit used, e.g day, month, hour, etc.
|
void |
setNumber(String v)
setter for number - sets
|
void |
setUnit(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
addToIndexes, addToIndexes, equals, getAddress, getCAS, getCASImpl, getLowLevelCas, hashCode, removeFromIndexes, removeFromIndexes
clone, getavoidcollisionTypeCode, getBooleanValue, getByteValue, getDoubleValue, getFeatureValue, getFeatureValueAsString, getFloatValue, getIntValue, getLongValue, getShortValue, getStringValue, getType, prettyPrint, prettyPrint, prettyPrint, setBooleanValue, setByteValue, setDoubleValue, setFeatureValue, setFeatureValueFromString, setFloatValue, setIntValue, setLongValue, setShortValue, setStringValue, toString, toString
protected MedicationFrequency()
public MedicationFrequency(int addr, org.apache.uima.jcas.cas.TOP_Type type)
addr
- low level Feature Structure referencetype
- the type of this Feature Structurepublic MedicationFrequency(org.apache.uima.jcas.JCas jcas)
jcas
- JCas to which this Feature Structure belongspublic int getTypeIndexID()
getTypeIndexID
in class Attribute
public String getNumber()
public void setNumber(String v)
v
- value to set into the featurepublic String getUnit()
public void setUnit(String v)
v
- value to set into the featureCopyright © 2012-2017 The Apache Software Foundation. All Rights Reserved.