org.eclipse.emf.ecore.impl
Class BasicEObjectImpl.EPropertiesHolderBaseImpl

java.lang.Object
  extended by org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderBaseImpl
All Implemented Interfaces:
EStructuralFeature.Internal.DynamicValueHolder, BasicEObjectImpl.EPropertiesHolder
Direct Known Subclasses:
BasicEObjectImpl.EPropertiesHolderImpl, EStringToStringMapEntryImpl.EStringToStringMapEntryPropertiesHolderImpl
Enclosing class:
BasicEObjectImpl

protected static class BasicEObjectImpl.EPropertiesHolderBaseImpl
extends java.lang.Object
implements BasicEObjectImpl.EPropertiesHolder

An internal class for holding the least frequently members variables.


Field Summary
protected  EClass eClass
           
protected  Resource.Internal eResource
           
protected  java.lang.Object[] eSettings
           
protected static java.lang.Object[] NO_SETTINGS
           
 
Fields inherited from interface org.eclipse.emf.ecore.EStructuralFeature.Internal.DynamicValueHolder
NIL
 
Constructor Summary
protected BasicEObjectImpl.EPropertiesHolderBaseImpl()
           
 
Method Summary
 void allocateSettings(int dynamicFeatureCount)
           
 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 getEClass()
           
 EList<EObject> getEContents()
           
 EList<EObject> getECrossReferences()
           
 URI getEProxyURI()
           
 Resource.Internal getEResource()
           
 boolean hasSettings()
           
 void setEClass(EClass eClass)
           
 void setEContents(EList<EObject> eContents)
           
 void setECrossReferences(EList<EObject> eCrossReferences)
           
 void setEProxyURI(URI eProxyURI)
           
 void setEResource(Resource.Internal eResource)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

eClass

protected EClass eClass

eResource

protected Resource.Internal eResource

eSettings

protected java.lang.Object[] eSettings

NO_SETTINGS

protected static final java.lang.Object[] NO_SETTINGS
Constructor Detail

BasicEObjectImpl.EPropertiesHolderBaseImpl

protected BasicEObjectImpl.EPropertiesHolderBaseImpl()
Method Detail

getEClass

public EClass getEClass()
Specified by:
getEClass in interface BasicEObjectImpl.EPropertiesHolder

setEClass

public void setEClass(EClass eClass)
Specified by:
setEClass in interface BasicEObjectImpl.EPropertiesHolder

getEProxyURI

public URI getEProxyURI()
Specified by:
getEProxyURI in interface BasicEObjectImpl.EPropertiesHolder

setEProxyURI

public void setEProxyURI(URI eProxyURI)
Specified by:
setEProxyURI in interface BasicEObjectImpl.EPropertiesHolder

getEResource

public Resource.Internal getEResource()
Specified by:
getEResource in interface BasicEObjectImpl.EPropertiesHolder

setEResource

public void setEResource(Resource.Internal eResource)
Specified by:
setEResource in interface BasicEObjectImpl.EPropertiesHolder

getEContents

public EList<EObject> getEContents()
Specified by:
getEContents in interface BasicEObjectImpl.EPropertiesHolder

setEContents

public void setEContents(EList<EObject> eContents)
Specified by:
setEContents in interface BasicEObjectImpl.EPropertiesHolder

getECrossReferences

public EList<EObject> getECrossReferences()
Specified by:
getECrossReferences in interface BasicEObjectImpl.EPropertiesHolder

setECrossReferences

public void setECrossReferences(EList<EObject> eCrossReferences)
Specified by:
setECrossReferences in interface BasicEObjectImpl.EPropertiesHolder

hasSettings

public boolean hasSettings()
Specified by:
hasSettings in interface BasicEObjectImpl.EPropertiesHolder

allocateSettings

public void allocateSettings(int dynamicFeatureCount)
Specified by:
allocateSettings in interface BasicEObjectImpl.EPropertiesHolder

dynamicGet

public java.lang.Object dynamicGet(int dynamicFeatureID)
Description copied from interface: EStructuralFeature.Internal.DynamicValueHolder
Returns the value of the feature.

Specified by:
dynamicGet in interface EStructuralFeature.Internal.DynamicValueHolder
Parameters:
dynamicFeatureID - the feature's index in the cached dynamic values.
Returns:
the value of the feature.

dynamicSet

public void dynamicSet(int dynamicFeatureID,
                       java.lang.Object value)
Description copied from interface: EStructuralFeature.Internal.DynamicValueHolder
Sets the value of the feature to the new value.

Specified by:
dynamicSet in interface EStructuralFeature.Internal.DynamicValueHolder
Parameters:
dynamicFeatureID - the feature's index in the cached dynamic values.
value - the new value for the feature.

dynamicUnset

public void dynamicUnset(int dynamicFeatureID)
Description copied from interface: EStructuralFeature.Internal.DynamicValueHolder
Unsets the value of the feature.

Specified by:
dynamicUnset in interface EStructuralFeature.Internal.DynamicValueHolder
Parameters:
dynamicFeatureID - the feature's index in the cached dynamic values.

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