org.eclipse.emf.ecore.impl
Class EStructuralFeatureImpl.InternalSettingDelegateMany

java.lang.Object
  |
  +--org.eclipse.emf.ecore.impl.EStructuralFeatureImpl.InternalSettingDelegateMany
All Implemented Interfaces:
EStructuralFeature.Internal.SettingDelegate
Enclosing class:
EStructuralFeatureImpl

public static class EStructuralFeatureImpl.InternalSettingDelegateMany
extends java.lang.Object
implements EStructuralFeature.Internal.SettingDelegate


Field Summary
static int CONTAINMENT
           
static int CONTAINMENT_DYNAMIC
           
static int CONTAINMENT_INVERSE
           
static int CONTAINMENT_INVERSE_DYNAMIC
           
static int CONTAINMENT_INVERSE_UNSETTABLE
           
static int CONTAINMENT_INVERSE_UNSETTABLE_DYNAMIC
           
static int CONTAINMENT_UNSETTABLE
           
static int CONTAINMENT_UNSETTABLE_DYNAMIC
           
static int DATA
           
static int DATA_DYNAMIC
           
static int DATA_UNIQUE
           
static int DATA_UNIQUE_DYNAMIC
           
static int DATA_UNIQUE_UNSETTABLE
           
static int DATA_UNIQUE_UNSETTABLE_DYNAMIC
           
static int DATA_UNSETTABLE
           
static int DATA_UNSETTABLE_DYNAMIC
           
protected  java.lang.Class dataClass
           
protected  int dynamicKind
           
static int EOBJECT
           
static int EOBJECT_DYNAMIC
           
static int EOBJECT_RESOLVE
           
static int EOBJECT_RESOLVE_DYNAMIC
           
static int EOBJECT_RESOLVE_UNSETTABLE
           
static int EOBJECT_RESOLVE_UNSETTABLE_DYNAMIC
           
static int EOBJECT_UNSETTABLE
           
static int EOBJECT_UNSETTABLE_DYNAMIC
           
protected  EStructuralFeature feature
           
static int INVERSE
           
static int INVERSE_DYNAMIC
           
static int INVERSE_RESOLVE
           
static int INVERSE_RESOLVE_DYNAMIC
           
static int INVERSE_RESOLVE_UNSETTABLE
           
static int INVERSE_RESOLVE_UNSETTABLE_DYNAMIC
           
static int INVERSE_UNSETTABLE
           
static int INVERSE_UNSETTABLE_DYNAMIC
           
protected  EReference inverseFeature
           
static int MANY_INVERSE
           
static int MANY_INVERSE_DYNAMIC
           
static int MANY_INVERSE_RESOLVE
           
static int MANY_INVERSE_RESOLVE_DYNAMIC
           
static int MANY_INVERSE_RESOLVE_UNSETTABLE
           
static int MANY_INVERSE_RESOLVE_UNSETTABLE_DYNAMIC
           
static int MANY_INVERSE_UNSETTABLE
           
static int MANY_INVERSE_UNSETTABLE_DYNAMIC
           
protected  int style
           
 
Constructor Summary
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)
           
 
Method Summary
protected  EStructuralFeature.Setting createDynamicSetting(InternalEObject owner)
           
 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.
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CONTAINMENT_UNSETTABLE_DYNAMIC

public static final int CONTAINMENT_UNSETTABLE_DYNAMIC

CONTAINMENT_UNSETTABLE

public static final int CONTAINMENT_UNSETTABLE

CONTAINMENT_DYNAMIC

public static final int CONTAINMENT_DYNAMIC

CONTAINMENT

public static final int CONTAINMENT

CONTAINMENT_INVERSE_UNSETTABLE_DYNAMIC

public static final int CONTAINMENT_INVERSE_UNSETTABLE_DYNAMIC

CONTAINMENT_INVERSE_UNSETTABLE

public static final int CONTAINMENT_INVERSE_UNSETTABLE

CONTAINMENT_INVERSE_DYNAMIC

public static final int CONTAINMENT_INVERSE_DYNAMIC

CONTAINMENT_INVERSE

public static final int CONTAINMENT_INVERSE

DATA_UNIQUE_UNSETTABLE_DYNAMIC

public static final int DATA_UNIQUE_UNSETTABLE_DYNAMIC

DATA_UNIQUE_UNSETTABLE

public static final int DATA_UNIQUE_UNSETTABLE

DATA_UNIQUE_DYNAMIC

public static final int DATA_UNIQUE_DYNAMIC

DATA_UNIQUE

public static final int DATA_UNIQUE

DATA_UNSETTABLE_DYNAMIC

public static final int DATA_UNSETTABLE_DYNAMIC

DATA_UNSETTABLE

public static final int DATA_UNSETTABLE

DATA_DYNAMIC

public static final int DATA_DYNAMIC

DATA

public static final int DATA

EOBJECT_RESOLVE_UNSETTABLE_DYNAMIC

