org.eclipse.emf.ecore.impl
Class EStringToStringMapEntryImpl

java.lang.Object
  extended byorg.eclipse.emf.common.notify.impl.BasicNotifierImpl
      extended byorg.eclipse.emf.ecore.impl.BasicEObjectImpl
          extended byorg.eclipse.emf.ecore.impl.EObjectImpl
              extended byorg.eclipse.emf.ecore.impl.EStringToStringMapEntryImpl
All Implemented Interfaces:
BasicEMap.Entry, EObject, InternalEObject, Map.Entry, Notifier

public class EStringToStringMapEntryImpl
extends EObjectImpl
implements BasicEMap.Entry

An implementation of the model object 'EString To String Map Entry'.

The following features are implemented:


Nested Class Summary
protected static class EStringToStringMapEntryImpl.EStringToStringMapEntryPropertiesHolderImpl
           
 
Nested classes inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
BasicEObjectImpl.EPropertiesHolder, BasicEObjectImpl.EPropertiesHolderBaseImpl, BasicEObjectImpl.EPropertiesHolderImpl
 
Nested classes inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
BasicNotifierImpl.EAdapterList
 
Nested classes inherited from class org.eclipse.emf.ecore.InternalEObject
InternalEObject.EStore
 
Field Summary
protected  URI eProxyURI
           
protected  int hash
           
protected  String key
          The cached value of the 'Key' attribute
protected static String KEY_EDEFAULT
          The default value of the 'Key' attribute
protected  String value
          The cached value of the 'Value' attribute
protected static String VALUE_EDEFAULT
          The default value of the 'Value' attribute
 
Fields inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eAdapters, eContainer, eContainerFeatureID, EDELIVER, EDYNAMIC_CLASS, eFlags, ELAST_EOBJECT_FLAG, ELAST_NOTIFIER_FLAG, eProperties, EPROXY
 
Fields inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
EVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSET
 
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject
EOPPOSITE_FEATURE_BASE
 
Constructor Summary
protected EStringToStringMapEntryImpl()
           
 
Method Summary
 EList eContents()
           Returns a list view of the content objects; it is unmodifiable.
 EList eCrossReferences()
           Returns a list view of the cross referenced objects; it is unmodifiable.
 Object eGet(int featureID, boolean resolve, boolean coreType)
           
 boolean eIsProxy()
           Indicates whether this object is a proxy.
 boolean eIsSet(int featureID)
           
protected  BasicEObjectImpl.EPropertiesHolder eProperties()
           
 URI eProxyURI()
          Returns the proxy URI of this object.
 void eSet(int featureID, Object newValue)
           
 void eSetProxyURI(URI uri)
          Set the proxy URI of this object.
protected  EClass eStaticClass()
           
 void eUnset(int featureID)
           
 EMap getEMap()
           
 int getHash()
           
 Object getKey()
           
 String getTypedKey()
           
 String getTypedValue()
           
 Object getValue()
           
 void setHash(int hash)
           
 void setKey(Object key)
           
 void setTypedKey(String newKey)
           
 void setTypedValue(String newValue)
           
 Object setValue(Object value)
           
 String toString()
           
 
Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eAdapters, eBasicAdapters, eBasicProperties, eBasicSetContainer, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eSetClass, eSetDeliver
 
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAddVirtualValue, eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicClass, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInverseRemove, eDynamicIsSet, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eHasSettings, eInternalResource, eInverseAdd, eInverseAdd, eInverseRemove, eInverseRemove, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetDirectResource, eSetResource, eSetStore, eSetting, eSettingDelegate, eSettings, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticFeatureCount, eStore, eUnset, eURIFragmentSegment, eVirtualBitCount, eVirtualGet, eVirtualGet, eVirtualIndex, eVirtualIndexBits, eVirtualIsSet, eVirtualSet, eVirtualUnset, eVirtualValue, eVirtualValues
 
Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
eNotificationRequired, eNotify
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Map.Entry
equals, hashCode
 
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eContainer, eContainingFeature, eContainmentFeature, eGet, eGet, eIsSet, eResource, eSet, eUnset
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eNotify
 
Methods inherited from interface org.eclipse.emf.ecore.InternalEObject
eNotificationRequired
 

Field Detail

KEY_EDEFAULT

protected static final String KEY_EDEFAULT
The default value of the 'Key' attribute.

See Also:
getTypedKey()

key

protected String key
The cached value of the 'Key' attribute.

See Also:
getTypedKey()

