org.eclipse.emf.ecore.impl
Class EObjectImpl

java.lang.Object
  extended byorg.eclipse.emf.common.notify.impl.BasicNotifierImpl
      extended byorg.eclipse.emf.ecore.impl.BasicEObjectImpl
          extended byorg.eclipse.emf.ecore.impl.EObjectImpl
All Implemented Interfaces:
EObject, InternalEObject, Notifier
Direct Known Subclasses:
AnyTypeImpl, BasicFeatureMap.FeatureMapEObjectImpl, ChangeDescriptionImpl, DelegatingFeatureMap.FeatureMapEObjectImpl, DynamicEObjectImpl, EModelElementImpl, EObjectToChangesMapEntryImpl, EStoreEObjectImpl, EStringToStringMapEntryImpl, FeatureChangeImpl, GenBaseImpl, ListChangeImpl, MappingHelperImpl, MappingImpl, ResourceChangeImpl, TreeNodeImpl, XMLNamespaceDocumentRootImpl, XMLTypeDocumentRootImpl

public class EObjectImpl
extends BasicEObjectImpl
implements EObject

An implementation of the model object 'EObject'.


Nested Class Summary
 
Nested classes inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
BasicEObjectImpl.EPropertiesHolder, BasicEObjectImpl.EPropertiesHolderImpl
 
Nested classes inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
BasicNotifierImpl.EAdapterList
 
Nested classes inherited from class org.eclipse.emf.ecore.InternalEObject
InternalEObject.EStore
 
Field Summary
protected  BasicEList eAdapters
          The list of Adapters associated with the notifier.
protected  InternalEObject eContainer
           
protected  int eContainerFeatureID
           
protected static int EDELIVER
          The bit of eFlags that is used to represent eDeliver().
protected  int eFlags
          An extensible set of bit flags; the first bit is used for EDELIVER to implement eDeliver().
static int ELAST_EOBJECT_FLAG
          This is unused, but we can reserve bits with eFlags.
protected static int ELAST_NOTIFIER_FLAG
          The last bit used by this class; derived classes may use bit values higher than this
protected  BasicEObjectImpl.EPropertiesHolder eProperties
           
 
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject
EOPPOSITE_FEATURE_BASE
 
Constructor Summary
protected EObjectImpl()
           Creates an EObject
 
Method Summary
 EList eAdapters()
          Returns list of the adapters associated with this notifier.
protected  BasicEList eBasicAdapters()
          Returns the adapter list, even if it is null.
protected  BasicEObjectImpl.EPropertiesHolder eBasicProperties()
           
protected  void eBasicSetContainer(InternalEObject newContainer, int newContainerFeatureID)
           
 int eContainerFeatureID()
          Returns the container feature ID.
 boolean eDeliver()
          Returns whether this notifier will deliver notifications to the adapters.
protected  InternalEObject eInternalContainer()
           
protected  BasicEObjectImpl.EPropertiesHolder eProperties()
           
 void eSetDeliver(boolean deliver)
          Sets whether this notifier will deliver notifications to the adapters.
protected  EClass eStaticClass()
           
 
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicSetContainer, eClass, eContainer, eContainingFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicClass, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicIsSet, eDynamicSet, eDynamicUnset, eGet, eGet, eHasSettings, eInternalResource, eInverseAdd, eInverseRemove, eIsProxy, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eResolveProxy, eResource, eSet, eSetClass, eSetProxyURI, eSetResource, eSetStore, eSetting, eSettingDelegate, eSettings, eStaticFeatureCount, eStore, eUnset, eURIFragmentSegment, toString
 
Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
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.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
eNotify
 
Methods inherited from interface org.eclipse.emf.ecore.InternalEObject
eNotificationRequired
 

Field Detail

EDELIVER

protected static final int EDELIVER
The bit of eFlags that is used to represent eDeliver().

See Also:
Constant Field Values

ELAST_NOTIFIER_FLAG

protected static final int ELAST_NOTIFIER_FLAG
The last bit used by this class; derived classes may use bit values higher than this

See Also:
Constant Field Values

ELAST_EOBJECT_FLAG

public static final int ELAST_EOBJECT_FLAG
This is unused, but we can reserve bits with eFlags.

See Also:
Constant Field Values

eFlags

protected int eFlags
An extensible set of bit flags; the first bit is used for EDELIVER to implement eDeliver().


eAdapters

protected BasicEList eAdapters
The list of Adapters associated with the notifier.


eContainer

protected InternalEObject eContainer

eContainerFeatureID

protected int eContainerFeatureID

eProperties

protected BasicEObjectImpl.EPropertiesHolder eProperties
Constructor Detail

EObjectImpl

protected EObjectImpl()
Creates an EObject.

Method Detail

eStaticClass

protected EClass eStaticClass()

Overrides:
eStaticClass in class BasicEObjectImpl

eAdapters

public EList eAdapters()
Description copied from interface: Notifier
Returns list of the adapters associated with this notifier.

Specified by:
eAdapters in interface Notifier
Overrides:
eAdapters in class BasicNotifierImpl

eBasicAdapters

protected BasicEList eBasicAdapters()
Description copied from class: BasicNotifierImpl
Returns the adapter list, even if it is null.

Overrides:
eBasicAdapters in class BasicNotifierImpl
Returns:
the adapter list, even if it is null.

eDeliver

public boolean eDeliver()
Description copied from interface: Notifier
Returns whether this notifier will deliver notifications to the adapters.

Specified by:
eDeliver in interface Notifier
Overrides:
eDeliver in class BasicNotifierImpl

eSetDeliver

public void eSetDeliver(boolean deliver)
Description copied from interface: Notifier
Sets whether this notifier will deliver notifications to the adapters.

Specified by:
eSetDeliver in interface Notifier
Overrides:
eSetDeliver in class BasicNotifierImpl

eProperties

protected BasicEObjectImpl.EPropertiesHolder eProperties()
Overrides:
eProperties in class BasicEObjectImpl

eBasicProperties

protected BasicEObjectImpl.EPropertiesHolder eBasicProperties()
Overrides:
eBasicProperties in class BasicEObjectImpl

eInternalContainer

protected InternalEObject eInternalContainer()
Overrides:
eInternalContainer in class BasicEObjectImpl

eContainerFeatureID

public int eContainerFeatureID()
Description copied from interface: InternalEObject
Returns the container feature ID. If the container isn't a navigable feature, this will be a negative ID indicating the inverse of the containment feature's ID.

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

eBasicSetContainer

protected void eBasicSetContainer(InternalEObject newContainer,
                                  int newContainerFeatureID)
Overrides:
eBasicSetContainer in class BasicEObjectImpl

Copyright 2001-2004 IBM Corporation and others.
All Rights Reserved.