public static class EStructuralFeatureImpl.InternalSettingDelegateMany extends java.lang.Object implements EStructuralFeature.Internal.SettingDelegate
EStructuralFeature.Internal.SettingDelegate.Factory
Constructor and Description |
---|
EStructuralFeatureImpl.InternalSettingDelegateMany(int style,
java.lang.Class<?> dataClass,
EStructuralFeature feature) |
EStructuralFeatureImpl.InternalSettingDelegateMany(int style,
java.lang.Class<?> dataClass,
EStructuralFeature feature,
EReference inverseFeature) |
EStructuralFeatureImpl.InternalSettingDelegateMany(int style,
EStructuralFeature feature) |
EStructuralFeatureImpl.InternalSettingDelegateMany(int style,
EStructuralFeature feature,
EReference inverseFeature) |
Modifier and Type | Method and Description |
---|---|
protected EStructuralFeature.Setting |
createDynamicSetting(InternalEObject owner) |
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.
|
EStructuralFeature.Setting |
dynamicSetting(InternalEObject owner,
EStructuralFeature.Internal.DynamicValueHolder settings,
int index)
Returns a setting that can be used to access the owner's feature.
|
void |
dynamicUnset(InternalEObject owner,
EStructuralFeature.Internal.DynamicValueHolder settings,
int index)
Unsets the value of the given feature of the owner.
|
public static final int CONTAINMENT_UNSETTABLE_DYNAMIC
public static final int CONTAINMENT_UNSETTABLE
public static final int CONTAINMENT_DYNAMIC
public static final int CONTAINMENT
public static final int CONTAINMENT_INVERSE_UNSETTABLE_DYNAMIC
public static final int CONTAINMENT_INVERSE_UNSETTABLE
public static final int CONTAINMENT_INVERSE_DYNAMIC
public static final int CONTAINMENT_INVERSE
public static final int DATA_UNIQUE_UNSETTABLE_DYNAMIC
public static final int DATA_UNIQUE_UNSETTABLE
public static final int DATA_UNIQUE_DYNAMIC
public static final int DATA_UNIQUE
public static final int DATA_UNSETTABLE_DYNAMIC
public static final int DATA_UNSETTABLE
public static final int DATA_DYNAMIC
public static final int DATA
public static final int EOBJECT_RESOLVE_UNSETTABLE_DYNAMIC
public static final int EOBJECT_RESOLVE_UNSETTABLE
public static final int EOBJECT_RESOLVE_DYNAMIC
public static final int EOBJECT_RESOLVE
public static final int EOBJECT_UNSETTABLE_DYNAMIC
public static final int EOBJECT_UNSETTABLE
public static final int EOBJECT_DYNAMIC
public static final int EOBJECT
public static final int MANY_INVERSE_RESOLVE_UNSETTABLE_DYNAMIC
public static final int MANY_INVERSE_RESOLVE_UNSETTABLE
public static final int MANY_INVERSE_RESOLVE_DYNAMIC
public static final int MANY_INVERSE_RESOLVE
public static final int MANY_INVERSE_UNSETTABLE_DYNAMIC
public static final int MANY_INVERSE_UNSETTABLE
public static final int MANY_INVERSE_DYNAMIC
public static final int MANY_INVERSE
public static final int INVERSE_RESOLVE_UNSETTABLE_DYNAMIC
public static final int INVERSE_RESOLVE_UNSETTABLE
public static final int INVERSE_RESOLVE_DYNAMIC
public static final int INVERSE_RESOLVE
public static final int INVERSE_UNSETTABLE_DYNAMIC
public static final int INVERSE_UNSETTABLE
public static final int INVERSE_DYNAMIC
public static final int INVERSE
public static final int FEATURE_MAP
public static final int EMAP
public static final int CONTAINMENT_UNSETTABLE_DYNAMIC_RESOLVE
public static final int CONTAINMENT_UNSETTABLE_RESOLVE
public static final int CONTAINMENT_DYNAMIC_RESOLVE
public static final int CONTAINMENT_RESOLVE
public static final int CONTAINMENT_INVERSE_UNSETTABLE_DYNAMIC_RESOLVE
public static final int CONTAINMENT_INVERSE_UNSETTABLE_RESOLVE
public static final int CONTAINMENT_INVERSE_DYNAMIC_RESOLVE
public static final int CONTAINMENT_INVERSE_RESOLVE
public static final int EMAP_UNSETTABLE
protected int style
protected int dynamicKind
protected java.lang.Class<?> dataClass
protected EStructuralFeature feature
protected EReference inverseFeature
public EStructuralFeatureImpl.InternalSettingDelegateMany(int style, java.lang.Class<?> dataClass, EStructuralFeature feature)
public EStructuralFeatureImpl.InternalSettingDelegateMany(int style, EStructuralFeature feature)
public EStructuralFeatureImpl.InternalSettingDelegateMany(int style, java.lang.Class<?> dataClass, EStructuralFeature feature, EReference inverseFeature)
public EStructuralFeatureImpl.InternalSettingDelegateMany(int style, EStructuralFeature feature, EReference inverseFeature)
protected EStructuralFeature.Setting createDynamicSetting(InternalEObject owner)
public EStructuralFeature.Setting dynamicSetting(InternalEObject owner, EStructuralFeature.Internal.DynamicValueHolder settings, int index)
EStructuralFeature.Internal.SettingDelegate
dynamicSetting
in interface 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.InternalEObject.eSetting(EStructuralFeature)
public java.lang.Object dynamicGet(InternalEObject owner, EStructuralFeature.Internal.DynamicValueHolder settings, int index, boolean resolve, boolean coreType)
EStructuralFeature.Internal.SettingDelegate
dynamicGet
in interface 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
dynamicSet
in interface 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
dynamicUnset
in interface 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
dynamicIsSet
in interface 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
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
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)