org.eclipse.ohf.stem.core.model.impl
Class ModelImpl

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.ModelImpl
All Implemented Interfaces:
org.eclipse.emf.common.notify.Notifier, org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.InternalEObject, Identifiable, SanityChecker, Model

public class ModelImpl
extends IdentifiableImpl
implements Model

An implementation of the model object '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.core.model.Model
URI_TYPE_MODEL_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)
           
 void eSet(int featureID, java.lang.Object newValue)
           
 void eUnset(int featureID)
           
 Graph getCanonicalGraph(org.eclipse.emf.common.util.URI uri)
          This method combines all of the graph "fragments" together to make a graph suitable for simulation.
 org.eclipse.emf.common.util.EList<EdgeDecorator> getEdgeDecorators()
           
 org.eclipse.emf.common.util.EList<GraphDecorator> getGraphDecorators()
           
 org.eclipse.emf.common.util.EList<Graph> getGraphs()
           
 org.eclipse.emf.common.util.EList<Model> getModels()
           
 org.eclipse.emf.common.util.EList<NodeDecorator> getNodeDecorators()
           
 boolean sane()
           
 java.lang.String toString()
           
 
Methods inherited from class org.eclipse.ohf.stem.core.common.impl.IdentifiableImpl
basicSetDublinCore, eInverseRemove, 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, eBasicRemoveFromContainerFeature, 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, 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.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

getModels

public org.eclipse.emf.common.util.EList<Model> getModels()

Specified by:
getModels in interface Model
Returns:
this Model's collection of (sub) Models

getGraphs

public org.eclipse.emf.common.util.EList<Graph> getGraphs()

Specified by:
getGraphs in interface Model
Returns:
this Model's collection of Graph}s

getGraphDecorators

public org.eclipse.emf.common.util.EList<GraphDecorator> getGraphDecorators()

Specified by:
getGraphDecorators in interface Model
Returns:
the collection of Decorators that decorate the canonical Graph itself. These decorations are Labels that act like "global variables" for the canonical Graph.

getNodeDecorators

public org.eclipse.emf.common.util.EList<NodeDecorator> getNodeDecorators()

Specified by:
getNodeDecorators in interface Model
Returns:
the collection of Decorators that decorate the Nodes in the canonical Graph.

getEdgeDecorators

public org.eclipse.emf.common.util.EList<EdgeDecorator> getEdgeDecorators()

Specified by:
getEdgeDecorators in interface Model
Returns:
the collection of Decorators that decorate the Edges in the canonical Graph.

getCanonicalGraph

public Graph getCanonicalGraph(org.eclipse.emf.common.util.URI uri)
This method combines all of the graph "fragments" together to make a graph suitable for simulation.

Specified by:
getCanonicalGraph in interface Model
Parameters:
uri - the URI of the newly created canonical graph
Returns:
the canonical graph of the model

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 IdentifiableImpl

eSet

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

Specified by:
eSet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eSet in class IdentifiableImpl

eUnset

public void eUnset(int featureID)

Specified by:
eUnset in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eUnset in class IdentifiableImpl

eIsSet

public boolean eIsSet(int featureID)

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

toString

public java.lang.String toString()
Description copied from class: IdentifiableImpl

Overrides:
toString in class IdentifiableImpl
See Also:
com.ibm.almaden.stem.common.impl.IdentifiableImpl#toString()

sane

public boolean sane()
Description copied from class: IdentifiableImpl

Specified by:
sane in interface Identifiable
Specified by:
sane in interface SanityChecker
Overrides:
sane in class IdentifiableImpl
Returns:
true if the instance is "sane", false otherwise.
See Also:
com.ibm.almaden.stem.common.impl.IdentifiableImpl#sane()