VALUE_EDEFAULT

protected static final String VALUE_EDEFAULT
The default value of the 'Value' attribute.

See Also:
getTypedValue()

value

protected String value
The cached value of the 'Value' attribute.

See Also:
getTypedValue()

eProxyURI

protected URI eProxyURI

hash

protected int hash

Constructor Detail

EStringToStringMapEntryImpl

protected EStringToStringMapEntryImpl()

Method Detail

eStaticClass

protected EClass eStaticClass()

Overrides:
eStaticClass in class EObjectImpl

eProperties

protected BasicEObjectImpl.EPropertiesHolder eProperties()
Overrides:
eProperties in class EObjectImpl

eIsProxy

public boolean eIsProxy()
Description copied from interface: EObject
Indicates whether this object is a proxy.

A proxy is an object that is defined in a Resource that has not been loaded. An object may be a proxy either because proxy resolution was disabled when the object was accessed (see EObject.eGet(EStructuralFeature,boolean)) or because proxy resolution failed.

Specified by:
eIsProxy in interface EObject
Overrides:
eIsProxy in class EObjectImpl

eProxyURI

public URI eProxyURI()
Description copied from interface: InternalEObject
Returns the proxy URI of this object. It can be used to resolve to the actual object.

Specified by:
eProxyURI in interface InternalEObject
Overrides:
eProxyURI in class BasicEObjectImpl

eSetProxyURI

public void eSetProxyURI(URI uri)
Description copied from interface: InternalEObject
Set the proxy URI of this object. It will be used to resolve to the actual object.

Specified by:
eSetProxyURI in interface InternalEObject
Overrides:
eSetProxyURI in class EObjectImpl

eContents

public EList eContents()
Description copied from interface: EObject
Returns a list view of the content objects; it is unmodifiable.

This will be the list of EObjects determined by the contents of the containment features of this object's meta class. Objects can, indirectly, be removed and will change to reflect container changes. The implicit tree of contents is also directly available.

Specified by:
eContents in interface EObject
Overrides:
eContents in class BasicEObjectImpl

eCrossReferences

public EList eCrossReferences()
Description copied from interface: EObject
Returns a list view of the cross referenced objects; it is unmodifiable.

This will be the list of EObjects determined by the contents of the reference features of this object's meta class, excluding containment features and their opposites. The cross reference list's iterator will be of type EContentsEList.FeatureIterator, for efficient determination of the feature of each cross reference in the list, e.g.,

  for (EContentEList.FeatureIterator featureIterator = 
        (EContentEList.FeatureIterator)eObject.eCrossReferences().iterator();
       featureIterator.hasNext(); )
  {
    EObject eObject = (EObject)featureIterator.next();
    EReference eReference = (EReference)featureIterator.feature();
    ...
  }

Specified by:
eCrossReferences in interface EObject
Overrides:
eCrossReferences in class BasicEObjectImpl

getTypedKey

public String getTypedKey()


setTypedKey

public void setTypedKey(String newKey)


getTypedValue

public String getTypedValue()


setTypedValue

public void setTypedValue(String newValue)


eGet

public Object eGet(int featureID,
                   boolean resolve,
                   boolean coreType)

Specified by:
eGet in interface InternalEObject
Overrides:
eGet in class BasicEObjectImpl

eSet

public void eSet(int featureID,
                 Object newValue)

Specified by:
eSet in interface InternalEObject
Overrides:
eSet in class BasicEObjectImpl

eUnset

public void eUnset(int featureID)

Specified by:
eUnset in interface InternalEObject
Overrides:
eUnset in class BasicEObjectImpl

eIsSet

public boolean eIsSet(int featureID)

Specified by:
eIsSet in interface InternalEObject
Overrides:
eIsSet in class BasicEObjectImpl

toString

public String toString()

Overrides:
toString in class BasicEObjectImpl

getHash

public int getHash()

Specified by:
getHash in interface BasicEMap.Entry

setHash

public void setHash(int hash)

Specified by:
setHash in interface BasicEMap.Entry
Parameters:
hash - the hash.

getKey

public Object getKey()

Specified by:
getKey in interface Map.Entry

setKey

public void setKey(Object key)

Specified by:
setKey in interface BasicEMap.Entry
Parameters:
key - the key.

getValue

public Object getValue()

Specified by:
getValue in interface Map.Entry

setValue

public Object setValue(Object value)

Specified by:
setValue in interface Map.Entry

getEMap

public EMap getEMap()


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