public class DynamicEObjectImpl extends EObjectImpl implements EStructuralFeature.Internal.DynamicValueHolder
Modifier and Type | Class and Description |
---|---|
static class |
DynamicEObjectImpl.BasicEMapEntry<K,V> |
protected static class |
DynamicEObjectImpl.DynamicEPropertiesHolderImpl
An internal class for holding less frequently members variables.
|
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 EClass |
eClass |
protected static java.lang.Object[] |
ENO_SETTINGS |
protected java.lang.Object[] |
eSettings |
eAdapters, eContainer, eContainerFeatureID, EDELIVER, EDYNAMIC_CLASS, eFlags, ELAST_EOBJECT_FLAG, ELAST_NOTIFIER_FLAG, eProperties, EPROXY
EVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSET
NIL
EOPPOSITE_FEATURE_BASE
Constructor and Description |
---|
DynamicEObjectImpl()
Creates a dynamic EObject.
|
DynamicEObjectImpl(EClass eClass)
Creates a dynamic EObject.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
dynamicGet(int dynamicFeatureID)
Returns the value of the feature.
|
void |
dynamicSet(int dynamicFeatureID,
java.lang.Object value)
Sets the value of the feature to the new value.
|
void |
dynamicUnset(int dynamicFeatureID)
Unsets the value of the feature.
|
EClass |
eClass()
Returns the meta class.
|
int |
eDerivedOperationID(EOperation eOperation) |
int |
eDerivedStructuralFeatureID(EStructuralFeature eStructuralFeature) |
protected EClass |
eDynamicClass() |
protected boolean |
eHasSettings() |
java.lang.Object |
eInvoke(int operationID,
EList<?> arguments)
Does the equivalent of
eObject.eInvoke(eObject.eClass().getEOperation(featureID), arguments) . |
protected BasicEObjectImpl.EPropertiesHolder |
eProperties() |
void |
eSetClass(EClass eClass)
Sets the meta class.
|
protected EStructuralFeature.Internal.DynamicValueHolder |
eSettings() |
protected int |
eStaticFeatureCount() |
protected int |
eStaticOperationCount() |
eAdapters, eBasicAdapters, eBasicProperties, eBasicSetContainer, eContainerFeatureID, eDeliver, eInternalContainer, eIsProxy, eSetDeliver, eSetProxyURI, eStaticClass
eAddVirtualValue, eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainerAdapterArray, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedOperationID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInverseRemove, eDynamicInvoke, eDynamicInvoke, eDynamicIsSet, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eGet, eInternalResource, eInverseAdd, eInverseAdd, eInverseRemove, eInverseRemove, eInvocationDelegate, eInvoke, eIsSet, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSet, eSetDirectResource, eSetResource, eSetStore, eSetting, eSettingDelegate, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStore, eUnset, eUnset, eURIFragmentSegment, eVirtualBitCount, eVirtualGet, eVirtualGet, eVirtualIndex, eVirtualIndexBits, eVirtualIsSet, eVirtualSet, eVirtualUnset, eVirtualValue, eVirtualValues, toString
eBasicAdapterArray, eBasicHasAdapters, eNotificationRequired, eNotify
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
eAllContents, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsSet, eResource, eSet, eUnset
eNotificationRequired
protected EClass eClass
protected java.lang.Object[] eSettings
protected static final java.lang.Object[] ENO_SETTINGS
public DynamicEObjectImpl()
public DynamicEObjectImpl(EClass eClass)
protected int eStaticFeatureCount()
eStaticFeatureCount
in class BasicEObjectImpl
public int eDerivedStructuralFeatureID(EStructuralFeature eStructuralFeature)
eDerivedStructuralFeatureID
in class BasicEObjectImpl
protected BasicEObjectImpl.EPropertiesHolder eProperties()
eProperties
in class EObjectImpl
protected boolean eHasSettings()
eHasSettings
in class BasicEObjectImpl
protected EStructuralFeature.Internal.DynamicValueHolder eSettings()
eSettings
in class BasicEObjectImpl
protected int eStaticOperationCount()
eStaticOperationCount
in class BasicEObjectImpl
public int eDerivedOperationID(EOperation eOperation)
eDerivedOperationID
in class BasicEObjectImpl
public java.lang.Object eInvoke(int operationID, EList<?> arguments) throws java.lang.reflect.InvocationTargetException
InternalEObject
eObject.eInvoke(eObject.eClass().getEOperation(featureID), arguments)
.eInvoke
in interface InternalEObject
eInvoke
in class EObjectImpl
java.lang.reflect.InvocationTargetException
EObject.eInvoke(EOperation, EList<?>)
protected EClass eDynamicClass()
eDynamicClass
in class BasicEObjectImpl
public EClass eClass()
EObject
The meta class defines the features
available for reflective access.
eClass
in interface EObject
eClass
in class EObjectImpl
EClass.getEAllStructuralFeatures()
public void eSetClass(EClass eClass)
InternalEObject
settings
.
an.eSetClass
in interface InternalEObject
eSetClass
in class EObjectImpl
eClass
- the dynamic meta class.InternalEObject.eSetting(EStructuralFeature)
public java.lang.Object dynamicGet(int dynamicFeatureID)
EStructuralFeature.Internal.DynamicValueHolder
dynamicGet
in interface EStructuralFeature.Internal.DynamicValueHolder
dynamicFeatureID
- the feature's index in the cached dynamic values.public void dynamicSet(int dynamicFeatureID, java.lang.Object value)
EStructuralFeature.Internal.DynamicValueHolder
dynamicSet
in interface EStructuralFeature.Internal.DynamicValueHolder
dynamicFeatureID
- the feature's index in the cached dynamic values.value
- the new value for the feature.public void dynamicUnset(int dynamicFeatureID)
EStructuralFeature.Internal.DynamicValueHolder
dynamicUnset
in interface EStructuralFeature.Internal.DynamicValueHolder
dynamicFeatureID
- the feature's index in the cached dynamic values.