|
||||||||||
| 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.MinimalEObjectImpl
public class MinimalEObjectImpl
A space compact implementation of the model object 'EObject'.
| Nested Class Summary | |
|---|---|
static class |
MinimalEObjectImpl.Container
|
| 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 |
|---|
| 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.EStructuralFeature.Internal.DynamicValueHolder |
|---|
NIL |
| Fields inherited from interface org.eclipse.emf.ecore.InternalEObject |
|---|
EOPPOSITE_FEATURE_BASE |
| Constructor Summary | |
|---|---|
protected |
MinimalEObjectImpl()
Creates a minimal EObject. |
| Method Summary | |
|---|---|
java.lang.Object |
dynamicGet(int dynamicFeatureID)
Returns the value of the feature. |
void |
dynamicSet(int dynamicFeatureID,
java.lang.Object newValue)
Sets the value of the feature to the new value. |
void |
dynamicUnset(int dynamicFeatureID)
Unsets the value of the feature. |
EList<Adapter> |
eAdapters()
Returns list of the adapters associated with this notifier. |
protected Adapter[] |
eBasicAdapterArray()
Returns the underlying array of adapters. |
protected BasicEList<Adapter> |
eBasicAdapters()
Returns the adapter list, even if it is null. |
protected boolean |
eBasicHasAdapters()
Returns whether there are any adapters. |
protected BasicEObjectImpl.EPropertiesHolder |
eBasicProperties()
|
protected void |
eBasicSetAdapterArray(Adapter[] eAdapters)
|
protected void |
eBasicSetContainer(InternalEObject newContainer)
|
protected void |
eBasicSetContainer(InternalEObject newContainer,
int newContainerFeatureID)
|
protected void |
eBasicSetContainerFeatureID(int newContainerFeatureID)
|
protected void |
eBasicSetSettings(java.lang.Object[] settings)
|
protected java.lang.Object[] |
eBasicSettings()
|
EClass |
eClass()
Returns the meta class. |
int |
eContainerFeatureID()
Returns the container feature ID. |
EList<EObject> |
eContents()
Returns a list view of the content objects; it is unmodifiable. |
EList<EObject> |
eCrossReferences()
Returns a list view of the cross referenced objects; it is unmodifiable. |
boolean |
eDeliver()
Returns whether this notifier will deliver notifications to the adapters. |
Resource.Internal |
eDirectResource()
Returns the directly containing internal resource, or null. |
protected EClass |
eDynamicClass()
|
protected boolean |
eHasSettings()
|
InternalEObject |
eInternalContainer()
Returns the internal container, or null. |
boolean |
eIsProxy()
Indicates whether this object is a proxy. |
protected BasicEObjectImpl.EPropertiesHolder |
eProperties()
|
URI |
eProxyURI()
Returns the proxy URI of this object. |
void |
eSetClass(EClass eClass)
Sets the meta class. |
void |
eSetDeliver(boolean deliver)
Sets whether this notifier will deliver notifications to the adapters. |
protected void |
eSetDirectResource(Resource.Internal resource)
|
void |
eSetProxyURI(URI uri)
Set the proxy URI of this object. |
protected EStructuralFeature.Internal.DynamicValueHolder |
eSettings()
|
| 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, 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 |
| Constructor Detail |
|---|
protected MinimalEObjectImpl()
| Method Detail |
|---|
protected BasicEObjectImpl.EPropertiesHolder eProperties()
eProperties in class BasicEObjectImplprotected BasicEObjectImpl.EPropertiesHolder eBasicProperties()
eBasicProperties in class BasicEObjectImplprotected BasicEList<Adapter> eBasicAdapters()
BasicNotifierImplnull.
eBasicAdapters in class BasicNotifierImplnull.public EList<Adapter> eAdapters()
Notifier
eAdapters in interface NotifiereAdapters in class BasicNotifierImplprotected Adapter[] eBasicAdapterArray()
BasicNotifierImplnull represents the lack of any adapters.
This array may not be modified by the caller
and must be guaranteed not to be modified even if the list of adapters is modified.
eBasicAdapterArray in class BasicNotifierImplprotected void eBasicSetAdapterArray(Adapter[] eAdapters)
protected boolean eBasicHasAdapters()
BasicNotifierImpl
eBasicHasAdapters in class BasicNotifierImplpublic 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 URI eProxyURI()
InternalEObjectresolve to the actual object.
eProxyURI in interface InternalEObjecteProxyURI in class BasicEObjectImplEcoreUtil.resolve(EObject, org.eclipse.emf.ecore.resource.ResourceSet),
Resource.unload()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()public InternalEObject eInternalContainer()
InternalEObjectnull.
It does not resolve a proxy.
eInternalContainer in interface InternalEObjecteInternalContainer in class BasicEObjectImplEObject.eContainer(),
InternalEObject.eDirectResource()protected void eBasicSetContainer(InternalEObject newContainer)
public int eContainerFeatureID()
InternalEObject
eContainerFeatureID in interface InternalEObjecteContainerFeatureID in class BasicEObjectImplEObject.eContainmentFeature(),
InternalEObject.EOPPOSITE_FEATURE_BASEprotected void eBasicSetContainerFeatureID(int newContainerFeatureID)
protected void eBasicSetContainer(InternalEObject newContainer,
int newContainerFeatureID)
eBasicSetContainer in class BasicEObjectImplprotected EClass eDynamicClass()
eDynamicClass 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)protected boolean eHasSettings()
eHasSettings in class BasicEObjectImplprotected java.lang.Object[] eBasicSettings()
protected void eBasicSetSettings(java.lang.Object[] settings)
protected EStructuralFeature.Internal.DynamicValueHolder eSettings()
eSettings in class BasicEObjectImplpublic Resource.Internal eDirectResource()
InternalEObjectnull.
eDirectResource in interface InternalEObjecteDirectResource in class BasicEObjectImplEObject.eResource(),
InternalEObject.eInternalResource(),
InternalEObject.eInternalContainer()protected void eSetDirectResource(Resource.Internal resource)
eSetDirectResource in class BasicEObjectImplpublic EList<EObject> eContents()
EObject
This will be the list of EObjects determined by the
contents
of the containment features
of this object's meta class.
Objects can, indirectly, be removed
and will change to reflect container changes.
The implicit tree of contents is also directly available.
eContents in interface EObjecteContents in class BasicEObjectImplEObject.eContainer(),
EClass.getEAllContainments(),
EObject.eGet(EStructuralFeature),
EcoreUtil.remove(EObject),
EObject.eAllContents()public EList<EObject> eCrossReferences()
EObject
This will be the list of EObjects determined by the
contents
of the reference features
of this object's meta class,
excluding containment features
and their opposites.
The cross reference list's iterator will be of type EContentsEList.FeatureIterator,
for efficient determination of the feature
of each cross reference in the list, e.g.,
for (EContentEList.FeatureIterator featureIterator =
(EContentEList.FeatureIterator)eObject.eCrossReferences().iterator();
featureIterator.hasNext(); )
{
EObject eObject = (EObject)featureIterator.next();
EReference eReference = (EReference)featureIterator.feature();
...
}
eCrossReferences in interface EObjecteCrossReferences in class BasicEObjectImplEObject.eContents(),
EClass.getEAllReferences(),
EClass.getEAllContainments(),
EObject.eGet(EStructuralFeature),
EcoreUtil.CrossReferencerpublic java.lang.Object dynamicGet(int dynamicFeatureID)
EStructuralFeature.Internal.DynamicValueHolder
dynamicGet in interface EStructuralFeature.Internal.DynamicValueHolderdynamicFeatureID - the feature's index in the cached dynamic values.
public void dynamicSet(int dynamicFeatureID,
java.lang.Object newValue)
EStructuralFeature.Internal.DynamicValueHolder
dynamicSet in interface EStructuralFeature.Internal.DynamicValueHolderdynamicFeatureID - the feature's index in the cached dynamic values.newValue - the new value for the feature.public void dynamicUnset(int dynamicFeatureID)
EStructuralFeature.Internal.DynamicValueHolder
dynamicUnset in interface EStructuralFeature.Internal.DynamicValueHolderdynamicFeatureID - the feature's index in the cached dynamic values.
|
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 | |||||||||