public abstract class EModelElementImpl extends MinimalEObjectImpl.Container implements EModelElement
The following features are implemented:
MinimalEObjectImpl.Container.Dynamic
MinimalEObjectImpl.Container
BasicEObjectImpl.EPropertiesHolder, BasicEObjectImpl.EPropertiesHolderBaseImpl, BasicEObjectImpl.EPropertiesHolderImpl
BasicNotifierImpl.EAdapterList<E extends java.lang.Object & Adapter>, BasicNotifierImpl.EObservableAdapterList
InternalEObject.EStore
Modifier and Type | Field and Description |
---|---|
protected EList<EAnnotation> |
eAnnotations
The cached value of the '
EAnnotations ' containment reference list |
protected int |
eFlags
An extensible set of bit flags.
|
protected static int |
EFROZEN
|
protected static int |
ELAST_EMODEL_ELEMENT_FLAG
The last bit used by this class; derived classes may use bit values higher than this.
|
eContainer
EVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSET
NIL
EOPPOSITE_FEATURE_BASE
Modifier | Constructor and Description |
---|---|
protected |
EModelElementImpl() |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
eGet(int featureID,
boolean resolve,
boolean coreType) |
NotificationChain |
eInverseAdd(InternalEObject otherEnd,
int featureID,
NotificationChain msgs) |
NotificationChain |
eInverseRemove(InternalEObject otherEnd,
int featureID,
NotificationChain msgs) |
java.lang.Object |
eInvoke(int operationID,
EList<?> arguments) |
boolean |
eIsSet(int featureID) |
EObject |
eObjectForURIFragmentSegment(java.lang.String uriFragmentSegment)
Returns the object resolved by the fragment segment.
|
void |
eSet(int featureID,
java.lang.Object newValue) |
protected void |
eSetDirectResource(Resource.Internal resource) |
protected EClass |
eStaticClass() |
void |
eUnset(int 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 void |
freeze() |
protected void |
freeze(java.lang.Object eModelElement) |
EAnnotation |
getEAnnotation(java.lang.String source) |
EList<EAnnotation> |
getEAnnotations() |
protected boolean |
isFrozen() |
protected void |
setFrozen() |
eBasicSetContainer, eInternalContainer
dynamicGet, dynamicSet, dynamicUnset, eAdapters, eBasicAdapterArray, eBasicAdapterListeners, eBasicAdapters, eBasicHasAdapters, eBasicProperties, eBasicSetAdapterArray, eBasicSetAdapterListeners, eBasicSetContainer, eBasicSetContainerFeatureID, eBasicSetSettings, eBasicSettings, eClass, eContainerFeatureID, eContents, eCrossReferences, eDeliver, eDirectResource, eDynamicClass, eHasSettings, eIsProxy, eProperties, eProxyURI, eSetClass, eSetDeliver, eSetProxyURI, eSettings
eAddVirtualValue, eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainerAdapterArray, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDynamicBasicRemoveFromContainer, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInverseRemove, eDynamicInvoke, eDynamicInvoke, eDynamicIsSet, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eInternalResource, eInverseAdd, eInverseRemove, eInvocationDelegate, eInvoke, eIsSet, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetResource, eSetStore, eSetting, eSettingDelegate, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticFeatureCount, eStaticOperationCount, eStore, eUnset, eVirtualBitCount, eVirtualGet, eVirtualGet, eVirtualIndex, eVirtualIndexBits, eVirtualIsSet, eVirtualSet, eVirtualUnset, eVirtualValue, eVirtualValues, toString
eNotificationRequired, eNotify
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
eAdapters, eDeliver, eNotify, eSetDeliver
eNotificationRequired
protected EList<EAnnotation> eAnnotations
EAnnotations
' containment reference list.
getEAnnotations()
protected int eFlags
protected static final int EFROZEN
protected static final int ELAST_EMODEL_ELEMENT_FLAG
protected void freeze()
protected void freeze(java.lang.Object eModelElement)
protected void setFrozen()
protected boolean isFrozen()
protected void eSetDirectResource(Resource.Internal resource)
eSetDirectResource
in class MinimalEObjectImpl
protected EClass eStaticClass()
eStaticClass
in class BasicEObjectImpl
public EList<EAnnotation> getEAnnotations()
getEAnnotations
in interface EModelElement
EModelElement.getEAnnotation(String)
,
EcorePackage.getEModelElement_EAnnotations()
,
EAnnotation.getEModelElement()
public EAnnotation getEAnnotation(java.lang.String source)
getEAnnotation
in interface EModelElement
EModelElement.getEAnnotations()
,
EAnnotation.getSource()
public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs)
eInverseAdd
in class BasicEObjectImpl
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
eInverseRemove
in class BasicEObjectImpl
public java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
eGet
in interface InternalEObject
eGet
in class BasicEObjectImpl
InternalEObject.eGet(EStructuralFeature, boolean, boolean)
public void eSet(int featureID, java.lang.Object newValue)
eSet
in interface InternalEObject
eSet
in class BasicEObjectImpl
EObject.eSet(EStructuralFeature, Object)
public void eUnset(int featureID)
eUnset
in interface InternalEObject
eUnset
in class BasicEObjectImpl
EObject.eUnset(EStructuralFeature)
public boolean eIsSet(int featureID)
eIsSet
in interface InternalEObject
eIsSet
in class BasicEObjectImpl
EObject.eIsSet(EStructuralFeature)
public java.lang.Object eInvoke(int operationID, EList<?> arguments) throws java.lang.reflect.InvocationTargetException
eInvoke
in interface InternalEObject
eInvoke
in class BasicEObjectImpl
java.lang.reflect.InvocationTargetException
EObject.eInvoke(EOperation, EList<?>)
public java.lang.String eURIFragmentSegment(EStructuralFeature eStructuralFeature, EObject eObject)
InternalEObject
eObjectForURIFragmentSegment
,
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.
Given given an eObject
present in the eFeature
of some other InternalEObject
x
, the following condition must hold:
x.eObjectForURIFragmentSegment(x.eURIFragmentSegment(eFeature, eObject)) == eObject
eURIFragmentSegment
in interface InternalEObject
eURIFragmentSegment
in class BasicEObjectImpl
eStructuralFeature
- 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 InternalEObject
eObjectForURIFragmentSegment
in class BasicEObjectImpl
uriFragmentSegment
- a fragment segment.