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

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.model.impl.DecoratorImpl
                      extended by org.eclipse.ohf.stem.core.model.impl.NodeDecoratorImpl
                          extended by org.eclipse.ohf.stem.diseasemodels.standard.impl.InfectorImpl
All Implemented Interfaces:
org.eclipse.emf.common.notify.Notifier, org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.InternalEObject, Identifiable, SanityChecker, Decorator, NodeDecorator, Infector
Direct Known Subclasses:
StandardInfectorImpl

public abstract class InfectorImpl
extends NodeDecoratorImpl
implements Infector

An implementation of the model object 'Infector'.

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.Infector
URI_TYPE_INFECTOR_SEGMENT
 
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject
EOPPOSITE_FEATURE_BASE
 
Method Summary
 StandardDiseaseModel basicGetDiseaseModel()
           
 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)
           
 StandardDiseaseModel getDiseaseModel()
           
 java.lang.String getDiseaseName()
           
 org.eclipse.emf.common.util.EList<DiseaseModelLabel> getLabelsToInfect()
           
 java.lang.String getPopulationIdentifer()
           
 java.lang.String getTargetISOKey()
           
 org.eclipse.emf.common.util.URI getTargetURI()
           
 void resetLabels()
           
 void setDiseaseModel(StandardDiseaseModel newDiseaseModel)
           
 void setDiseaseName(java.lang.String newDiseaseName)
           
 void setPopulationIdentifer(java.lang.String newPopulationIdentifer)
           
 void setTargetISOKey(java.lang.String newTargetISOKey)
           
 void setTargetURI(org.eclipse.emf.common.util.URI newTargetURI)
           
 java.lang.String toString()
           
 void updateLabels(STEMTime time, long timerPeriod)
           
 
Methods inherited from class org.eclipse.ohf.stem.core.model.impl.NodeDecoratorImpl
sane
 
Methods inherited from class org.eclipse.ohf.stem.core.model.impl.DecoratorImpl
basicSetGraph, eBasicRemoveFromContainerFeature, eInverseAdd, eInverseRemove, getGraph, getLabelsToUpdate, setGraph
 
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, setGraph
 
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

decorateGraph

public void decorateGraph()
Description copied from class: DecoratorImpl

Specified by:
decorateGraph in interface Decorator
Overrides:
decorateGraph in class DecoratorImpl
See Also:
org.eclipse.ohf.stem.core.model.impl.DecoratorImpl#decorateGraph(org.eclipse.ohf.stem.core.graph.Graph)

resetLabels

public void resetLabels()
Description copied from class: DecoratorImpl

Specified by:
resetLabels in interface Decorator
Overrides:
resetLabels in class DecoratorImpl
See Also:
org.eclipse.ohf.stem.core.model.impl.DecoratorImpl#resetLabels(org.eclipse.ohf.stem.core.graph.Graph)

updateLabels

public void updateLabels(STEMTime time,
                         long timerPeriod)
Description copied from class: DecoratorImpl

Specified by:
updateLabels in interface Decorator
Overrides:
updateLabels in class DecoratorImpl
Parameters:
time - the time to be used when determining the changes to be made to the Graph
See Also:
org.eclipse.ohf.stem.core.model.impl.DecoratorImpl#updateLabels(org.eclipse.ohf.stem.core.graph.Graph, org.eclipse.ohf.stem.core.model.STEMTime, long)

getDiseaseModel

public StandardDiseaseModel getDiseaseModel()

Specified by:
getDiseaseModel in interface Infector
Returns:

basicGetDiseaseModel

public StandardDiseaseModel basicGetDiseaseModel()

Returns:

setDiseaseModel

public void setDiseaseModel(StandardDiseaseModel newDiseaseModel)

Specified by:
setDiseaseModel in interface Infector
Parameters:
newDiseaseModel -
See Also:
Infector.getDiseaseModel()

getPopulationIdentifer

public java.lang.String getPopulationIdentifer()

Specified by:
getPopulationIdentifer in interface Infector
Returns:

setPopulationIdentifer

public void setPopulationIdentifer(java.lang.String newPopulationIdentifer)

Specified by:
setPopulationIdentifer in interface Infector
Parameters:
newPopulationIdentifer -
See Also:
Infector.getPopulationIdentifer()

getTargetURI

public org.eclipse.emf.common.util.URI getTargetURI()

Specified by:
getTargetURI in interface Infector
Returns:

setTargetURI

public void setTargetURI(org.eclipse.emf.common.util.URI newTargetURI)

Specified by:
setTargetURI in interface Infector
Parameters:
newTargetURI -
See Also:
Infector.getTargetURI()

getDiseaseName

public java.lang.String getDiseaseName()

Specified by:
getDiseaseName in interface Infector
Returns:
the name of the disease to be infected

setDiseaseName

public void setDiseaseName(java.lang.String newDiseaseName)

Specified by:
setDiseaseName in interface Infector
Parameters:
newDiseaseName - the new value of the 'Disease Name' attribute.
See Also:
Infector.getDiseaseName()

getTargetISOKey

public java.lang.String getTargetISOKey()

Specified by:
getTargetISOKey in interface Infector
Returns:
the ISO3166 based key for the Region to be infected.

setTargetISOKey

public void setTargetISOKey(java.lang.String newTargetISOKey)

Specified by:
setTargetISOKey in interface Infector
Parameters:
newTargetISOKey - the new value of the 'Target ISO Key' attribute.
See Also:
getTargetURI()

getLabelsToInfect

public org.eclipse.emf.common.util.EList<DiseaseModelLabel> getLabelsToInfect()

Specified by:
getLabelsToInfect in interface Infector
Returns:
the list of DiseaseLabels that this Infector is responsible for "infecting".

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 DecoratorImpl
Parameters:
featureID -
resolve -
coreType -
Returns:

eSet

public void eSet(int featureID,
                 java.lang.Object newValue)

Specified by:
eSet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eSet in class DecoratorImpl
Parameters:
featureID -
newValue -

eUnset

public void eUnset(int featureID)

Specified by:
eUnset in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eUnset in class DecoratorImpl
Parameters:
featureID -

eIsSet

public boolean eIsSet(int featureID)

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

toString

public java.lang.String toString()

Overrides:
toString in class IdentifiableImpl
Returns: