org.eclipse.emf.ecore.impl
Class EObjectImpl.EPropertiesHolderImpl

java.lang.Object
  |
  +--org.eclipse.emf.ecore.impl.EObjectImpl.EPropertiesHolderImpl
All Implemented Interfaces:
EObjectImpl.EPropertiesHolder, EStructuralFeature.Internal.DynamicValueHolder
Enclosing class:
EObjectImpl

protected static class EObjectImpl.EPropertiesHolderImpl
extends java.lang.Object
implements EObjectImpl.EPropertiesHolder

An internal class for holding less frequently members variables.


Field Summary
protected  EClass eClass
           
protected  EList eContents
           
protected  EList eCrossReferences
           
protected  URI eProxyURI
           
protected  Resource.Internal eResource
           
protected  java.lang.Object[] eSettings
           
 
Fields inherited from interface org.eclipse.emf.ecore.EStructuralFeature.Internal.DynamicValueHolder
NIL
 
Constructor Summary
protected EObjectImpl.EPropertiesHolderImpl()
           
 
Method Summary
 void allocateSettings(int maximumDynamicFeatureID)
           
 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 getEContents()
           
 EList getECrossReferences()
           
 URI getEProxyURI()
           
 Resource.Internal getEResource()
           
 boolean hasSettings()
           
 void setEClass(EClass eClass)
           
 void setEContents(EList eContents)
           
 void setECrossReferences(EList 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

eProxyURI

protected URI eProxyURI

eResource

protected Resource.Internal eResource

eContents

protected EList eContents

eCrossReferences

protected EList eCrossReferences

eSettings

protected java.lang.Object[] eSettings
Constructor Detail

EObjectImpl.EPropertiesHolderImpl

protected EObjectImpl.EPropertiesHolderImpl()
Method Detail

getEClass

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

setEClass

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

getEProxyURI

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

setEProxyURI

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

getEResource

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

setEResource

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

getEContents

public EList getEContents()
Specified by:
getEContents in interface EObjectImpl.EPropertiesHolder

setEContents

public void setEContents(EList eContents)
Specified by:
setEContents in interface EObjectImpl.EPropertiesHolder

getECrossReferences

public EList getECrossReferences()
Specified by:
getECrossReferences in interface EObjectImpl.EPropertiesHolder

setECrossReferences

public void setECrossReferences(EList eCrossReferences)
Specified by:
setECrossReferences in interface EObjectImpl.EPropertiesHolder

hasSettings

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

allocateSettings

public void allocateSettings(int maximumDynamicFeatureID)
Specified by:
allocateSettings in interface EObjectImpl.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
Following copied from interface: org.eclipse.emf.ecore.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
Following copied from interface: org.eclipse.emf.ecore.EStructuralFeature.Internal.DynamicValueHolder
Parameters:
dynamicFeatureID - the feature's index in the cached dynamic values.
newValue - 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
Following copied from interface: org.eclipse.emf.ecore.EStructuralFeature.Internal.DynamicValueHolder
Parameters:
dynamicFeatureID - the feature's index in the cached dynamic values.

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