|
||||||||||||
| 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
An implementation of the model object 'EObject'.
| Nested Class Summary | |
|---|---|
protected static interface |
BasicEObjectImpl.EPropertiesHolder
An internal interface for holding less frequently members variables. |
protected static class |
BasicEObjectImpl.EPropertiesHolderBaseImpl
An internal class for holding the least frequently members variables. |
protected static class |
BasicEObjectImpl.EPropertiesHolderImpl
An internal class for holding less frequently members variables. |
| 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 static int |
EVIRTUAL_GET
An action code indicating that an index
needs to be computed to perform a get. |
protected static int |
EVIRTUAL_IS_SET
An action code indicating that an index
needs to be computed to perform an isSet. |
protected static java.lang.Object |
EVIRTUAL_NO_VALUE
|
protected static int |
EVIRTUAL_SET
An action code indicating that an index
needs to be computed to perform a BasicEObjectImpl.eVirtualSet(int, Object) set. |
protected static int |
EVIRTUAL_UNSET
An action code indicating that an BasicEObjectImpl.eVirtualIndex(int, int) index
needs to be computed to perform an unset. |
| Fields inherited from interface org.eclipse.emf.ecore.InternalEObject |
|---|
EOPPOSITE_FEATURE_BASE |
| Constructor Summary | |
|---|---|
protected |
BasicEObjectImpl()
Creates a basic EObject. |
| Method Summary | |
|---|---|
protected void |
eAddVirtualValue(int index,
java.lang.Object value)
Adds the value at the index. |
TreeIterator |
eAllContents()
Returns a tree iterator that iterates over all the direct contents and indirect contents of this object. |
int |
eBaseStructuralFeatureID(int derivedFeatureID,
java.lang.Class baseClass)
Returns the feature ID relative to the base class, given a feature ID relative to this derived object's actual class. |
protected BasicEObjectImpl.EPropertiesHolder |
eBasicProperties()
|
NotificationChain |
eBasicRemoveFromContainer(NotificationChain msgs)
Removes this object from whatever container holds it, and returns accumulated notifications. |
NotificationChain |
eBasicRemoveFromContainerFeature(NotificationChain msgs)
|
protected void |
eBasicSetContainer(InternalEObject newContainer,
int newContainerFeatureID)
|
NotificationChain |
eBasicSetContainer(InternalEObject newContainer,
int newContainerFeatureID,
NotificationChain msgs)
Sets the container to be new container and appropriate feature. |
EClass |
eClass()
Returns the meta class. |
protected int |
eComputeVirtualValuesCapacity(int minimumCapacity)
This method controls the growth of the virtual values by returning the new capacity
that should be allocated for the given minimum required capacity. |
EObject |
eContainer()
Returns the containing object, or null.
|
int |
eContainerFeatureID()
Returns the container feature ID. |
EStructuralFeature |
eContainingFeature()
Returns the particular feature
of the container that actually holds the object,
or null, if there is no container.
|
EReference |
eContainmentFeature()
Returns the containment feature that properly contains the object,
or null, if there is no container.
|
protected static EReference |
eContainmentFeature(EObject eObject,
EObject eContainer,
int eContainerFeatureID)
|
boolean |
eContains(EObject eObject)
|
EList |
eContents()
Returns a list view of the content objects; it is unmodifiable. |
EList |
eCrossReferences()
Returns a list view of the cross referenced objects; it is unmodifiable. |
int |
eDerivedStructuralFeatureID(EStructuralFeature eStructuralFeature)
|
int |
eDerivedStructuralFeatureID(int baseFeatureID,
java.lang.Class baseClass)
Returns the feature ID relative to this derived object's actual class, given a feature ID relative to the given base class. |
Resource.Internal |
eDirectResource()
Returns the directly containing internal resource, or null. |
NotificationChain |
eDynamicBasicRemoveFromContainer(NotificationChain msgs)
|
protected EClass |
eDynamicClass()
|
protected EStructuralFeature |
eDynamicFeature(int dynamicFeatureID)
|
protected int |
eDynamicFeatureID(EStructuralFeature eStructuralFeature)
|
java.lang.Object |
eDynamicGet(EStructuralFeature eFeature,
boolean resolve)
|
java.lang.Object |
eDynamicGet(int featureID,
boolean resolve,
boolean coreType)
|
protected java.lang.Object |
eDynamicGet(int dynamicFeatureID,
EStructuralFeature eFeature,
boolean resolve,
boolean coreType)
|
NotificationChain |
eDynamicInverseAdd(InternalEObject otherEnd,
int featureID,
java.lang.Class inverseClass,
NotificationChain msgs)
|
protected NotificationChain |
eDynamicInverseAdd(InternalEObject otherEnd,
int featureID,
NotificationChain msgs)
|
NotificationChain |
eDynamicInverseRemove(InternalEObject otherEnd,
int featureID,
java.lang.Class inverseClass,
NotificationChain msgs)
|
protected NotificationChain |
eDynamicInverseRemove(InternalEObject otherEnd,
int featureID,
NotificationChain msgs)
|
boolean |
eDynamicIsSet(EStructuralFeature eFeature)
|
boolean |
eDynamicIsSet(int featureID)
|
protected boolean |
eDynamicIsSet(int dynamicFeatureID,
EStructuralFeature eFeature)
|
void |
eDynamicSet(EStructuralFeature eFeature,
java.lang.Object newValue)
|
protected void |
eDynamicSet(int dynamicFeatureID,
EStructuralFeature eFeature,
java.lang.Object newValue)
|
void |
eDynamicSet(int featureID,
java.lang.Object newValue)
|
void |
eDynamicUnset(EStructuralFeature eFeature)
|
void |
eDynamicUnset(int featureID)
|
protected void |
eDynamicUnset(int dynamicFeatureID,
EStructuralFeature eFeature)
|
java.lang.Object |
eGet(EStructuralFeature eFeature)
Returns the value of the given feature of this object. |
java.lang.Object |
eGet(EStructuralFeature eFeature,
boolean resolve)
Returns the value of the given feature of the object; the value is optionally resolved before it is returned.
|
java.lang.Object |
eGet(EStructuralFeature eFeature,
boolean resolve,
boolean coreType)
Returns the value of the given feature of the object; the value is optionally resolved before it is returned.
|
java.lang.Object |
eGet(int featureID,
boolean resolve,
boolean coreType)
Does the equivalent of eObject.eGet(eObjecte.eClass().getEStructuralFeature(featureID), resolve, coreType). |
protected boolean |
eHasSettings()
|
InternalEObject |
eInternalContainer()
Returns the internal container, or null.
|
Resource.Internal |
eInternalResource()
Returns the containing internal resource, or null. |
NotificationChain |
eInverseAdd(InternalEObject otherEnd,
int featureID,
java.lang.Class baseClass,
NotificationChain msgs)
Adds the object at the other end of a bidirectional reference to the appropriate feature and returns accumulated notifications. |
NotificationChain |
eInverseAdd(InternalEObject otherEnd,
int featureID,
NotificationChain msgs)
|
NotificationChain |
eInverseRemove(InternalEObject otherEnd,
int featureID,
java.lang.Class baseClass,
NotificationChain msgs)
Removes the object at the other end of a bidirectional reference from the appropriate feature and returns accumulated notifications. |
NotificationChain |
eInverseRemove(InternalEObject otherEnd,
int featureID,
NotificationChain msgs)
|
boolean |
eIsProxy()
Indicates whether this object is a proxy. |
boolean |
eIsSet(EStructuralFeature eFeature)
Returns whether the feature of the object is considered to be set. |
boolean |
eIsSet(int featureID)
Does the equivalent of eObject.eIsSet(eObjecte.eClass().getEStructuralFeature(featureID)). |
EObject |
eObjectForURIFragmentSegment(java.lang.String uriFragmentSegment)
Returns the object resolved by the fragment segment. |
java.lang.Object |
eOpenGet(EStructuralFeature eFeature,
boolean resolve)
|
boolean |
eOpenIsSet(EStructuralFeature eFeature)
|
void |
eOpenSet(EStructuralFeature eFeature,
java.lang.Object newValue)
|
void |
eOpenUnset(EStructuralFeature eFeature)
|
protected BasicEObjectImpl.EPropertiesHolder |
eProperties()
|
URI |
eProxyURI()
Returns the proxy URI of this object. |
protected java.lang.Object |
eRemoveVirtualValue(int index)
Removes the value at the index. |
EObject |
eResolveProxy(InternalEObject proxy)
Resolves the proxy object relative to this object. |
Resource |
eResource()
Returns the containing resource, or null.
|
void |
eSet(EStructuralFeature eFeature,
java.lang.Object newValue)
Sets the value of the given feature of the object to the new value. |
void |
eSet(int featureID,
java.lang.Object newValue)
Does the equivalent of eObject.eSet(eObjecte.eClass().getEStructuralFeature(featureID), newValue). |
void |
eSetClass(EClass eClass)
Sets the meta class. |
protected void |
eSetDirectResource(Resource.Internal resource)
|
void |
eSetProxyURI(URI uri)
Set the proxy URI of this object. |
NotificationChain |
eSetResource(Resource.Internal resource,
NotificationChain notifications)
Sets this object to be directly contained by the resource and returns accumulated notifications. |
void |
eSetStore(InternalEObject.EStore store)
Set the store associated with this object. |
EStructuralFeature.Setting |
eSetting(EStructuralFeature eFeature)
Returns a setting that can be used to access this object's feature. |
protected EStructuralFeature.Internal.SettingDelegate |
eSettingDelegate(EStructuralFeature eFeature)
|
protected EStructuralFeature.Internal.DynamicValueHolder |
eSettings()
|
protected void |
eSetVirtualIndexBits(int offset,
int newIndexBits)
Sets the bit pattern at the given offset within the sequence of bit patterns representing which features are assigned an index in the virtual values. |
protected java.lang.Object |
eSetVirtualValue(int index,
java.lang.Object value)
Sets the value at the index. |
protected void |
eSetVirtualValues(java.lang.Object[] newValues)
Sets the array of virtual values of the features that are current set. |
protected EClass |
eStaticClass()
|
protected int |
eStaticFeatureCount()
|
InternalEObject.EStore |
eStore()
Returns the store associated with this object. |
void |
eUnset(EStructuralFeature eFeature)
Unsets the feature of the object. |
void |
eUnset(int featureID)
Does the equivalent of eObject.eUnset(eObjecte.eClass().getEStructuralFeature(featureID)). |
java.lang.String |
eURIFragmentSegment(EStructuralFeature eStructuralFeature,
EObject eObject)
Returns the fragment segment that, when passed to eObjectForURIFragmentSegment,
will resolve to the given object in this object's given feature.
|
protected static int |
eVirtualBitCount(int value)
Returns the number of bits that are on in the two's complement bit pattern. |
java.lang.Object |
eVirtualGet(int eDerivedStructuralFeatureID)
Returns the value for the feature ID, or null, if there isn't one. |
java.lang.Object |
eVirtualGet(int eDerivedStructuralFeatureID,
java.lang.Object defaultValue)
Returns the value for the feature ID, or the default value, if there isn't one. |
protected int |
eVirtualIndex(int eDerivedStructuralFeatureID,
int action)
Returns the index in the virtual values for the feature ID,
with the side effect of toggling the necessary bits to suit the action code.
|
protected int |
eVirtualIndexBits(int offset)
Returns the bit pattern at the given offset within the sequence of bit patterns representing which features are assigned an index in the virtual values. |
boolean |
eVirtualIsSet(int eDerivedStructuralFeatureID)
Returns whether there is a value set for the feature ID. |
java.lang.Object |
eVirtualSet(int eDerivedStructuralFeatureID,
java.lang.Object value)
Sets the value for the feature ID. |
java.lang.Object |
eVirtualUnset(int eDerivedStructuralFeatureID)
Unsets the value for the feature ID. |
protected java.lang.Object |
eVirtualValue(int index)
Returns the value at the index. |
protected java.lang.Object[] |
eVirtualValues()
Returns the array of virtual values of the features that are current set. |
java.lang.String |
toString()
|
| Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl |
|---|
eAdapters, eBasicAdapters, eDeliver, eNotificationRequired, eNotify, eSetDeliver |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.eclipse.emf.common.notify.Notifier |
|---|
eAdapters, eDeliver, eNotify, eSetDeliver |
| Methods inherited from interface org.eclipse.emf.ecore.InternalEObject |
|---|
eNotificationRequired |
| Field Detail |
protected static final int EVIRTUAL_SET
index
needs to be computed to perform a BasicEObjectImpl.eVirtualSet(int, Object) set.
protected static final int EVIRTUAL_UNSET
BasicEObjectImpl.eVirtualIndex(int, int) index
needs to be computed to perform an unset.
protected static final int EVIRTUAL_GET
index
needs to be computed to perform a get.
protected static final int EVIRTUAL_IS_SET
index
needs to be computed to perform an isSet.
protected static final java.lang.Object EVIRTUAL_NO_VALUE
| Constructor Detail |
protected BasicEObjectImpl()
| Method Detail |
protected int eStaticFeatureCount()
protected BasicEObjectImpl.EPropertiesHolder eProperties()
protected BasicEObjectImpl.EPropertiesHolder eBasicProperties()
protected boolean eHasSettings()
protected EStructuralFeature.Internal.DynamicValueHolder eSettings()
protected int eDynamicFeatureID(EStructuralFeature eStructuralFeature)
protected EStructuralFeature eDynamicFeature(int dynamicFeatureID)
public java.lang.String eURIFragmentSegment(EStructuralFeature eStructuralFeature,
EObject eObject)
InternalEObjecteObjectForURIFragmentSegment,
will resolve to the given object in this object's given feature.
The feature argument may be null in which case it will be deduced, if possible.
The default result will be of the form:
"@<feature-name>[.<index>]"The index is used only for
many-valued features;
it represents the position within the list.
eURIFragmentSegment in interface InternalEObjecteStructuralFeature - the feature relating the given object to this object, or null.eObject - the object to be identified.
public EObject eObjectForURIFragmentSegment(java.lang.String uriFragmentSegment)
InternalEObject
The fragment segment encoding will typically be of the form returned by eURIFragmentSegment.
eObjectForURIFragmentSegment in interface InternalEObjecturiFragmentSegment - a fragment segment.
public boolean eContains(EObject eObject)
public EObject eContainer()
EObjectnull.
An object is contained by another object
if it appears in the contents of that object.
The object will be contained by a containment feature of the containing object.
eContainer in interface EObjectEObject.eResource(),
EcoreUtil.remove(EObject),
EObject.eContainmentFeature(),
EObject.eContainingFeature(),
EcoreUtil.getRootContainer(org.eclipse.emf.ecore.EObject),
EObject.eContents()public InternalEObject eInternalContainer()
InternalEObjectnull.
It does not resolve a proxy.
eInternalContainer in interface InternalEObjectEObject.eContainer(),
InternalEObject.eDirectResource()public int eContainerFeatureID()
InternalEObject
eContainerFeatureID in interface InternalEObjectEObject.eContainmentFeature(),
InternalEObject.EOPPOSITE_FEATURE_BASE
protected void eBasicSetContainer(InternalEObject newContainer,
int newContainerFeatureID)
public EList 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 EObjectEObject.eContainer(),
EClass.getEAllContainments(),
EObject.eGet(EStructuralFeature),
EcoreUtil.remove(EObject),
EObject.eAllContents()public EList 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 EObjectEObject.eContents(),
EClass.getEAllReferences(),
EClass.getEAllContainments(),
EObject.eGet(EStructuralFeature),
EcoreUtil.CrossReferencerpublic TreeIterator eAllContents()
EObjectdirect contents and indirect contents of this object.
eAllContents in interface EObjectResource.getAllContents(),
EcoreUtil.getAllContents(java.util.Collection)public EReference eContainmentFeature()
EObjectcontainment feature that properly contains the object,
or null, if there is no container.
Because of support for wildcard content,
this feature may not be a direct feature of the container's class,
but rather a feature
of an entry in a feature map feature of the container's class.
eContainmentFeature in interface EObjectEObject.eContainer(),
EObject.eContainingFeature(),
EReference.isContainment(),
EClass.getEAllContainments(),
FeatureMap.Entry.getEStructuralFeature()
protected static EReference eContainmentFeature(EObject eObject,
EObject eContainer,
int eContainerFeatureID)
public EStructuralFeature eContainingFeature()
EObjectfeature
of the container that actually holds the object,
or null, if there is no container.
Because of support for wildcard content,
this feature may be an attribute representing a feature map;
in this case the object is referenced by the containment feature
of an entry in the map,
i.e., the eContainmentFeature.
eContainingFeature in interface EObjectEObject.eContainer(),
EObject.eContainmentFeature(),
EClass.getEAllContainments(),
EReference.isContainment(),
FeatureMap.Entry.getEStructuralFeature()public Resource.Internal eDirectResource()
InternalEObjectnull.
eDirectResource in interface InternalEObjectEObject.eResource(),
InternalEObject.eInternalResource(),
InternalEObject.eInternalContainer()public Resource eResource()
EObjectnull.
An object is contained in a resource
if it, or one of it's containers,
appears in the contents of that resource.
An object must be contained by a resource in order to be serialized.
eResource in interface EObjectEcoreUtil.remove(EObject),
EObject.eContainer()public Resource.Internal eInternalResource()
InternalEObjectnull.
eInternalResource in interface InternalEObjectEObject.eResource()
public NotificationChain eSetResource(Resource.Internal resource,
NotificationChain notifications)
InternalEObjectResource.getContents().add(this).
eSetResource in interface InternalEObjectprotected void eSetDirectResource(Resource.Internal resource)
public java.lang.Object eGet(EStructuralFeature eFeature)
EObjectIt returns the resolved value, i.e., it returns
eObject.eGet(feature, true)
eGet in interface EObjecteFeature - the feature of the value to fetch.
EObject.eGet(EStructuralFeature, boolean)
public java.lang.Object eGet(EStructuralFeature eFeature,
boolean resolve)
EObjectresolved before it is returned.
If the feature is many-valued,
the result will be an EList
and each object in the list will be an instance of
the feature's type;
the list's contents are not affected by resolve argument.
Otherwise the result directly will be an instance of the feature's type;
if it is a proxy,
it is resolved.
eGet in interface EObjecteFeature - the feature of the value to fetch.resolve - whether to resolve.
InternalEList.basicIterator(),
InternalEList.basicList(),
EcoreUtil.resolve(EObject, org.eclipse.emf.ecore.resource.ResourceSet),
EObject.eSet(EStructuralFeature, Object),
EObject.eUnset(EStructuralFeature),
EObject.eIsSet(EStructuralFeature),
EObject.eGet(EStructuralFeature)
public java.lang.Object eGet(EStructuralFeature eFeature,
boolean resolve,
boolean coreType)
InternalEObjectresolved before it is returned.
If the feature is many-valued,
the result will be an EList
and each object in the list will be an instance of
the feature's type;
the list's contents are not affected by resolve argument.
Otherwise the result directly will be an instance of the feature's type;
if it is a proxy,
it is resolved.
The core type specifies whether to return the core reflective value,
e.g., EMap,
or the public API value,
e.g., Map.
eGet in interface InternalEObjectresolve - whether to resolve.coreType - whether to return the core type value or the API type value.
#eGet(EStructuralFeature, boolean);
public java.lang.Object eGet(int featureID,
boolean resolve,
boolean coreType)
InternalEObjecteObject.eGet(eObjecte.eClass().getEStructuralFeature(featureID), resolve, coreType).
eGet in interface InternalEObjectInternalEObject.eGet(EStructuralFeature, boolean, boolean)
public java.lang.Object eDynamicGet(EStructuralFeature eFeature,
boolean resolve)
public java.lang.Object eDynamicGet(int featureID,
boolean resolve,
boolean coreType)
protected java.lang.Object eDynamicGet(int dynamicFeatureID,
EStructuralFeature eFeature,
boolean resolve,
boolean coreType)
public java.lang.Object eOpenGet(EStructuralFeature eFeature,
boolean resolve)
public void eSet(EStructuralFeature eFeature,
java.lang.Object newValue)
EObject
If the feature is many-valued,
the new value must be an EList
and each object in that list must be an instance of
the feature's type;
the existing contents are cleared and the contents of the new value are added.
Otherwise the new value directly must be an instance of the feature's type
and it becomes the new value of the feature of the object.
If the feature is unsettable,
the modeled state becomes set;
otherwise, the feature may still not considered set if the new value is the same as the default.
eSet in interface EObjecteFeature - the feature of the value to set.EObject.eUnset(EStructuralFeature),
EObject.eIsSet(EStructuralFeature),
EObject.eGet(EStructuralFeature, boolean)
public void eSet(int featureID,
java.lang.Object newValue)
InternalEObjecteObject.eSet(eObjecte.eClass().getEStructuralFeature(featureID), newValue).
eSet in interface InternalEObjectEObject.eSet(EStructuralFeature, Object)
public void eDynamicSet(EStructuralFeature eFeature,
java.lang.Object newValue)
public void eDynamicSet(int featureID,
java.lang.Object newValue)
protected void eDynamicSet(int dynamicFeatureID,
EStructuralFeature eFeature,
java.lang.Object newValue)
public void eOpenSet(EStructuralFeature eFeature,
java.lang.Object newValue)
public void eUnset(EStructuralFeature eFeature)
EObject
If the feature is many-valued,
the value must be an EList
and that list is cleared.
Otherwise,
the value of the feature of the object
is set to the feature's default value
or the meta class's default value,
as appropriate.
If the feature is unsettable,
the modeled state becomes unset.
In any case, the feature will no longer be considered set.
eUnset in interface EObjecteFeature - the feature in question.EObject.eIsSet(EStructuralFeature),
EObject.eSet(EStructuralFeature, Object),
EObject.eGet(EStructuralFeature, boolean)public void eUnset(int featureID)
InternalEObjecteObject.eUnset(eObjecte.eClass().getEStructuralFeature(featureID)).
eUnset in interface InternalEObjectEObject.eUnset(EStructuralFeature)public void eDynamicUnset(EStructuralFeature eFeature)
public void eDynamicUnset(int featureID)
protected void eDynamicUnset(int dynamicFeatureID,
EStructuralFeature eFeature)
public void eOpenUnset(EStructuralFeature eFeature)
public boolean eIsSet(EStructuralFeature eFeature)
EObject
If the feature is many-valued,
the value must be an EList
and the feature is considered set if the list is not empty.
If the feature is unsettable,
the modeled state is directly available and is used.
Otherwise,
the unresolved value of the feature of the object
is compared against the feature's default value
or the meta class's default value,
as appropriate;
the feature is considered set if it's not the same as the default.
This property can affect serialization, since defaults are typically omitted in a compact serialization.
eIsSet in interface EObjecteFeature - the feature in question.
EObject.eSet(EStructuralFeature, Object),
EObject.eUnset(EStructuralFeature),
EObject.eGet(EStructuralFeature, boolean)public boolean eIsSet(int featureID)
InternalEObjecteObject.eIsSet(eObjecte.eClass().getEStructuralFeature(featureID)).
eIsSet in interface InternalEObjectEObject.eIsSet(EStructuralFeature)public boolean eDynamicIsSet(EStructuralFeature eFeature)
public boolean eDynamicIsSet(int featureID)
protected boolean eDynamicIsSet(int dynamicFeatureID,
EStructuralFeature eFeature)
public boolean eOpenIsSet(EStructuralFeature eFeature)
public NotificationChain eBasicSetContainer(InternalEObject newContainer,
int newContainerFeatureID,
NotificationChain msgs)
InternalEObject
eBasicSetContainer in interface InternalEObjectpublic NotificationChain eBasicRemoveFromContainer(NotificationChain msgs)
InternalEObject
eBasicRemoveFromContainer in interface InternalEObjectpublic NotificationChain eBasicRemoveFromContainerFeature(NotificationChain msgs)
public NotificationChain eDynamicBasicRemoveFromContainer(NotificationChain msgs)
public NotificationChain eInverseAdd(InternalEObject otherEnd,
int featureID,
java.lang.Class baseClass,
NotificationChain msgs)
InternalEObject
eInverseAdd in interface InternalEObject
public NotificationChain eInverseAdd(InternalEObject otherEnd,
int featureID,
NotificationChain msgs)
public NotificationChain eDynamicInverseAdd(InternalEObject otherEnd,
int featureID,
java.lang.Class inverseClass,
NotificationChain msgs)
protected NotificationChain eDynamicInverseAdd(InternalEObject otherEnd,
int featureID,
NotificationChain msgs)
public NotificationChain eInverseRemove(InternalEObject otherEnd,
int featureID,
java.lang.Class baseClass,
NotificationChain msgs)
InternalEObject
eInverseRemove in interface InternalEObject
public NotificationChain eInverseRemove(InternalEObject otherEnd,
int featureID,
NotificationChain msgs)
public NotificationChain eDynamicInverseRemove(InternalEObject otherEnd,
int featureID,
java.lang.Class inverseClass,
NotificationChain msgs)
protected NotificationChain eDynamicInverseRemove(InternalEObject otherEnd,
int featureID,
NotificationChain msgs)
public URI eProxyURI()
InternalEObjectresolve to the actual object.
eProxyURI in interface InternalEObjectEcoreUtil.resolve(EObject, org.eclipse.emf.ecore.resource.ResourceSet),
Resource.unload()public void eSetProxyURI(URI uri)
InternalEObjectresolve to the actual object.
eSetProxyURI in interface InternalEObjecturi - the URI.EcoreUtil.resolve(EObject, org.eclipse.emf.ecore.resource.ResourceSet),
Resource.unload()public EObject eResolveProxy(InternalEObject proxy)
InternalEObjectproxy object relative to this object.
eResolveProxy in interface InternalEObjectEcoreUtil.resolve(EObject,EObject)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 EObjecttrue if this object is a proxy or false, otherwise.Resource.unload(),
EcoreUtil.resolve(EObject, org.eclipse.emf.ecore.resource.ResourceSet)
public int eBaseStructuralFeatureID(int derivedFeatureID,
java.lang.Class baseClass)
InternalEObject
eBaseStructuralFeatureID in interface InternalEObjectderivedFeatureID - the ID in the actual derived classbaseClass - the base class for which a relative ID is desired.
public int eDerivedStructuralFeatureID(int baseFeatureID,
java.lang.Class baseClass)
InternalEObject
eDerivedStructuralFeatureID in interface InternalEObjectbaseFeatureID - the ID relative to a base class.baseClass - the base class to which the ID is relative.
public int eDerivedStructuralFeatureID(EStructuralFeature eStructuralFeature)
public EClass eClass()
EObject
The meta class defines the features
available for reflective access.
eClass in interface EObjectEClass.getEAllStructuralFeatures()protected EClass eStaticClass()
protected EClass eDynamicClass()
public void eSetClass(EClass eClass)
InternalEObjectsettings.
an.
eSetClass in interface InternalEObjecteClass - the dynamic meta class.InternalEObject.eSetting(EStructuralFeature)protected EStructuralFeature.Internal.SettingDelegate eSettingDelegate(EStructuralFeature eFeature)
public EStructuralFeature.Setting eSetting(EStructuralFeature eFeature)
InternalEObject
eSetting in interface InternalEObjecteFeature - the feature of the desired setting.
public InternalEObject.EStore eStore()
InternalEObject
eStore in interface InternalEObjectpublic void eSetStore(InternalEObject.EStore store)
InternalEObject
eSetStore in interface InternalEObjectstore - the store to associate with this object.protected static int eVirtualBitCount(int value)
virtual values.
value - a two's complement bit pattern.
protected int eVirtualIndexBits(int offset)
virtual values.
offset - the offset within the bit sequence of bit patterns.
protected void eSetVirtualIndexBits(int offset,
int newIndexBits)
virtual values.
offset - the offset within the bit sequence of bit patterns.newIndexBits - the new bit pattern at the offset.
protected int eVirtualIndex(int eDerivedStructuralFeatureID,
int action)
virtual values for the feature ID,
with the side effect of toggling the necessary bits to suit the action code.
A result of less than zero indicates that the feature ID is not assigned an index.
In the case of a set action, when the value was not previously set,
the result will be the complement of the assigned index,
which can be corrected by ~index.
eDerivedStructuralFeatureID - the ID of a feature of the class.action - the reason for computing the ID.
protected java.lang.Object[] eVirtualValues()
protected void eSetVirtualValues(java.lang.Object[] newValues)
newValues - the new array of virtual values.protected java.lang.Object eVirtualValue(int index)
index - the index in the virtual values.
protected java.lang.Object eSetVirtualValue(int index,
java.lang.Object value)
index - the index in the virtual values.
protected int eComputeVirtualValuesCapacity(int minimumCapacity)
virtual values by returning the new capacity
that should be allocated for the given minimum required capacity. Subclasses can override this to be more or
less liberal in growth.
minimumCapacity - the minimum number of virtual value entries required.
protected void eAddVirtualValue(int index,
java.lang.Object value)
index - the index in the virtual values.protected java.lang.Object eRemoveVirtualValue(int index)
index - the index in the virtual values.
public java.lang.Object eVirtualGet(int eDerivedStructuralFeatureID)
null, if there isn't one.
eDerivedStructuralFeatureID - the feature ID to fetch.
public java.lang.Object eVirtualGet(int eDerivedStructuralFeatureID,
java.lang.Object defaultValue)
eDerivedStructuralFeatureID - the feature ID to fetch.defaultValue - the default value.
public boolean eVirtualIsSet(int eDerivedStructuralFeatureID)
eDerivedStructuralFeatureID - the feature ID to test.
public java.lang.Object eVirtualSet(int eDerivedStructuralFeatureID,
java.lang.Object value)
eDerivedStructuralFeatureID - the feature ID to set.
BasicEObjectImpl.EVIRTUAL_NO_VALUE.public java.lang.Object eVirtualUnset(int eDerivedStructuralFeatureID)
eDerivedStructuralFeatureID - the feature ID to unset.
BasicEObjectImpl.EVIRTUAL_NO_VALUE.public java.lang.String toString()
|
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 | |||||||||||