org.eclipse.emf.ecore.impl
Class EStructuralFeatureImpl.InternalSettingDelegateSingleEObject
java.lang.Object
|
+--org.eclipse.emf.ecore.impl.EStructuralFeatureImpl.InternalSettingDelegateSingle
|
+--org.eclipse.emf.ecore.impl.EStructuralFeatureImpl.InternalSettingDelegateSingleEObject
- All Implemented Interfaces:
- EStructuralFeature.Internal.SettingDelegate
- Direct Known Subclasses:
- EStructuralFeatureImpl.InternalSettingDelegateSingleEObjectContainment, EStructuralFeatureImpl.InternalSettingDelegateSingleEObjectResolving, EStructuralFeatureImpl.InternalSettingDelegateSingleEObjectResolvingUnsettable, EStructuralFeatureImpl.InternalSettingDelegateSingleEObjectUnsettable, EStructuralFeatureImpl.InternalSettingDelegateSingleEObjectWithInverse
- Enclosing class:
- EStructuralFeatureImpl
- public static class EStructuralFeatureImpl.InternalSettingDelegateSingleEObject
- extends EStructuralFeatureImpl.InternalSettingDelegateSingle
Method Summary |
java.lang.Object |
dynamicGet(InternalEObject owner,
EStructuralFeature.Internal.DynamicValueHolder settings,
int index,
boolean resolve)
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()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
eClass
protected EClass eClass
inverseFeature
protected EReference inverseFeature
EStructuralFeatureImpl.InternalSettingDelegateSingleEObject
public EStructuralFeatureImpl.InternalSettingDelegateSingleEObject(EClass eClass,
EStructuralFeature feature)
EStructuralFeatureImpl.InternalSettingDelegateSingleEObject
public EStructuralFeatureImpl.InternalSettingDelegateSingleEObject(EClass eClass,
EStructuralFeature feature,
EReference inverseFeature)
isUnsettable
protected boolean isUnsettable()
hasInverse
protected boolean hasInverse()
isContainment
protected boolean isContainment()
isResolveProxies
protected boolean isResolveProxies()
dynamicGet
public java.lang.Object dynamicGet(InternalEObject owner,
EStructuralFeature.Internal.DynamicValueHolder settings,
int index,
boolean resolve)
- Description copied from interface:
EStructuralFeature.Internal.SettingDelegate
- Returns the value of the feature of this owner.
- Following copied from interface:
org.eclipse.emf.ecore.EStructuralFeature.Internal.SettingDelegate
- Parameters:
owner
- the owner of the feature.settings
- the owner's array of cached values.dynamicFeatureID
- the feature's index in the owner's cached dynamic values.resolve
- whether to resolve.- Returns:
- the value of the feature of this owner.
- See Also:
EObject.eGet(EStructuralFeature, boolean)
dynamicSet
public void dynamicSet(InternalEObject owner,
EStructuralFeature.Internal.DynamicValueHolder settings,
int index,
java.lang.Object newValue)
- Description copied from interface:
EStructuralFeature.Internal.SettingDelegate
- Sets the value of the given feature of the owner to the new value.
- Following copied from interface:
org.eclipse.emf.ecore.EStructuralFeature.Internal.SettingDelegate
- Parameters:
owner
- the owner of the feature.settings
- the owner's array of cached values.dynamicFeatureID
- the feature's index in the owner's cached dynamic values.newValue
- the new value for the feature.- See Also:
EObject.eSet(EStructuralFeature, Object)
dynamicUnset
public void dynamicUnset(InternalEObject owner,
EStructuralFeature.Internal.DynamicValueHolder settings,
int index)
- Description copied from interface:
EStructuralFeature.Internal.SettingDelegate
- Unsets the value of the given feature of the owner.
- Following copied from interface:
org.eclipse.emf.ecore.EStructuralFeature.Internal.SettingDelegate
- Parameters:
owner
- the owner of the feature.settings
- the owner's array of cached values.dynamicFeatureID
- the feature's index in the owner's cached dynamic values.- See Also:
EObject.eUnset(EStructuralFeature)
dynamicIsSet
public boolean dynamicIsSet(InternalEObject owner,
EStructuralFeature.Internal.DynamicValueHolder settings,
int index)
- Description copied from interface:
EStructuralFeature.Internal.SettingDelegate
- Returns whether the feature of the owner is considered to be set.
- Following copied from interface:
org.eclipse.emf.ecore.EStructuralFeature.Internal.SettingDelegate
- Parameters:
owner
- the owner of the feature.settings
- the owner's array of cached values.dynamicFeatureID
- the feature's index in the owner's cached dynamic values.- Returns:
- whether the feature of the owner is considered to be set.
- See Also:
EObject.eIsSet(EStructuralFeature)
dynamicInverseAdd
public NotificationChain dynamicInverseAdd(InternalEObject owner,
EStructuralFeature.Internal.DynamicValueHolder settings,
int index,
InternalEObject otherEnd,
NotificationChain notifications)
- Description copied from interface:
EStructuralFeature.Internal.SettingDelegate
- Adds the object at the other end of a bidirectional reference to the appropriate feature
and returns accumulated notifications.
- Overrides:
dynamicInverseAdd
in class EStructuralFeatureImpl.InternalSettingDelegateSingle
- Following copied from interface:
org.eclipse.emf.ecore.EStructuralFeature.Internal.SettingDelegate
- Parameters:
owner
- the owner of the feature.settings
- the owner's array of cached values.dynamicFeatureID
- the feature's index in the owner's cached dynamic values.otherEnd
- the object to inverse add.notifications
- the incoming accumulated notifications.- Returns:
- accumulated notifications.
- See Also:
InternalEObject.eInverseAdd(org.eclipse.emf.ecore.InternalEObject, int, java.lang.Class, org.eclipse.emf.common.notify.NotificationChain)
dynamicInverseRemove
public NotificationChain dynamicInverseRemove(InternalEObject owner,
EStructuralFeature.Internal.DynamicValueHolder settings,
int index,
InternalEObject otherEnd,
NotificationChain notifications)
- Description copied from interface:
EStructuralFeature.Internal.SettingDelegate
- Removes the object at the other end of a bidirectional reference from the appropriate feature
and returns accumulated notifications.
- Overrides:
dynamicInverseRemove
in class EStructuralFeatureImpl.InternalSettingDelegateSingle
- Following copied from interface:
org.eclipse.emf.ecore.EStructuralFeature.Internal.SettingDelegate
- Parameters:
owner
- the owner of the feature.settings
- the owner's array of cached values.dynamicFeatureID
- the feature's index in the owner's cached dynamic values.otherEnd
- the object to inverse remove.notifications
- the incoming accumulated notifications.- Returns:
- accumulated notifications.
- See Also:
InternalEObject.eInverseRemove(org.eclipse.emf.ecore.InternalEObject, int, java.lang.Class, org.eclipse.emf.common.notify.NotificationChain)