public static final int EOBJECT_RESOLVE_UNSETTABLE_DYNAMIC

EOBJECT_RESOLVE_UNSETTABLE

public static final int EOBJECT_RESOLVE_UNSETTABLE

EOBJECT_RESOLVE_DYNAMIC

public static final int EOBJECT_RESOLVE_DYNAMIC

EOBJECT_RESOLVE

public static final int EOBJECT_RESOLVE

EOBJECT_UNSETTABLE_DYNAMIC

public static final int EOBJECT_UNSETTABLE_DYNAMIC

EOBJECT_UNSETTABLE

public static final int EOBJECT_UNSETTABLE

EOBJECT_DYNAMIC

public static final int EOBJECT_DYNAMIC

EOBJECT

public static final int EOBJECT

MANY_INVERSE_RESOLVE_UNSETTABLE_DYNAMIC

public static final int MANY_INVERSE_RESOLVE_UNSETTABLE_DYNAMIC

MANY_INVERSE_RESOLVE_UNSETTABLE

public static final int MANY_INVERSE_RESOLVE_UNSETTABLE

MANY_INVERSE_RESOLVE_DYNAMIC

public static final int MANY_INVERSE_RESOLVE_DYNAMIC

MANY_INVERSE_RESOLVE

public static final int MANY_INVERSE_RESOLVE

MANY_INVERSE_UNSETTABLE_DYNAMIC

public static final int MANY_INVERSE_UNSETTABLE_DYNAMIC

MANY_INVERSE_UNSETTABLE

public static final int MANY_INVERSE_UNSETTABLE

MANY_INVERSE_DYNAMIC

public static final int MANY_INVERSE_DYNAMIC

MANY_INVERSE

public static final int MANY_INVERSE

INVERSE_RESOLVE_UNSETTABLE_DYNAMIC

public static final int INVERSE_RESOLVE_UNSETTABLE_DYNAMIC

INVERSE_RESOLVE_UNSETTABLE

public static final int INVERSE_RESOLVE_UNSETTABLE

INVERSE_RESOLVE_DYNAMIC

public static final int INVERSE_RESOLVE_DYNAMIC

INVERSE_RESOLVE

public static final int INVERSE_RESOLVE

INVERSE_UNSETTABLE_DYNAMIC

public static final int INVERSE_UNSETTABLE_DYNAMIC

INVERSE_UNSETTABLE

public static final int INVERSE_UNSETTABLE

INVERSE_DYNAMIC

public static final int INVERSE_DYNAMIC

INVERSE

public static final int INVERSE

style

protected int style

dynamicKind

protected int dynamicKind

dataClass

protected java.lang.Class dataClass

feature

protected EStructuralFeature feature

inverseFeature

protected EReference inverseFeature
Constructor Detail

EStructuralFeatureImpl.InternalSettingDelegateMany

public EStructuralFeatureImpl.InternalSettingDelegateMany(int style,
                                                          java.lang.Class dataClass,
                                                          EStructuralFeature feature)

EStructuralFeatureImpl.InternalSettingDelegateMany

public EStructuralFeatureImpl.InternalSettingDelegateMany(int style,
                                                          EStructuralFeature feature)

EStructuralFeatureImpl.InternalSettingDelegateMany

public EStructuralFeatureImpl.InternalSettingDelegateMany(int style,
                                                          java.lang.Class dataClass,
                                                          EStructuralFeature feature,
                                                          EReference inverseFeature)

EStructuralFeatureImpl.InternalSettingDelegateMany

public EStructuralFeatureImpl.InternalSettingDelegateMany(int style,
                                                          EStructuralFeature feature,
                                                          EReference inverseFeature)
Method Detail

createDynamicSetting

protected EStructuralFeature.Setting createDynamicSetting(InternalEObject owner)

dynamicSetting

public EStructuralFeature.Setting dynamicSetting(InternalEObject owner,
                                                 EStructuralFeature.Internal.DynamicValueHolder settings,
                                                 int index)
Description copied from interface: EStructuralFeature.Internal.SettingDelegate
Returns a setting that can be used to access the owner's feature.
Specified by:
dynamicSetting in interface EStructuralFeature.Internal.SettingDelegate
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:
a setting that can be used to access the owner's feature.
See Also:
InternalEObject.eSetting(EStructuralFeature)

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.
Specified by:
dynamicGet in interface EStructuralFeature.Internal.SettingDelegate
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.
Specified by:
dynamicSet in interface EStructuralFeature.Internal.SettingDelegate
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.
Specified by:
dynamicUnset in interface EStructuralFeature.Internal.SettingDelegate
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.
Specified by:
dynamicIsSet in interface EStructuralFeature.Internal.SettingDelegate
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.
Specified by:
dynamicInverseAdd in interface EStructuralFeature.Internal.SettingDelegate
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.
Specified by:
dynamicInverseRemove in interface EStructuralFeature.Internal.SettingDelegate
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)

Copyright 2001-2003 IBM Corporation and others.
All Rights Reserved.