|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DiseaseModelLabelValue
This interface defines a class in an EMF model for an disease model label value. The values of this label record the number of population members who have been "born" and who have "died".
Method Summary | |
---|---|
DiseaseModelLabelValue |
add(DiseaseModelLabelValue value)
Add the value of this disease model label to the value |
double |
getBirths()
|
double |
getDeaths()
|
double |
getDiseaseDeaths()
|
double |
getPopulationCount()
|
DiseaseModelLabelValue |
scale(double scaleFactor)
Multiply the values by a scale factor. |
DiseaseModelLabelValue |
set(DiseaseModelLabelValue value)
Set the value of this disease model label to be the same as the value |
void |
setBirths(double value)
Sets the value of the ' Births ' attribute. |
void |
setDeaths(double value)
Sets the value of the ' Deaths ' attribute. |
void |
setDiseaseDeaths(double value)
Sets the value of the ' Disease Deaths ' attribute. |
DiseaseModelLabelValue |
sub(DiseaseModelLabelValue value)
Subtract the value of the passed disease model label value from this disease model label to the value. |
void |
zeroOutPopulationCount()
Set all population values in all states to zero. |
Methods inherited from interface org.eclipse.ohf.stem.core.graph.LabelValue |
---|
reset |
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.ohf.stem.core.common.SanityChecker |
---|
sane |
Method Detail |
---|
double getBirths()
void setBirths(double value)
Births
' attribute.
value
- the new value of the 'Births' attribute.getBirths()
double getDeaths()
void setDeaths(double value)
Deaths
' attribute.
value
- the new value of the 'Deaths' attribute.getDeaths()
double getDiseaseDeaths()
void setDiseaseDeaths(double value)
Disease Deaths
' attribute.
value
- the new value of the 'Disease Deaths' attribute.getDiseaseDeaths()
DiseaseModelLabelValue set(DiseaseModelLabelValue value)
value
- the new value for this disease model value
DiseaseModelLabelValue add(DiseaseModelLabelValue value)
value
- the value to be added to this disease model value
DiseaseModelLabelValue sub(DiseaseModelLabelValue value)
value
- the value to be added to this disease model value
DiseaseModelLabelValue scale(double scaleFactor)
scaleFactor
- the mulitplier
double getPopulationCount()
void zeroOutPopulationCount()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |