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.


Field Summary
static java.lang.String URI_TYPE_DISEASE_MODEL_LABEL_SEGMENT
          This is the top-level segment for all type URI's for disease model labels.
static org.eclipse.emf.common.util.URI URI_TYPE_SIR_LABEL
          This is the type URI for disease model labels
 
Fields inherited from interface org.eclipse.ohf.stem.core.graph.DynamicLabel
URI_TYPE_DYNAMIC_LABEL, URI_TYPE_DYNAMIC_LABEL_SEGMENT
 
Fields inherited from interface org.eclipse.ohf.stem.core.graph.Label
URI_TYPE_LABEL, URI_TYPE_LABEL_SEGMENT
 
Fields inherited from interface org.eclipse.ohf.stem.core.graph.Label
URI_TYPE_LABEL, URI_TYPE_LABEL_SEGMENT
 
Method Summary
 double getBirths()
           
 DiseaseModelLabelValue getCurrentDiseaseModelLabelValue()
           
 double getDeaths()
           
 double getDiseaseDeaths()
           
 DiseaseModelState getDiseaseModelState()
           
 double getNextBirths()
           
 double getNextDeaths()
           
 double getNextDiseaseDeaths()
           
 DiseaseModelLabelValue getNextDiseaseModelLabelValue()
           
 PopulationLabel getPopulationLabel()
          This is the Population being infected by a Disease.
 void setBirths(double b)
           
 void setDeaths(double d)
           
 void setDiseaseDeaths(double d)
           
 void setDiseaseModelState(DiseaseModelState value)
          Sets the value of the 'Disease Model State' containment reference.
 void setNextBirths(double b)
           
 void setNextDeaths(double d)
           
 void setNextDiseaseDeaths(double d)
           
 void setPopulationLabel(PopulationLabel value)
          Sets the value of the 'Population Label' reference.
 
Methods inherited from interface org.eclipse.ohf.stem.core.graph.DynamicLabel
getDecorator, getNextValue, isNextValueValid, reset, setDecorator, setNextValue, setNextValueValid, switchToNextValue
 
Methods inherited from interface org.eclipse.ohf.stem.core.graph.Label
getCurrentValue, getIdentifiable, getURIOfIdentifiableToBeLabeled, setCurrentValue, setIdentifiable, setURIOfIdentifiableToBeLabeled
 
Methods inherited from interface org.eclipse.ohf.stem.core.common.Identifiable
getDublinCore, getTypeURI, getURI, sane, setDublinCore, setTypeURI, setURI
 
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.graph.NodeLabel
getNode, setNode
 
Methods inherited from interface org.eclipse.ohf.stem.core.graph.Label
getCurrentValue, getIdentifiable, getURIOfIdentifiableToBeLabeled, setCurrentValue, setIdentifiable, setURIOfIdentifiableToBeLabeled
 
Methods inherited from interface org.eclipse.ohf.stem.core.common.Identifiable
getDublinCore, getTypeURI, getURI, sane, setDublinCore, setTypeURI, setURI
 
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
 

Field Detail

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

Method Detail

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