public class FlatEObjectImpl extends EObjectImpl
eProxyURI, the eContents, and the eCrossReferences,
which in EObjectImpl are stored in the properties holder.
This reduces the likelihood of needing to allocate a properties holder and speeds up the access to these fields.BasicEObjectImpl.EPropertiesHolder, BasicEObjectImpl.EPropertiesHolderBaseImpl, BasicEObjectImpl.EPropertiesHolderImplInternalEObject.EStore| Modifier and Type | Field and Description |
|---|---|
protected <any> |
eContents |
protected <any> |
eCrossReferences |
protected URI |
eProxyURI |
eAdapters, eContainer, eContainerFeatureID, EDELIVER, EDYNAMIC_CLASS, eFlags, ELAST_EOBJECT_FLAG, ELAST_NOTIFIER_FLAG, eProperties, EPROXYEVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSETEOPPOSITE_FEATURE_BASE| Modifier | Constructor and Description |
|---|---|
protected |
FlatEObjectImpl()
Creates an EObject that is faster and more space efficient
for the case where
eSetProxyURI(URI), eContents(), eCrossReferences()
are expected to be frequently used. |
| Modifier and Type | Method and Description |
|---|---|
<any> |
eContents()
Returns a list view of the content objects; it is unmodifiable.
|
<any> |
eCrossReferences()
Returns a list view of the cross referenced objects; it is unmodifiable.
|
boolean |
eIsProxy()
Indicates whether this object is a proxy.
|
protected BasicEObjectImpl.EPropertiesHolder |
eProperties() |
URI |
eProxyURI()
Returns the proxy URI of this object.
|
void |
eSetProxyURI(URI uri)
Set the proxy URI of this object.
|
eAdapters, eBasicAdapters, eBasicProperties, eBasicSetContainer, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eInvoke, eSetClass, eSetDeliver, eStaticClasseAddVirtualValue, eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainerAdapterArray, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, 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, 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, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waiteAllContents, eContainer, eContainingFeature, eContainmentFeature, eGet, eGet, eInvoke, eIsSet, eResource, eSet, eUnseteNotificationRequiredprotected URI eProxyURI
protected <any> eContents
protected <any> eCrossReferences
protected FlatEObjectImpl()
eSetProxyURI(URI), eContents(), eCrossReferences()
are expected to be frequently used.protected BasicEObjectImpl.EPropertiesHolder eProperties()
eProperties in class EObjectImplpublic 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 EObjectImpltrue 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 EObjectImpluri - the URI.EcoreUtil.resolve(EObject, org.eclipse.emf.ecore.resource.ResourceSet),
Resource.unload()public <any> 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 <any> 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 (EContentsEList.FeatureIterator featureIterator =
(EContentsEList.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.CrossReferencerCopyright © 2018. Licensed under the Eclipse Public License v1.0. All rights reserved.
Submit a bug or feature