public static class EStructuralFeatureImpl.InternalSettingDelegateSingleEObject extends EStructuralFeatureImpl.InternalSettingDelegateSingle
EStructuralFeature.Internal.SettingDelegate.Factory
Modifier and Type | Field and Description |
---|---|
protected EClass |
eClass |
protected EReference |
inverseFeature |
feature, NIL
Constructor and Description |
---|
EStructuralFeatureImpl.InternalSettingDelegateSingleEObject(EClass eClass,
EStructuralFeature feature) |
EStructuralFeatureImpl.InternalSettingDelegateSingleEObject(EClass eClass,
EStructuralFeature feature,
EReference inverseFeature) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
dynamicGet(InternalEObject owner,
EStructuralFeature.Internal.DynamicValueHolder settings,
int index,
boolean resolve,
boolean coreType)
Returns the value of the feature of this owner.
|
NotificationChain |
dynamicInverseAdd(InternalEObject owner,
EStructuralFeature.Internal.DynamicValueHolder settings,
int index,
InternalEObject otherEnd,
NotificationChain notifications)
Adds the object at the other end of a bidirectional reference to the appropriate feature
and returns accumulated notifications.
|
NotificationChain |
dynamicInverseRemove(InternalEObject owner,
EStructuralFeature.Internal.DynamicValueHolder settings,
int index,
InternalEObject otherEnd,
NotificationChain notifications)
Removes the object at the other end of a bidirectional reference from the appropriate feature
and returns accumulated notifications.
|
boolean |
dynamicIsSet(InternalEObject owner,
EStructuralFeature.Internal.DynamicValueHolder settings,
int index)
Returns whether the feature of the owner is considered to be set.
|
void |
dynamicSet(InternalEObject owner,
EStructuralFeature.Internal.DynamicValueHolder settings,
int index,
java.lang.Object newValue)
Sets the value of the given feature of the owner to the new value.
|
void |
dynamicUnset(InternalEObject owner,
EStructuralFeature.Internal.DynamicValueHolder settings,
int index)
Unsets the value of the given feature of the owner.
|
protected boolean |
hasInverse() |
protected boolean |
isContainment() |
protected boolean |
isResolveProxies() |
protected boolean |
isUnsettable() |
dynamicSetting
protected EClass eClass
protected EReference inverseFeature
public EStructuralFeatureImpl.InternalSettingDelegateSingleEObject(EClass eClass, EStructuralFeature feature)
public EStructuralFeatureImpl.InternalSettingDelegateSingleEObject(EClass eClass, EStructuralFeature feature, EReference inverseFeature)
protected boolean isUnsettable()
protected boolean hasInverse()
protected boolean isContainment()
protected boolean isResolveProxies()
public java.lang.Object dynamicGet(InternalEObject owner, EStructuralFeature.Internal.DynamicValueHolder settings, int index, boolean resolve, boolean coreType)
EStructuralFeature.Internal.SettingDelegate
owner
- the owner of the feature.settings
- the owner's array of cached values.index
- the feature's index in the owner's cached dynamic values.resolve
- whether to resolve.coreType
- return the core EMF object if value is a non-EMF wrapper/view.EObject.eGet(EStructuralFeature, boolean)
public void dynamicSet(InternalEObject owner, EStructuralFeature.Internal.DynamicValueHolder settings, int index, java.lang.Object newValue)
EStructuralFeature.Internal.SettingDelegate
owner
- the owner of the feature.settings
- the owner's array of cached values.index
- the feature's index in the owner's cached dynamic values.newValue
- the new value for the feature.EObject.eSet(EStructuralFeature, Object)
public void dynamicUnset(InternalEObject owner, EStructuralFeature.Internal.DynamicValueHolder settings, int index)
EStructuralFeature.Internal.SettingDelegate
owner
- the owner of the feature.settings
- the owner's array of cached values.index
- the feature's index in the owner's cached dynamic values.EObject.eUnset(EStructuralFeature)
public boolean dynamicIsSet(InternalEObject owner, EStructuralFeature.Internal.DynamicValueHolder settings, int index)
EStructuralFeature.Internal.SettingDelegate
owner
- the owner of the feature.settings
- the owner's array of cached values.index
- the feature's index in the owner's cached dynamic values.EObject.eIsSet(EStructuralFeature)
public NotificationChain dynamicInverseAdd(InternalEObject owner, EStructuralFeature.Internal.DynamicValueHolder settings, int index, InternalEObject otherEnd, NotificationChain notifications)
EStructuralFeature.Internal.SettingDelegate
dynamicInverseAdd
in interface EStructuralFeature.Internal.SettingDelegate
dynamicInverseAdd
in class EStructuralFeatureImpl.InternalSettingDelegateSingle
owner
- the owner of the feature.settings
- the owner's array of cached values.index
- the feature's index in the owner's cached dynamic values.otherEnd
- the object to inverse add.notifications
- the incoming accumulated notifications.InternalEObject.eInverseAdd(org.eclipse.emf.ecore.InternalEObject, int, java.lang.Class<?>, org.eclipse.emf.common.notify.NotificationChain)
public NotificationChain dynamicInverseRemove(InternalEObject owner, EStructuralFeature.Internal.DynamicValueHolder settings, int index, InternalEObject otherEnd, NotificationChain notifications)
EStructuralFeature.Internal.SettingDelegate
dynamicInverseRemove
in interface EStructuralFeature.Internal.SettingDelegate
dynamicInverseRemove
in class EStructuralFeatureImpl.InternalSettingDelegateSingle
owner
- the owner of the feature.settings
- the owner's array of cached values.index
- the feature's index in the owner's cached dynamic values.otherEnd
- the object to inverse remove.notifications
- the incoming accumulated notifications.InternalEObject.eInverseRemove(org.eclipse.emf.ecore.InternalEObject, int, java.lang.Class<?>, org.eclipse.emf.common.notify.NotificationChain)