public class MedicationEventMention extends EventMention
Modifier and Type | Field and Description |
---|---|
static int |
type |
static int |
typeIndexID |
Modifier | Constructor and Description |
---|---|
protected |
MedicationEventMention()
Never called.
|
|
MedicationEventMention(int addr,
TOP_Type type)
Internal - constructor used by generator
|
|
MedicationEventMention(JCas jcas) |
|
MedicationEventMention(JCas jcas,
int begin,
int end) |
Modifier and Type | Method and Description |
---|---|
Date |
getEndDate()
getter for endDate - gets
|
MedicationDosage |
getMedicationDosage()
getter for medicationDosage - gets
|
MedicationDuration |
getMedicationDuration()
getter for medicationDuration - gets
|
MedicationForm |
getMedicationForm()
getter for medicationForm - gets
|
MedicationFrequency |
getMedicationFrequency()
getter for medicationFrequency - gets
|
MedicationRoute |
getMedicationRoute()
getter for medicationRoute - gets
|
MedicationStatusChange |
getMedicationStatusChange()
getter for medicationStatusChange - gets
|
MedicationStrength |
getMedicationStrength()
getter for medicationStrength - gets
|
Date |
getStartDate()
getter for startDate - gets
|
int |
getTypeIndexID() |
private void |
readObject()
Write your own initialization here
|
void |
setEndDate(Date v)
setter for endDate - sets
|
void |
setMedicationDosage(MedicationDosage v)
setter for medicationDosage - sets
|
void |
setMedicationDuration(MedicationDuration v)
setter for medicationDuration - sets
|
void |
setMedicationForm(MedicationForm v)
setter for medicationForm - sets
|
void |
setMedicationFrequency(MedicationFrequency v)
setter for medicationFrequency - sets
|
void |
setMedicationRoute(MedicationRoute v)
setter for medicationRoute - sets
|
void |
setMedicationStatusChange(MedicationStatusChange v)
setter for medicationStatusChange - sets
|
void |
setMedicationStrength(MedicationStrength v)
setter for medicationStrength - sets
|
void |
setStartDate(Date v)
setter for startDate - sets
|
getEvent, setEvent
getConditional, getConfidence, getDiscoveryTechnique, getGeneric, getHistoryOf, getId, getOntologyConceptArr, getOntologyConceptArr, getOriginalText, getOriginalText, getPolarity, getSegmentID, getSentenceID, getSubject, getTypeID, getUncertainty, setConditional, setConfidence, setDiscoveryTechnique, setGeneric, setHistoryOf, setId, setOntologyConceptArr, setOntologyConceptArr, setOriginalText, setOriginalText, setPolarity, setSegmentID, setSentenceID, setSubject, setTypeID, setUncertainty
protected MedicationEventMention()
public MedicationEventMention(int addr, TOP_Type type)
addr
- low level Feature Structure referencetype
- the type of this Feature Structurepublic MedicationEventMention(JCas jcas)
jcas
- JCas to which this Feature Structure belongspublic MedicationEventMention(JCas jcas, int begin, int end)
jcas
- JCas to which this Feature Structure belongsbegin
- offset to the begin spot in the SofAend
- offset to the end spot in the SofApublic int getTypeIndexID()
getTypeIndexID
in class EventMention
private void readObject()
public MedicationFrequency getMedicationFrequency()
public void setMedicationFrequency(MedicationFrequency v)
v
- value to set into the featurepublic MedicationDuration getMedicationDuration()
public void setMedicationDuration(MedicationDuration v)
v
- value to set into the featurepublic MedicationRoute getMedicationRoute()
public void setMedicationRoute(MedicationRoute v)
v
- value to set into the featurepublic MedicationStatusChange getMedicationStatusChange()
public void setMedicationStatusChange(MedicationStatusChange v)
v
- value to set into the featurepublic MedicationDosage getMedicationDosage()
public void setMedicationDosage(MedicationDosage v)
v
- value to set into the featurepublic MedicationStrength getMedicationStrength()
public void setMedicationStrength(MedicationStrength v)
v
- value to set into the featurepublic MedicationForm getMedicationForm()
public void setMedicationForm(MedicationForm v)
v
- value to set into the featurepublic Date getStartDate()
public void setStartDate(Date v)
v
- value to set into the featurepublic Date getEndDate()
public void setEndDate(Date v)
v
- value to set into the feature