org.eclipse.emf.henshin.model.impl
Class ModuleImpl

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.emf.henshin.model.impl.ModelElementImpl
                  extended by org.eclipse.emf.henshin.model.impl.NamedElementImpl
                      extended by org.eclipse.emf.henshin.model.impl.ModuleImpl
All Implemented Interfaces:
Notifier, EObject, InternalEObject, ModelElement, Module, NamedElement

public class ModuleImpl
extends NamedElementImpl
implements Module

An implementation of the model object 'Module'.

The following features are implemented:


Nested Class Summary
 
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
BasicEObjectImpl.EPropertiesHolder, BasicEObjectImpl.EPropertiesHolderBaseImpl, BasicEObjectImpl.EPropertiesHolderImpl
 
Nested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
BasicNotifierImpl.EAdapterList<E extends Object & Adapter>, BasicNotifierImpl.EObservableAdapterList
 
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject
InternalEObject.EStore
 
Field Summary
protected  EList<EPackage> imports
          The cached value of the 'Imports' reference list.
protected  EList<Graph> instances
          Deprecated. Will be removed in the future.
protected  EList<Module> subModules
          The cached value of the 'Sub Modules' containment reference list.
protected  EList<Unit> units
          The cached value of the 'Units' containment reference list.
 
Fields inherited from class org.eclipse.emf.henshin.model.impl.NamedElementImpl
description, DESCRIPTION_EDEFAULT, name, NAME_EDEFAULT
 
Fields inherited from class org.eclipse.emf.henshin.model.impl.ModelElementImpl
annotations
 
Fields inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eAdapters, eContainer, eContainerFeatureID, EDELIVER, EDYNAMIC_CLASS, eFlags, ELAST_EOBJECT_FLAG, ELAST_NOTIFIER_FLAG, eProperties, EPROXY
 
Fields inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
EVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSET
 
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject
EOPPOSITE_FEATURE_BASE
 
Constructor Summary
ModuleImpl()
           
 
Method Summary
 NotificationChain basicSetSuperModule(Module newSuperModule, NotificationChain msgs)
           
 NotificationChain eBasicRemoveFromContainerFeature(NotificationChain msgs)
           
 Object eGet(EStructuralFeature eFeature, boolean resolve, boolean coreType)
           
 Object eGet(int featureID, boolean resolve, boolean coreType)
           
 NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs)
           
 NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
           
 boolean eIsSet(int featureID)
           
 void eSet(int featureID, Object newValue)
           
protected  EClass eStaticClass()
           
 void eUnset(int featureID)
           
 EList<EPackage> getImports()
           
 EList<Graph> getInstances()
          Deprecated. Will be removed in the future.
 Module getSubModule(String name)
           
 EList<Module> getSubModules()
           
 Module getSuperModule()
           
 Unit getUnit(String name)
           
 EList<Unit> getUnits()
           
 void setSuperModule(Module newSuperModule)
           
 
Methods inherited from class org.eclipse.emf.henshin.model.impl.NamedElementImpl
getDescription, getName, setDescription, setName, toString
 
Methods inherited from class org.eclipse.emf.henshin.model.impl.ModelElementImpl
getAnnotations
 
Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eAdapters, eBasicAdapters, eBasicProperties, eBasicSetContainer, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eInvoke, eIsProxy, eProperties, eSetClass, eSetDeliver, eSetProxyURI
 
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAddVirtualValue, eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainerAdapterArray, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicClass, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInverseRemove, eDynamicInvoke, eDynamicInvoke, eDynamicIsSet, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eDynamicUnset, eGet, eGet, eHasSettings, eInternalResource, eInverseAdd, eInverseRemove, eInvocationDelegate, eInvoke, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetDirectResource, eSetResource, eSetStore, eSetting, eSettingDelegate, eSettings, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticFeatureCount, eStaticOperationCount, eStore, eUnset, eURIFragmentSegment, eVirtualBitCount, eVirtualGet, eVirtualGet, eVirtualIndex, eVirtualIndexBits, eVirtualIsSet, eVirtualSet, eVirtualUnset, eVirtualValue, eVirtualValues
 
Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
eBasicAdapterArray, eBasicHasAdapters, eNotificationRequired, eNotify
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.eclipse.emf.henshin.model.NamedElement
getDescription, getName, setDescription, setName
 
