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

All Known Subinterfaces:
BasicEObjectImpl.EPropertiesHolder
All Known Implementing Classes:
BasicEObjectImpl.EPropertiesHolderBaseImpl, BasicEObjectImpl.EPropertiesHolderImpl, ChangeFactoryImpl, ChangePackageImpl, DynamicEObjectImpl, DynamicEObjectImpl.BasicEMapEntry, DynamicEObjectImpl.DynamicEPropertiesHolderImpl, DynamicEStoreEObjectImpl, EAnnotationImpl, EAttributeImpl, EClassifierImpl, EClassImpl, Ecore2EcoreFactoryImpl, Ecore2EcorePackageImpl, Ecore2XMLFactoryImpl, Ecore2XMLPackageImpl, EcoreFactoryImpl, EcorePackageImpl, EDataTypeImpl, EEnumImpl, EEnumLiteralImpl, EFactoryImpl, EGenericTypeImpl, EModelElementImpl, ENamedElementImpl, EOperationImpl, EPackageImpl, EParameterImpl, EReferenceImpl, EStoreEObjectImpl, EStoreEObjectImpl.EStoreEPropertiesHolderImpl, EStringToStringMapEntryImpl, EStructuralFeatureImpl, ETypedElementImpl, ETypeParameterImpl, GenModelFactoryImpl, GenModelPackageImpl, MappingFactoryImpl, MappingPackageImpl, MinimalEObjectImpl, MinimalEObjectImpl.Container, MinimalEObjectImpl.Container.Dynamic, MinimalEObjectImpl.Container.Dynamic.BasicEMapEntry, TreeFactoryImpl, TreePackageImpl, XcoreFactoryImpl, XcorePackageImpl, XMLNamespaceFactoryImpl, XMLNamespacePackageImpl, XMLTypeFactoryImpl, XMLTypePackageImpl
Enclosing interface:
EStructuralFeature.Internal

public static interface EStructuralFeature.Internal.DynamicValueHolder

An API for the backing store that holds dynamic values.


Field Summary
static java.lang.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
 java.lang.Object dynamicGet(int dynamicFeatureID)
          Returns the value of the feature.
 void dynamicSet(int dynamicFeatureID, java.lang.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

static final java.lang.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

java.lang.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

void dynamicSet(int dynamicFeatureID,
                java.lang.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

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

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

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