org.eclipse.ohf.stem.diseasemodels.standard.impl
Class SIRLabelImpl

java.lang.Object
  extended by org.eclipse.emf.common.notify.impl.BasicNotifierImpl
      extended by org.eclipse.emf.ecore.impl.BasicEObjectImpl
          extended by org.eclipse.emf.ecore.impl.EObjectImpl
              extended by org.eclipse.ohf.stem.core.common.impl.IdentifiableImpl
                  extended by org.eclipse.ohf.stem.core.graph.impl.LabelImpl
                      extended by org.eclipse.ohf.stem.core.graph.impl.DynamicLabelImpl
                          extended by org.eclipse.ohf.stem.core.graph.impl.DynamicNodeLabelImpl
                              extended by org.eclipse.ohf.stem.diseasemodels.standard.impl.DiseaseModelLabelImpl
                                  extended by org.eclipse.ohf.stem.diseasemodels.standard.impl.StandardDiseaseModelLabelImpl
                                      extended by org.eclipse.ohf.stem.diseasemodels.standard.impl.SILabelImpl
                                          extended by org.eclipse.ohf.stem.diseasemodels.standard.impl.SIRLabelImpl
All Implemented Interfaces:
org.eclipse.emf.common.notify.Notifier, org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.InternalEObject, Identifiable, SanityChecker, DynamicLabel, DynamicNodeLabel, Label, NodeLabel, DiseaseModelLabel, SILabel, SIRLabel, StandardDiseaseModelLabel
Direct Known Subclasses:
SEIRLabelImpl

public class SIRLabelImpl
extends SILabelImpl
implements SIRLabel

An implementation of the model object 'SIR Label'.

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.SIRLabel
URI_TYPE_SIR_LABEL, URI_TYPE_SIR_LABEL_SEGMENT
 
Fields inherited from interface org.eclipse.ohf.stem.diseasemodels.standard.SILabel
URI_TYPE_SI_LABEL_SEGMENT
 
Fields inherited from interface org.eclipse.ohf.stem.diseasemodels.standard.StandardDiseaseModelLabel
URI_TYPE_STANDARD_DISEASE_MODEL_LABEL_SEGMENT
 
Fields inherited from interface org.eclipse.ohf.stem.diseasemodels.standard.DiseaseModelLabel
URI_TYPE_DISEASE_MODEL_LABEL_SEGMENT
 
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
 
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject
EOPPOSITE_FEATURE_BASE
 
Method Summary
 java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
           
 boolean eIsSet(int featureID)
           
 SIRLabelValue getCurrentSIRValue()
           
 double getNextR()
           
 SIRLabelValue getNextSIRValue()
           
 double getR()
           
 void setNextR(double r)
           
 void setR(double r)
           
 
Methods inherited from class org.eclipse.ohf.stem.diseasemodels.standard.impl.SILabelImpl
getCurrentSIValue, getI, getIF, getIR, getNextI, getNextIF, getNextIR, getNextSIValue, setIF, setIR, setNextIF, setNextIR
 
Methods inherited from class org.eclipse.ohf.stem.diseasemodels.standard.impl.StandardDiseaseModelLabelImpl
getCurrentStandardDiseaseModelLabelValue, getNextS, getNextStandardDiseaseModelLabelValue, getS, reset, setNextS, setS
 
Methods inherited from class org.eclipse.ohf.stem.diseasemodels.standard.impl.DiseaseModelLabelImpl
basicGetPopulationLabel, basicSetDiseaseModelState, eInverseAdd, eInverseRemove, eSet, eUnset, getBirths, getCurrentDiseaseModelLabelValue, getDeaths, getDiseaseDeaths, getDiseaseModelState, getNextBirths, getNextDeaths, getNextDiseaseDeaths, getNextDiseaseModelLabelValue, getPopulationLabel, labelNode, sane, setBirths, setDeaths, setDiseaseDeaths, setDiseaseModelState, setNextBirths, setNextDeaths, setNextDiseaseDeaths, setPopulationLabel
 
Methods inherited from class org.eclipse.ohf.stem.core.graph.impl.DynamicNodeLabelImpl
basicGetNode, basicSetNode, eBaseStructuralFeatureID, eDerivedStructuralFeatureID, getIdentifiable, getNode, setIdentifiable, setNode, toString
 
Methods inherited from class org.eclipse.ohf.stem.core.graph.impl.DynamicLabelImpl
basicGetDecorator, basicSetDecorator, basicSetNextValue, getDecorator, getNextValue, isNextValueValid, setDecorator, setNextValue, setNextValueValid, switchToNextValue
 
Methods inherited from class org.eclipse.ohf.stem.core.graph.impl.LabelImpl
basicGetIdentifiable, basicSetCurrentValue, getCurrentValue, getURIOfIdentifiableToBeLabeled, setCurrentValue, setURIOfIdentifiableToBeLabeled
 
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, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eContainer, eContainingFeature, eContainmentFeature, eContains, eContents, eCrossReferences, 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.diseasemodels.standard.SILabel
getCurrentSIValue, getI, getIF, getIR, getNextI, getNextIF, getNextIR, getNextSIValue, setIF, setIR, setNextIF, setNextIR
 
Methods inherited from interface org.eclipse.ohf.stem.diseasemodels.standard.StandardDiseaseModelLabel
getCurrentStandardDiseaseModelLabelValue, getNextS, getNextStandardDiseaseModelLabelValue, getS, setNextS, setS
 
Methods inherited from interface org.eclipse.ohf.stem.diseasemodels.standard.DiseaseModelLabel
getBirths, getCurrentDiseaseModelLabelValue, getDeaths, getDiseaseDeaths, getDiseaseModelState, getNextBirths, getNextDeaths, getNextDiseaseDeaths, getNextDiseaseModelLabelValue, getPopulationLabel, setBirths, setDeaths, setDiseaseDeaths, setDiseaseModelState, setNextBirths, setNextDeaths, setNextDiseaseDeaths, setPopulationLabel
 
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
 
Methods inherited from interface org.eclipse.emf.ecore.InternalEObject
eNotificationRequired
 

Method Detail

getNextSIRValue

public SIRLabelValue getNextSIRValue()

Specified by:
getNextSIRValue in interface SIRLabel
Returns:

getCurrentSIRValue

public SIRLabelValue getCurrentSIRValue()

Specified by:
getCurrentSIRValue in interface SIRLabel
Returns:

getR

public double getR()
Specified by:
getR in interface SIRLabel
Returns:
the current number of "recovered" population members
See Also:
SIRLabel.getR()

setR

public void setR(double r)
Specified by:
setR in interface SIRLabel
Parameters:
r - the new value for the current number of "recovered" population members
See Also:
SIRLabel.setR(double)

getNextR

public double getNextR()
Specified by:
getNextR in interface SIRLabel
Returns:
the next number of "recovered" population members
See Also:
SIRLabel.getNextR()

setNextR

public void setNextR(double r)
Specified by:
setNextR in interface SIRLabel
Parameters:
r - the new value for the next number of "recovered" population members
See Also:
SIRLabel.setNextR(double)

eGet

public java.lang.Object eGet(int featureID,
                             boolean resolve,
                             boolean coreType)

Specified by:
eGet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eGet in class SILabelImpl
Parameters:
featureID -
resolve -
coreType -
Returns:

eIsSet

public boolean eIsSet(int featureID)

Specified by:
eIsSet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eIsSet in class SILabelImpl
Parameters:
featureID -
Returns: