|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.ecore.impl.BasicEObjectImpl
org.eclipse.emf.ecore.impl.EObjectImpl
public class EObjectImpl
An implementation of the model object 'EObject'.
| 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 java.lang.Object & Adapter> |
| Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject |
|---|
InternalEObject.EStore |
| Field Summary | |
|---|---|
protected BasicEList<Adapter> |
eAdapters
The list of Adapters associated with the notifier. |
protected InternalEObject |
eContainer
The container of this object. |
protected int |
eContainerFeatureID
The feature ID of this object's container holding feature, if there is one, or EOPPOSITE_FEATURE_BASE minus the feature ID of the container's feature that contains this object. |
protected static int |
EDELIVER
The bit of eFlags that is used to represent eDeliver(). |
protected static int |
EDYNAMIC_CLASS
The bit of eFlags that is used to represent whether there is a dynamic EClass. |
protected int |
eFlags
An extensible set of bit flags; the first bit is used for EDELIVER to implement eDeliver()
and the second bit is used for EPROXY to implement eIsProxy(). |
static int |
ELAST_EOBJECT_FLAG
The last bit used by this class; derived classes may use bit values higher than this. |
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
Additional less frequently used fields. |
protected static int |
EPROXY
The bit of eFlags that is used to represent eIsProxy(). |
| 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 | |
|---|---|
protected |
EObjectImpl()
Creates an EObject |
| Method Summary | |
|---|---|
EList<Adapter> |
eAdapters()
Returns list of the adapters associated with this notifier. |
protected BasicEList<Adapter> |
eBasicAdapters()
Returns the adapter list, even if it is null. |
protected BasicEObjectImpl.EPropertiesHolder |
eBasicProperties()
|
protected void |
eBasicSetContainer(InternalEObject newContainer,
int newContainerFeatureID)
|
EClass |
eClass()
Returns the meta class. |
int |
eContainerFeatureID()
Returns the container feature ID. |
boolean |
eDeliver()
Returns whether this notifier will deliver notifications to the adapters. |
InternalEObject |
eInternalContainer()
Returns the internal container, or null. |
boolean |
eIsProxy()
Indicates whether this object is a proxy. |
protected BasicEObjectImpl.EPropertiesHolder |
eProperties()
|
void |
eSetClass(EClass eClass)
Sets the meta class. |
void |
eSetDeliver(boolean deliver)
Sets whether this notifier will deliver notifications to the adapters. |
void |
eSetProxyURI(URI uri)
Set the proxy URI of this object. |
protected EClass |
eStaticClass()
|
| 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, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, 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 |
|---|
protected static final int EDELIVER
eFlags that is used to represent eDeliver().
protected static final int EDYNAMIC_CLASS
eFlags that is used to represent whether there is a dynamic EClass.
protected static final int EPROXY
eFlags that is used to represent eIsProxy().
protected static final int ELAST_NOTIFIER_FLAG
public static final int ELAST_EOBJECT_FLAG
protected int eFlags
EDELIVER to implement eDeliver()
and the second bit is used for EPROXY to implement eIsProxy().
protected BasicEList<Adapter> eAdapters
Adapters associated with the notifier.
protected InternalEObject eContainer
protected int eContainerFeatureID
EOPPOSITE_FEATURE_BASE minus the feature ID of the container's feature that contains this object.
protected BasicEObjectImpl.EPropertiesHolder eProperties
| Constructor Detail |
|---|
protected EObjectImpl()
| Method Detail |
|---|
protected EClass eStaticClass()
eStaticClass in class BasicEObjectImplpublic EList<Adapter> eAdapters()
Notifier
eAdapters in interface NotifiereAdapters in class BasicNotifierImplprotected BasicEList<Adapter> eBasicAdapters()
BasicNotifierImplnull.
eBasicAdapters in class BasicNotifierImplnull.public boolean eDeliver()
Notifier
eDeliver in interface NotifiereDeliver in class BasicNotifierImplNotifier.eSetDeliver(boolean)public void eSetDeliver(boolean deliver)
Notifier
eSetDeliver in interface NotifiereSetDeliver in class BasicNotifierImpldeliver - whether or not to deliver.Notifier.eDeliver()public boolean eIsProxy()
EObject
A proxy is an object that is defined in a Resource that has not been loaded.
An object may be a proxy either because proxy resolution was disabled
when the object was accessed (see EObject.eGet(EStructuralFeature,boolean))
or because proxy resolution failed.
eIsProxy in interface EObjecteIsProxy in class BasicEObjectImpltrue if this object is a proxy or false, otherwise.Resource.unload(),
EcoreUtil.resolve(EObject, org.eclipse.emf.ecore.resource.ResourceSet)public void eSetProxyURI(URI uri)
InternalEObjectresolve to the actual object.
eSetProxyURI in interface InternalEObjecteSetProxyURI in class BasicEObjectImpluri - the URI.EcoreUtil.resolve(EObject, org.eclipse.emf.ecore.resource.ResourceSet),
Resource.unload()protected BasicEObjectImpl.EPropertiesHolder eProperties()
eProperties in class BasicEObjectImplprotected BasicEObjectImpl.EPropertiesHolder eBasicProperties()
eBasicProperties in class BasicEObjectImplpublic InternalEObject eInternalContainer()
InternalEObjectnull.
It does not resolve a proxy.
eInternalContainer in interface InternalEObjecteInternalContainer in class BasicEObjectImplEObject.eContainer(),
InternalEObject.eDirectResource()public int eContainerFeatureID()
InternalEObject
eContainerFeatureID in interface InternalEObjecteContainerFeatureID in class BasicEObjectImplEObject.eContainmentFeature(),
InternalEObject.EOPPOSITE_FEATURE_BASE
protected void eBasicSetContainer(InternalEObject newContainer,
int newContainerFeatureID)
eBasicSetContainer in class BasicEObjectImplpublic EClass eClass()
EObject
The meta class defines the features
available for reflective access.
eClass in interface EObjecteClass in class BasicEObjectImplEClass.getEAllStructuralFeatures()public void eSetClass(EClass eClass)
InternalEObjectsettings.
an.
eSetClass in interface InternalEObjecteSetClass in class BasicEObjectImpleClass - the dynamic meta class.InternalEObject.eSetting(EStructuralFeature)
|
Copyright 2001-2006 IBM Corporation and others. All Rights Reserved. |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||