Methods inherited from interface org.eclipse.emf.henshin.model.ModelElement
getAnnotations
 
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, 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
 

Field Detail

subModules

protected EList<Module> subModules
The cached value of the 'Sub Modules' containment reference list.

See Also:
getSubModules()

imports

protected EList<EPackage> imports
The cached value of the 'Imports' reference list.

See Also:
getImports()

units

protected EList<Unit> units
The cached value of the 'Units' containment reference list.

See Also:
getUnits()

instances

protected EList<Graph> instances
Deprecated. Will be removed in the future.
The cached value of the 'Instances' containment reference list.

See Also:
getInstances()
Constructor Detail

ModuleImpl

public ModuleImpl()

Method Detail

eStaticClass

protected EClass eStaticClass()

Overrides:
eStaticClass in class NamedElementImpl

getSubModules

public EList<Module> getSubModules()

Specified by:
getSubModules in interface Module
Returns:
the value of the 'Sub Modules' containment reference list.
See Also:
HenshinPackage.getModule_SubModules(), Module.getSuperModule()

getSuperModule

public Module getSuperModule()

Specified by:
getSuperModule in interface Module
Returns:
the value of the 'Super Module' container reference.
See Also:
Module.setSuperModule(Module), HenshinPackage.getModule_SuperModule(), Module.getSubModules()

basicSetSuperModule

public NotificationChain basicSetSuperModule(Module newSuperModule,
                                             NotificationChain msgs)


setSuperModule

public void setSuperModule(Module newSuperModule)

Specified by:
setSuperModule in interface Module
Parameters:
newSuperModule - the new value of the 'Super Module' container reference.
See Also:
Module.getSuperModule()

getImports

public EList<EPackage> getImports()

Specified by:
getImports in interface Module
Returns:
the value of the 'Imports' reference list.
See Also:
HenshinPackage.getModule_Imports()

getUnits

public EList<Unit> getUnits()

Specified by:
getUnits in interface Module
Returns:
the value of the 'Units' containment reference list.
See Also:
HenshinPackage.getModule_Units()

getInstances

public EList<Graph> getInstances()
Deprecated. Will be removed in the future.

Specified by:
getInstances in interface Module
Returns:
the value of the 'Instances' containment reference list.
See Also:
HenshinPackage.getModule_Instances()

getUnit

public Unit getUnit(String name)

Specified by:
getUnit in interface Module

getSubModule

public Module getSubModule(String name)

Specified by:
getSubModule in interface Module

eInverseAdd

public NotificationChain eInverseAdd(InternalEObject otherEnd,
                                     int featureID,
                                     NotificationChain msgs)

Overrides:
eInverseAdd in class BasicEObjectImpl

eInverseRemove

public NotificationChain eInverseRemove(InternalEObject otherEnd,
                                        int featureID,
                                        NotificationChain msgs)

Overrides:
eInverseRemove in class ModelElementImpl

eBasicRemoveFromContainerFeature

public NotificationChain eBasicRemoveFromContainerFeature(NotificationChain msgs)

Overrides:
eBasicRemoveFromContainerFeature in class BasicEObjectImpl

eGet

public Object eGet(int featureID,
                   boolean resolve,
                   boolean coreType)

Specified by:
eGet in interface InternalEObject
Overrides:
eGet in class NamedElementImpl

eGet

public Object eGet(EStructuralFeature eFeature,
                   boolean resolve,
                   boolean coreType)

Specified by:
eGet in interface InternalEObject
Overrides:
eGet in class BasicEObjectImpl

eSet

public void eSet(int featureID,
                 Object newValue)

Specified by:
eSet in interface InternalEObject
Overrides:
eSet in class NamedElementImpl

eUnset

public void eUnset(int featureID)

Specified by:
eUnset in interface InternalEObject
Overrides:
eUnset in class NamedElementImpl

eIsSet

public boolean eIsSet(int featureID)

Specified by:
eIsSet in interface InternalEObject
Overrides:
eIsSet in class NamedElementImpl