public class EObjectImpl extends BasicEObjectImpl implements EObject
BasicEObjectImpl.EPropertiesHolder, BasicEObjectImpl.EPropertiesHolderBaseImpl, BasicEObjectImpl.EPropertiesHolderImplBasicNotifierImpl.EAdapterList<E extends java.lang.Object & Adapter>, BasicNotifierImpl.EObservableAdapterListInternalEObject.EStore| Modifier and Type | Field and Description |
|---|---|
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(). |
EVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSETEOPPOSITE_FEATURE_BASE| Modifier | Constructor and Description |
|---|---|
protected |
EObjectImpl()
Creates an EObject
|
| Modifier and Type | Method and Description |
|---|---|
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. |
java.lang.Object |
eInvoke(int operationID,
EList<?> arguments)
Does the equivalent of
eObject.eInvoke(eObject.eClass().getEOperation(featureID), arguments). |
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() |
eAddVirtualValue, eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, 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, eGet, eGet, eHasSettings, eInternalResource, eInverseAdd, eInverseAdd, eInverseRemove, eInverseRemove, eInvocationDelegate, eInvoke, eIsSet, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSet, eSetDirectResource, eSetResource, eSetStore, eSetting, eSettingDelegate, eSettings, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticFeatureCount, eStaticOperationCount, eStore, eUnset, eUnset, eURIFragmentSegment, eVirtualBitCount, eVirtualGet, eVirtualGet, eVirtualIndex, eVirtualIndexBits, eVirtualIsSet, eVirtualSet, eVirtualUnset, eVirtualValue, eVirtualValues, toStringeBasicAdapterArray, eBasicHasAdapters, eNotificationRequired, eNotifyclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waiteAllContents, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsSet, eResource, eSet, eUnseteNotificationRequiredprotected 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
protected EClass eStaticClass()
eStaticClass in class BasicEObjectImplpublic java.lang.Object eInvoke(int operationID,
EList<?> arguments)
throws java.lang.reflect.InvocationTargetException
InternalEObjecteObject.eInvoke(eObject.eClass().getEOperation(featureID), arguments).eInvoke in interface InternalEObjecteInvoke in class BasicEObjectImpljava.lang.reflect.InvocationTargetExceptionEObject.eInvoke(EOperation, EList<?>)public EList<Adapter> eAdapters()
NotifiereAdapters in interface NotifiereAdapters in class BasicNotifierImplprotected BasicEList<Adapter> eBasicAdapters()
BasicNotifierImplnull.eBasicAdapters in class BasicNotifierImplnull.public boolean eDeliver()
NotifiereDeliver in interface NotifiereDeliver in class BasicNotifierImplNotifier.eSetDeliver(boolean)public void eSetDeliver(boolean deliver)
NotifiereSetDeliver 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()
InternalEObjecteContainerFeatureID in interface InternalEObjecteContainerFeatureID in class BasicEObjectImplEObject.eContainmentFeature(),
InternalEObject.EOPPOSITE_FEATURE_BASEprotected 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)