org.eclipse.emf.ecore
Interface EStructuralFeature.Internal.DynamicValueHolder

All Known Subinterfaces:
BasicEObjectImpl.EPropertiesHolder
All Known Implementing Classes:
BasicEObjectImpl.EPropertiesHolderBaseImpl, DynamicEObjectImpl, DynamicEObjectImpl.DynamicEPropertiesHolderImpl, EStoreEObjectImpl, EStoreEObjectImpl.EStoreEPropertiesHolderImpl
Enclosing interface:
EStructuralFeature.Internal

public static interface EStructuralFeature.Internal.DynamicValueHolder

An API for the backing store that holds dynamic values.


Field Summary
static Object NIL
          An object use to represent being set to null null as opposed to having no value and hence being in the default state.
 
Method Summary
 Object dynamicGet(int dynamicFeatureID)
          Returns the value of the feature.
 void dynamicSet(int dynamicFeatureID, Object newValue)
          Sets the value of the feature to the new value.
 void dynamicUnset(int dynamicFeatureID)
          Unsets the value of the feature.
 

Field Detail

NIL

public static final Object NIL
An object use to represent being set to null null as opposed to having no value and hence being in the default state.

Method Detail

dynamicGet

public Object dynamicGet(int dynamicFeatureID)
Returns the value of the feature.

Parameters:
dynamicFeatureID - the feature's index in the cached dynamic values.
Returns:
the value of the feature.

dynamicSet

public void dynamicSet(int dynamicFeatureID,
                       Object newValue)
Sets the value of the feature to the new value.

Parameters:
dynamicFeatureID - the feature's index in the cached dynamic values.
newValue - the new value for the feature.

dynamicUnset

public void dynamicUnset(int dynamicFeatureID)
Unsets the value of the feature.

Parameters:
dynamicFeatureID - the feature's index in the cached dynamic values.

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