|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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.EStringToStringMapEntryImpl
public class EStringToStringMapEntryImpl
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/interfaces inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl |
---|
BasicEObjectImpl.EPropertiesHolder, BasicEObjectImpl.EPropertiesHolderBaseImpl, BasicEObjectImpl.EPropertiesHolderImpl |
Nested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl |
---|
BasicNotifierImpl.EAdapterList<E extends java.lang.Object & Adapter> |
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject |
---|
InternalEObject.EStore |
Field Summary | |
---|---|
protected URI |
eProxyURI
|
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 |
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<EObject> |
eContents()
Returns a list view of the content objects; it is unmodifiable. |
EList<EObject> |
eCrossReferences()
Returns a list view of the cross referenced objects; it is unmodifiable. |
java.lang.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,
java.lang.Object newValue)
|
void |
eSetProxyURI(URI uri)
Set the proxy URI of this object. |
protected EClass |
eStaticClass()
|
void |
eUnset(int featureID)
|
EMap<java.lang.String,java.lang.String> |
getEMap()
|
int |
getHash()
|
java.lang.String |
getKey()
|
java.lang.String |
getTypedKey()
|
java.lang.String |
getTypedValue()
|
java.lang.String |
getValue()
|
void |
setHash(int hash)
|
void |
setKey(java.lang.String key)
|
void |
setTypedKey(java.lang.String newKey)
|
void |
setTypedKeyGen(java.lang.String newKey)
|
void |
setTypedValue(java.lang.String newValue)
|
java.lang.String |
setValue(java.lang.String value)
|
java.lang.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.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 |
---|
protected static final java.lang.String KEY_EDEFAULT
Key
' attribute.
getTypedKey()
protected java.lang.String key
Key
' attribute.
getTypedKey()
protected static final java.lang.String VALUE_EDEFAULT
Value
' attribute.
getTypedValue()
protected java.lang.String value
Value
' attribute.
getTypedValue()
protected URI eProxyURI
protected int hash
Constructor Detail |
---|
protected EStringToStringMapEntryImpl()
Method Detail |
---|
protected EClass eStaticClass()
eStaticClass
in class EObjectImpl
protected BasicEObjectImpl.EPropertiesHolder eProperties()
eProperties
in class EObjectImpl
public boolean eIsProxy()
EObject
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.
eIsProxy
in interface EObject
eIsProxy
in class EObjectImpl
true
if this object is a proxy or false
, otherwise.Resource.unload()
,
EcoreUtil.resolve(EObject, org.eclipse.emf.ecore.resource.ResourceSet)
public URI eProxyURI()
InternalEObject
resolve
to the actual object.
eProxyURI
in interface InternalEObject
eProxyURI
in class BasicEObjectImpl
EcoreUtil.resolve(EObject, org.eclipse.emf.ecore.resource.ResourceSet)
,
Resource.unload()
public void eSetProxyURI(URI uri)
InternalEObject
resolve
to the actual object.
eSetProxyURI
in interface InternalEObject
eSetProxyURI
in class EObjectImpl
uri
- the URI.EcoreUtil.resolve(EObject, org.eclipse.emf.ecore.resource.ResourceSet)
,
Resource.unload()
public EList<EObject> eContents()
EObject
This will be the list of EObject
s 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.
eContents
in interface EObject
eContents
in class BasicEObjectImpl
EObject.eContainer()
,
EClass.getEAllContainments()
,
EObject.eGet(EStructuralFeature)
,
EcoreUtil.remove(EObject)
,
EObject.eAllContents()
public EList<EObject> eCrossReferences()
EObject
This will be the list of EObject
s 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(); ... }
eCrossReferences
in interface EObject
eCrossReferences
in class BasicEObjectImpl
EObject.eContents()
,
EClass.getEAllReferences()
,
EClass.getEAllContainments()
,
EObject.eGet(EStructuralFeature)
,
EcoreUtil.CrossReferencer
public java.lang.String getTypedKey()
public void setTypedKeyGen(java.lang.String newKey)
public void setTypedKey(java.lang.String newKey)
public java.lang.String getTypedValue()
public void setTypedValue(java.lang.String newValue)
public java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
eGet
in interface InternalEObject
eGet
in class BasicEObjectImpl
InternalEObject.eGet(EStructuralFeature, boolean, boolean)
public void eSet(int featureID, java.lang.Object newValue)
eSet
in interface InternalEObject
eSet
in class BasicEObjectImpl
EObject.eSet(EStructuralFeature, Object)
public void eUnset(int featureID)
eUnset
in interface InternalEObject
eUnset
in class BasicEObjectImpl
EObject.eUnset(EStructuralFeature)
public boolean eIsSet(int featureID)
eIsSet
in interface InternalEObject
eIsSet
in class BasicEObjectImpl
EObject.eIsSet(EStructuralFeature)
public java.lang.String toString()
toString
in class BasicEObjectImpl
public int getHash()
getHash
in interface BasicEMap.Entry<java.lang.String,java.lang.String>
public void setHash(int hash)
setHash
in interface BasicEMap.Entry<java.lang.String,java.lang.String>
hash
- the hash.public java.lang.String getKey()
getKey
in interface java.util.Map.Entry<java.lang.String,java.lang.String>
public void setKey(java.lang.String key)
setKey
in interface BasicEMap.Entry<java.lang.String,java.lang.String>
key
- the key.public java.lang.String getValue()
getValue
in interface java.util.Map.Entry<java.lang.String,java.lang.String>
public java.lang.String setValue(java.lang.String value)
setValue
in interface java.util.Map.Entry<java.lang.String,java.lang.String>
public EMap<java.lang.String,java.lang.String> getEMap()
|
Copyright 2001-2006 IBM Corporation and others. All Rights Reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |