public class MedicationMention extends EventMention
Modifier and Type | Field and Description |
---|---|
static int |
type |
static int |
typeIndexID |
Modifier | Constructor and Description |
---|---|
protected |
MedicationMention()
Never called.
|
|
MedicationMention(int addr,
TOP_Type type)
Internal - constructor used by generator
|
|
MedicationMention(JCas jcas) |
|
MedicationMention(JCas jcas,
int begin,
int end) |
Modifier and Type | Method and Description |
---|---|
TimeMention |
getEndDate()
getter for endDate - gets
|
MedicationAllergyModifier |
getMedicationAllergy()
getter for medicationAllergy - gets
|
MedicationDosageModifier |
getMedicationDosage()
getter for medicationDosage - gets
|
MedicationDurationModifier |
getMedicationDuration()
getter for medicationDuration - gets
|
MedicationFormModifier |
getMedicationForm()
getter for medicationForm - gets
|
MedicationFrequencyModifier |
getMedicationFrequency()
getter for medicationFrequency - gets
|
MedicationRouteModifier |
getMedicationRoute()
getter for medicationRoute - gets
|
MedicationStatusChangeModifier |
getMedicationStatusChange()
getter for medicationStatusChange - gets
|
MedicationStrengthModifier |
getMedicationStrength()
getter for medicationStrength - gets
|
TemporalTextRelation |
getRelativeTemporalContext()
getter for relativeTemporalContext - gets
|
TimeMention |
getStartDate()
getter for startDate - gets
|
int |
getTypeIndexID() |
private void |
readObject()
Write your own initialization here
|
void |
setEndDate(TimeMention v)
setter for endDate - sets
|
void |
setMedicationAllergy(MedicationAllergyModifier v)
setter for medicationAllergy - sets
|
void |
setMedicationDosage(MedicationDosageModifier v)
setter for medicationDosage - sets
|
void |
setMedicationDuration(MedicationDurationModifier v)
setter for medicationDuration - sets
|
void |
setMedicationForm(MedicationFormModifier v)
setter for medicationForm - sets
|
void |
setMedicationFrequency(MedicationFrequencyModifier v)
setter for medicationFrequency - sets
|
void |
setMedicationRoute(MedicationRouteModifier v)
setter for medicationRoute - sets
|
void |
setMedicationStatusChange(MedicationStatusChangeModifier v)
setter for medicationStatusChange - sets
|
void |
setMedicationStrength(MedicationStrengthModifier v)
setter for medicationStrength - sets
|
void |
setRelativeTemporalContext(TemporalTextRelation v)
setter for relativeTemporalContext - sets
|
void |
setStartDate(TimeMention 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 MedicationMention()
public MedicationMention(int addr, TOP_Type type)
addr
- low level Feature Structure referencetype
- the type of this Feature Structurepublic MedicationMention(JCas jcas)
jcas
- JCas to which this Feature Structure belongspublic MedicationMention(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 MedicationAllergyModifier getMedicationAllergy()
public void setMedicationAllergy(MedicationAllergyModifier v)
v
- value to set into the featurepublic MedicationFrequencyModifier getMedicationFrequency()
public void setMedicationFrequency(MedicationFrequencyModifier v)
v
- value to set into the featurepublic MedicationDurationModifier getMedicationDuration()
public void setMedicationDuration(MedicationDurationModifier v)
v
- value to set into the featurepublic MedicationRouteModifier getMedicationRoute()
public void setMedicationRoute(MedicationRouteModifier v)
v
- value to set into the featurepublic MedicationStatusChangeModifier getMedicationStatusChange()
public void setMedicationStatusChange(MedicationStatusChangeModifier v)
v
- value to set into the featurepublic MedicationDosageModifier getMedicationDosage()
public void setMedicationDosage(MedicationDosageModifier v)
v
- value to set into the featurepublic MedicationStrengthModifier getMedicationStrength()
public void setMedicationStrength(MedicationStrengthModifier v)
v
- value to set into the featurepublic MedicationFormModifier getMedicationForm()
public void setMedicationForm(MedicationFormModifier v)
v
- value to set into the featurepublic TimeMention getStartDate()
public void setStartDate(TimeMention v)
v
- value to set into the featurepublic TimeMention getEndDate()
public void setEndDate(TimeMention v)
v
- value to set into the featurepublic TemporalTextRelation getRelativeTemporalContext()
public void setRelativeTemporalContext(TemporalTextRelation v)
v
- value to set into the feature