org.eclipse.emf.ecore.impl
Class DynamicEObjectImpl.BasicEMapEntry
java.lang.Object
org.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.ecore.impl.BasicEObjectImpl
org.eclipse.emf.ecore.impl.EObjectImpl
org.eclipse.emf.ecore.impl.DynamicEObjectImpl
org.eclipse.emf.ecore.impl.DynamicEObjectImpl.BasicEMapEntry
- All Implemented Interfaces:
- BasicEMap.Entry, EObject, EStructuralFeature.Internal.DynamicValueHolder, InternalEObject, Map.Entry, Notifier
- Enclosing class:
- DynamicEObjectImpl
- public static final class DynamicEObjectImpl.BasicEMapEntry
- extends DynamicEObjectImpl
- implements BasicEMap.Entry
Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl |
eAdapters, eBasicAdapters, eBasicProperties, eBasicSetContainer, eContainerFeatureID, eDeliver, eInternalContainer, eIsProxy, eSetDeliver, eSetProxyURI, eStaticClass |
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl |
eAddVirtualValue, eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInverseRemove, eDynamicIsSet, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eGet, eInternalResource, eInverseAdd, eInverseAdd, eInverseRemove, eInverseRemove, 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 |
Methods inherited from interface org.eclipse.emf.ecore.EObject |
eAllContents, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsSet, eResource, eSet, eUnset |
Methods inherited from interface org.eclipse.emf.common.notify.Notifier |
eNotify |
hash
protected int hash
keyFeature
protected EStructuralFeature keyFeature
valueFeature
protected EStructuralFeature valueFeature
DynamicEObjectImpl.BasicEMapEntry
public DynamicEObjectImpl.BasicEMapEntry()
- Creates a dynamic EObject.
DynamicEObjectImpl.BasicEMapEntry
public DynamicEObjectImpl.BasicEMapEntry(EClass eClass)
- Creates a dynamic EObject.
getKey
public Object getKey()
- Specified by:
getKey
in interface Map.Entry
setKey
public void setKey(Object key)
- Description copied from interface:
BasicEMap.Entry
- Sets the key.
This should only be called by the map implementation,
since the key of an entry already in the map must be immutable.
- Specified by:
setKey
in interface BasicEMap.Entry
- Parameters:
key
- the key.
getHash
public int getHash()
- Description copied from interface:
BasicEMap.Entry
- Returns the hash code of the key.
Only the map implementation would really care.
- Specified by:
getHash
in interface BasicEMap.Entry
setHash
public void setHash(int hash)
- Description copied from interface:
BasicEMap.Entry
- Sets the hash code of the key.
This should only be called by the map implementation,
since the hash code of the key of an entry already in the map must be immutable.
- Specified by:
setHash
in interface BasicEMap.Entry
- Parameters:
hash
- the hash.
getValue
public Object getValue()
- Specified by:
getValue
in interface Map.Entry
setValue
public Object setValue(Object value)
- Specified by:
setValue
in interface Map.Entry
eSetClass
public void eSetClass(EClass eClass)
- Description copied from interface:
InternalEObject
- Sets the meta class.
An object with a set meta class is, by definition, a dynamic instance;
it will support dynamic
settings
.
an.
- Specified by:
eSetClass
in interface InternalEObject
- Overrides:
eSetClass
in class DynamicEObjectImpl