|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.ecore.impl.BasicEObjectImpl
org.eclipse.emf.ecore.impl.EObjectImpl
org.eclipse.ohf.stem.core.common.impl.IdentifiableImpl
org.eclipse.ohf.stem.core.model.impl.DecoratorImpl
org.eclipse.ohf.stem.core.model.impl.NodeDecoratorImpl
org.eclipse.ohf.stem.diseasemodels.standard.impl.DiseaseModelImpl
public abstract class DiseaseModelImpl
An implementation of the model object 'Disease Model'.
The following features are implemented:
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl |
---|
org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList<E extends java.lang.Object & org.eclipse.emf.common.notify.Adapter> |
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject |
---|
org.eclipse.emf.ecore.InternalEObject.EStore |
Field Summary |
---|
Fields inherited from class org.eclipse.emf.ecore.impl.EObjectImpl |
---|
ELAST_EOBJECT_FLAG |
Fields inherited from interface org.eclipse.ohf.stem.diseasemodels.standard.DiseaseModel |
---|
URI_TYPE_DISEASEMODEL_SEGMENT |
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject |
---|
EOPPOSITE_FEATURE_BASE |
Method Summary | |
---|---|
abstract DiseaseModelLabel |
createDiseaseModelLabel()
|
abstract DiseaseModelLabelValue |
createDiseaseModelLabelValue()
|
abstract DiseaseModelState |
createDiseaseModelState()
|
abstract Infector |
createInfector()
|
void |
decorateGraph()
|
java.lang.Object |
eGet(int featureID,
boolean resolve,
boolean coreType)
|
boolean |
eIsSet(int featureID)
|
void |
eSet(int featureID,
java.lang.Object newValue)
|
void |
eUnset(int featureID)
|
double |
getAdjustedBackgroundMortalityRate(long timeDelta)
|
double |
getBackgroundMortalityRate()
|
java.lang.String |
getDiseaseName()
|
java.lang.String |
getPopulationIdentifier()
|
long |
getTimePeriod()
|
abstract void |
initializeDiseaseState(DiseaseModelLabel diseaseModelLabel)
This is a second chance to update the DiseaseModelState instance that
is being kept at a DiseaseModelLabel . |
abstract DiseaseModelState |
initializeDiseaseState(DiseaseModelState diseaseModelState,
DiseaseModelLabel diseaseModelLabel)
|
boolean |
sane()
|
void |
setBackgroundMortalityRate(double newBackgroundMortalityRate)
|
void |
setDiseaseName(java.lang.String newDiseaseName)
|
void |
setPopulationIdentifier(java.lang.String newPopulationIdentifier)
|
void |
setTimePeriod(long newTimePeriod)
|
java.lang.String |
toString()
|
Methods inherited from class org.eclipse.ohf.stem.core.model.impl.DecoratorImpl |
---|
basicSetGraph, eBasicRemoveFromContainerFeature, eInverseAdd, eInverseRemove, getGraph, getLabelsToUpdate, resetLabels, setGraph, updateLabels |
Methods inherited from class org.eclipse.ohf.stem.core.common.impl.IdentifiableImpl |
---|
basicSetDublinCore, getDublinCore, getTypeURI, getURI, setDublinCore, setTypeURI, setURI |
Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl |
---|
eAdapters, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eIsProxy, eSetClass, eSetDeliver, eSetProxyURI |
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl |
---|
eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicSetContainer, eContainer, eContainingFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eInternalResource, eInverseAdd, eInverseRemove, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eResolveProxy, eResource, eSet, eSetResource, eSetStore, eSetting, eStore, eUnset, eURIFragmentSegment, eVirtualGet, eVirtualGet, eVirtualIsSet, eVirtualSet, eVirtualUnset |
Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl |
---|
eNotificationRequired, eNotify |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.eclipse.ohf.stem.core.model.Decorator |
---|
getGraph, getLabelsToUpdate, resetLabels, setGraph, updateLabels |
Methods inherited from interface org.eclipse.ohf.stem.core.common.Identifiable |
---|
getDublinCore, getTypeURI, getURI, 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.emf.ecore.InternalEObject |
---|
eNotificationRequired |
Method Detail |
---|
public long getTimePeriod()
getTimePeriod
in interface DiseaseModel
public void setTimePeriod(long newTimePeriod)
setTimePeriod
in interface DiseaseModel
newTimePeriod
- DiseaseModel.getTimePeriod()
public java.lang.String getPopulationIdentifier()
getPopulationIdentifier
in interface DiseaseModel
public void setPopulationIdentifier(java.lang.String newPopulationIdentifier)
setPopulationIdentifier
in interface DiseaseModel
newPopulationIdentifier
- DiseaseModel.getPopulationIdentifier()
public double getBackgroundMortalityRate()
getBackgroundMortalityRate
in interface DiseaseModel
public void setBackgroundMortalityRate(double newBackgroundMortalityRate)
setBackgroundMortalityRate
in interface DiseaseModel
newBackgroundMortalityRate
- DiseaseModel.getBackgroundMortalityRate()
public java.lang.String getDiseaseName()
getDiseaseName
in interface DiseaseModel
public void setDiseaseName(java.lang.String newDiseaseName)
setDiseaseName
in interface DiseaseModel
newDiseaseName
- the new value of the 'Disease Name' attribute.DiseaseModel.getDiseaseName()
public double getAdjustedBackgroundMortalityRate(long timeDelta)
getAdjustedBackgroundMortalityRate
in interface DiseaseModel
timeDelta
-
public abstract DiseaseModelLabel createDiseaseModelLabel()
createDiseaseModelLabel
in interface DiseaseModel
public abstract DiseaseModelLabelValue createDiseaseModelLabelValue()
createDiseaseModelLabelValue
in interface DiseaseModel
public abstract DiseaseModelState createDiseaseModelState()
createDiseaseModelState
in interface DiseaseModel
public abstract DiseaseModelState initializeDiseaseState(DiseaseModelState diseaseModelState, DiseaseModelLabel diseaseModelLabel)
initializeDiseaseState
in interface DiseaseModel
diseaseModelState
- diseaseModelLabel
-
public abstract void initializeDiseaseState(DiseaseModelLabel diseaseModelLabel)
DiseaseModelState
instance that
is being kept at a DiseaseModelLabel
. We get this because we've
already done one pass over the lablel's that the disease model updates. In
that pass we accumlated global state information (e.g., the total population)
and now we might need to add something to the state information such
as the global population density.
initializeDiseaseState
in interface DiseaseModel
diseaseModelLabel
- the label to use to initialize the state informationpublic abstract Infector createInfector()
createInfector
in interface DiseaseModel
public void decorateGraph()
DecoratorImpl
decorateGraph
in interface Decorator
decorateGraph
in class DecoratorImpl
org.eclipse.ohf.stem.core.model.impl.DecoratorImpl#decorateGraph(org.eclipse.ohf.stem.core.graph.Graph)
public java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
eGet
in interface org.eclipse.emf.ecore.InternalEObject
eGet
in class DecoratorImpl
featureID
- resolve
- coreType
-
public void eSet(int featureID, java.lang.Object newValue)
eSet
in interface org.eclipse.emf.ecore.InternalEObject
eSet
in class DecoratorImpl
featureID
- newValue
- public void eUnset(int featureID)
eUnset
in interface org.eclipse.emf.ecore.InternalEObject
eUnset
in class DecoratorImpl
featureID
- public boolean eIsSet(int featureID)
eIsSet
in interface org.eclipse.emf.ecore.InternalEObject
eIsSet
in class DecoratorImpl
featureID
-
public java.lang.String toString()
toString
in class IdentifiableImpl
public boolean sane()
IdentifiableImpl
sane
in interface Identifiable
sane
in interface SanityChecker
sane
in class NodeDecoratorImpl
NodeDecoratorImpl.sane()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |