org.eclipse.emf.ecore.impl
Class EStringToStringMapEntryImpl
java.lang.Object
|
+--org.eclipse.emf.common.notify.impl.NotifierImpl
|
+--org.eclipse.emf.ecore.impl.EObjectImpl
|
+--org.eclipse.emf.ecore.impl.EStringToStringMapEntryImpl
- All Implemented Interfaces:
- BasicEMap.Entry, EObject, InternalEObject, java.util.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:
Field Summary |
protected int |
hash
|
protected java.lang.String |
key
The cached value of the 'Key ' attribute. |
protected static java.lang.String |
KEY_EDEFAULT
The default value of the 'Key ' attribute. |
protected java.lang.String |
value
The cached value of the 'Value ' attribute. |
protected static java.lang.String |
VALUE_EDEFAULT
The default value of the 'Value ' attribute. |
Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl |
eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicSetContainer, eClass, eContainer, eContainerFeatureID, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicGet, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicIsSet, eDynamicSet, eDynamicUnset, eGet, eInternalResource, eInverseAdd, eInverseRemove, eIsProxy, eObjectForURIFragmentSegment, eProperties, eProxyURI, eResource, eSetClass, eSetProxyURI, eSetResource, eSetting, eSettingIndex, eSettings, eURIFragmentSegment |
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 |
KEY_EDEFAULT
protected static final java.lang.String KEY_EDEFAULT
- The default value of the '
Key
' attribute.
- See Also:
getTypedKey()
key
protected java.lang.String key
- The cached value of the '
Key
' attribute.
- See Also:
getTypedKey()
VALUE_EDEFAULT
protected static final java.lang.String VALUE_EDEFAULT
- The default value of the '
Value
' attribute.
- See Also:
getTypedValue()
value
protected java.lang.String value
- The cached value of the '
Value
' attribute.
- See Also:
getTypedValue()
hash
protected int hash
-
EStringToStringMapEntryImpl
protected EStringToStringMapEntryImpl()
-
eStaticClass
protected EClass eStaticClass()
-
- Overrides:
eStaticClass
in class EObjectImpl
getTypedKey
public java.lang.String getTypedKey()
-
setTypedKey
public void setTypedKey(java.lang.String newKey)
-
getTypedValue
public java.lang.String getTypedValue()
-
setTypedValue
public void setTypedValue(java.lang.String newValue)
-
eGet
public java.lang.Object eGet(EStructuralFeature eFeature,
boolean resolve)
-
- Overrides:
eGet
in class EObjectImpl
- Following copied from interface:
org.eclipse.emf.ecore.EObject
- Parameters:
feature
- the feature of the value to fetch.resolve
- whether to resolve.- Returns:
- the value of the given feature of the object.
- Throws:
java.lang.IllegalArgumentException
- if the feature is not one the meta class
's
features
.- See Also:
InternalEList.basicIterator()
,
InternalEList.basicList()
,
EcoreUtil.resolve(EObject, ResourceSet)
,
EObject.eSet(EStructuralFeature, Object)
,
EObject.eUnset(EStructuralFeature)
,
EObject.eIsSet(EStructuralFeature)
,
EObject.eGet(EStructuralFeature)
eSet
public void eSet(EStructuralFeature eFeature,
java.lang.Object newValue)
-
- Overrides:
eSet
in class EObjectImpl
- Following copied from interface:
org.eclipse.emf.ecore.EObject
- Parameters:
feature
- the feature of the value to set.- Throws:
java.lang.IllegalArgumentException
- if the feature is not one the meta class
's
features
,
or it isn't changeable
.ClassCastException
- if there is a type conflict.ArrayStoreException
- if there is a type conflect.- See Also:
EObject.eUnset(EStructuralFeature)
,
EObject.eIsSet(EStructuralFeature)
,
EObject.eGet(EStructuralFeature, boolean)
eUnset
public void eUnset(EStructuralFeature eFeature)
-
- Overrides:
eUnset
in class EObjectImpl
- Following copied from interface:
org.eclipse.emf.ecore.EObject
- Parameters:
feature
- the feature in question.- Throws:
java.lang.IllegalArgumentException
- if the feature is not one the meta class
's
features
,
or it isn't changeable
.- See Also:
EObject.eIsSet(EStructuralFeature)
,
EObject.eSet(EStructuralFeature, Object)
,
EObject.eGet(EStructuralFeature, boolean)
eIsSet
public boolean eIsSet(EStructuralFeature eFeature)
-
- Overrides:
eIsSet
in class EObjectImpl
- Following copied from interface:
org.eclipse.emf.ecore.EObject
- Parameters:
feature
- the feature in question.- Returns:
- whether the feature of the object is set.
- Throws:
java.lang.IllegalArgumentException
- if the feature is not one the meta class
's
features
.- See Also:
EObject.eSet(EStructuralFeature, Object)
,
EObject.eUnset(EStructuralFeature)
,
EObject.eGet(EStructuralFeature, boolean)
toString
public java.lang.String toString()
-
- Overrides:
toString
in class EObjectImpl
getHash
public int getHash()
-
- Specified by:
getHash
in interface BasicEMap.Entry
setHash
public void setHash(int hash)
-
- Specified by:
setHash
in interface BasicEMap.Entry
- Following copied from interface:
org.eclipse.emf.common.util.BasicEMap.Entry
- Parameters:
hash
- the hash.
getKey
public java.lang.Object getKey()
-
- Specified by:
getKey
in interface java.util.Map.Entry
setKey
public void setKey(java.lang.Object key)
-
- Specified by:
setKey
in interface BasicEMap.Entry
- Following copied from interface:
org.eclipse.emf.common.util.BasicEMap.Entry
- Parameters:
key
- the key.
getValue
public java.lang.Object getValue()
-
- Specified by:
getValue
in interface java.util.Map.Entry
setValue
public java.lang.Object setValue(java.lang.Object value)
-
- Specified by:
setValue
in interface java.util.Map.Entry
getEMap
public EMap getEMap()
-