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

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.diseasemodels.standard.impl.DiseaseModelStateImpl
                  extended by org.eclipse.ohf.stem.diseasemodels.standard.impl.AggregatingDiseaseModelStateImpl
All Implemented Interfaces:
org.eclipse.emf.common.notify.Notifier, org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.InternalEObject, SanityChecker, AggregatingDiseaseModelState, DiseaseModelState

public class AggregatingDiseaseModelStateImpl
extends DiseaseModelStateImpl
implements AggregatingDiseaseModelState

An implementation of the model object 'Aggregating Disease Model State'.

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.emf.ecore.InternalEObject
EOPPOSITE_FEATURE_BASE
 
Method Summary
 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)
           
 org.eclipse.emf.common.util.EList<SILabel> getChildrensLabels()
           
 java.util.Map<TransportMode,java.util.List<Edge>> getChildTransportEdges()
           
 java.util.Map<TransportMode,java.util.List<Edge>> getParentPeerTransportEdges()
           
static java.util.List<Edge> getTransportEdges(Node node)
           
 java.util.List<TransportMode> getTransportModes()
           
 
Methods inherited from class org.eclipse.ohf.stem.diseasemodels.standard.impl.DiseaseModelStateImpl
basicSetLabel, eBasicRemoveFromContainerFeature, eInverseAdd, eInverseRemove, getLabel, sane, setLabel, toString
 
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.diseasemodels.standard.DiseaseModelState
getLabel, setLabel
 
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
 
Methods inherited from interface org.eclipse.emf.ecore.InternalEObject
eNotificationRequired
 

Method Detail

getChildrensLabels

public org.eclipse.emf.common.util.EList<SILabel> getChildrensLabels()

Specified by:
getChildrensLabels in interface AggregatingDiseaseModelState
Returns:
the disease model labels whose values are to be aggregated

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 DiseaseModelStateImpl
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 DiseaseModelStateImpl
newValue -

eUnset

public void eUnset(int featureID)

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

eIsSet

public boolean eIsSet(int featureID)

Specified by:
eIsSet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eIsSet in class DiseaseModelStateImpl
Returns:

getTransportModes

public java.util.List<TransportMode> getTransportModes()
Returns:
a list of the transportation modes that send and receive population members to and from the Node labeled by the disease model label.

getChildTransportEdges

public java.util.Map<TransportMode,java.util.List<Edge>> getChildTransportEdges()
Returns:
a Map between the transportation modes that send and receive population members to and from the Node labeled by the disease model label and the Edges to/from the Node's children.

getParentPeerTransportEdges

public java.util.Map<TransportMode,java.util.List<Edge>> getParentPeerTransportEdges()
Returns:
a Map between the transportation modes that send and receive population members to and from the Node labeled by the disease model label and the Edges to/from the Node's parent and peers (i.e., not the children).

getTransportEdges

public static java.util.List<Edge> getTransportEdges(Node node)
Parameters:
node -
Returns:
all of the transportation edges to/from the argument Node