org.eclipse.ohf.stem.diseasemodels.standard
Interface DiseaseModelLabel
- All Superinterfaces:
- DynamicLabel, DynamicNodeLabel, org.eclipse.emf.ecore.EObject, Identifiable, Label, NodeLabel, org.eclipse.emf.common.notify.Notifier, SanityChecker
- All Known Subinterfaces:
- SEIRLabel, SILabel, SIRLabel, StandardDiseaseModelLabel
- All Known Implementing Classes:
- DiseaseModelLabelImpl, SEIRLabelImpl, SILabelImpl, SIRLabelImpl, StandardDiseaseModelLabelImpl
public interface DiseaseModelLabel
- extends DynamicNodeLabel
This interface defines a class in an EMF model for an STEM Disease model
label. It is the top-level disease model, all other disease model labels
derive from this class.
Methods inherited from interface org.eclipse.emf.ecore.EObject |
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset |
Methods inherited from interface org.eclipse.emf.common.notify.Notifier |
eAdapters, eDeliver, eNotify, eSetDeliver |
Methods inherited from interface org.eclipse.emf.ecore.EObject |
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset |
Methods inherited from interface org.eclipse.emf.common.notify.Notifier |
eAdapters, eDeliver, eNotify, eSetDeliver |
URI_TYPE_DISEASE_MODEL_LABEL_SEGMENT
static final java.lang.String URI_TYPE_DISEASE_MODEL_LABEL_SEGMENT
- This is the top-level segment for all type URI's for disease model
labels.
- See Also:
- Constant Field Values
URI_TYPE_SIR_LABEL
static final org.eclipse.emf.common.util.URI URI_TYPE_SIR_LABEL
- This is the type URI for disease model labels
getPopulationLabel
PopulationLabel getPopulationLabel()
- This is the Population being infected by a Disease. The values for this
disease model label apply to the population represented by the population
label.
- Returns:
- the Population affected by the disease.
setPopulationLabel
void setPopulationLabel(PopulationLabel value)
- Sets the value of the '
Population Label
' reference.
- Parameters:
value
- the new value of the 'Population Label' reference.- See Also:
getPopulationLabel()
getDiseaseModelState
DiseaseModelState getDiseaseModelState()
- Returns:
- the disease model state associated with this label (if any).
setDiseaseModelState
void setDiseaseModelState(DiseaseModelState value)
- Sets the value of the '
Disease Model State
' containment reference.
- Parameters:
value
- the new value of the 'Disease Model State' containment reference.- See Also:
getDiseaseModelState()
getBirths
double getBirths()
- Returns:
- the value of the number of population members born.
setBirths
void setBirths(double b)
- Parameters:
b
- the number of births
getNextBirths
double getNextBirths()
- Returns:
- the next value of the number of population members born.
setNextBirths
void setNextBirths(double b)
- Parameters:
b
- the number of births
getDeaths
double getDeaths()
- Returns:
- the value of the number of population members who have died.
setDeaths
void setDeaths(double d)
- Parameters:
d
- the number of deaths
getNextDeaths
double getNextDeaths()
- Returns:
- the next value of the number of population members who have died.
setNextDeaths
void setNextDeaths(double d)
- Parameters:
d
- the number of deaths
getDiseaseDeaths
double getDiseaseDeaths()
- Returns:
- the value of the number of population members who have died from
the disease.
setDiseaseDeaths
void setDiseaseDeaths(double d)
- Parameters:
d
- the number of deaths
getNextDiseaseDeaths
double getNextDiseaseDeaths()
- Returns:
- the next value of the number of population members who have died
from the disease.
setNextDiseaseDeaths
void setNextDiseaseDeaths(double d)
- Parameters:
d
- the number of deaths
getCurrentDiseaseModelLabelValue
DiseaseModelLabelValue getCurrentDiseaseModelLabelValue()
- Returns:
- the current SI label value
getNextDiseaseModelLabelValue
DiseaseModelLabelValue getNextDiseaseModelLabelValue()
- Returns:
- the next SI label value