org.eclipse.emf.ecore.impl
Class EAnnotationImpl

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.EModelElementImpl
                  extended byorg.eclipse.emf.ecore.impl.EAnnotationImpl
All Implemented Interfaces:
EAnnotation, EModelElement, EObject, InternalEObject, Notifier

public class EAnnotationImpl
extends EModelElementImpl
implements EAnnotation

An implementation of the model object 'EAnnotation'.

The following features are implemented:


Nested Class Summary
 
Nested classes inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
BasicEObjectImpl.EPropertiesHolder, 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  EList contents
          The cached value of the 'Contents' containment reference list
protected  EMap details
          The cached value of the 'Details' map
protected  EList references
          The cached value of the 'References' reference list
protected  String source
          The cached value of the 'Source' attribute
protected static String SOURCE_EDEFAULT
          The default value of the 'Source' attribute
 
Fields inherited from class org.eclipse.emf.ecore.impl.EModelElementImpl
eAnnotations, EFROZEN, ELAST_EMODEL_ELEMENT_FLAG
 
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 interface org.eclipse.emf.ecore.InternalEObject
EOPPOSITE_FEATURE_BASE
 
Constructor Summary
protected EAnnotationImpl()
           
 
Method Summary
 NotificationChain eBasicRemoveFromContainer(NotificationChain msgs)
           
 Object eGet(EStructuralFeature eFeature, boolean resolve)
           
 NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, Class baseClass, NotificationChain msgs)
           
 NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, Class baseClass, NotificationChain msgs)
           
 boolean eIsSet(EStructuralFeature eFeature)
           
 void eSet(EStructuralFeature eFeature, Object newValue)
           
protected  EClass eStaticClass()
           
 void eUnset(EStructuralFeature eFeature)
           
 EList getContents()
           
 EMap getDetails()
           
 EModelElement getEModelElement()
           
 EList getReferences()
           
 String getSource()
           
 void setEModelElement(EModelElement newEModelElement)
           
 void setSource(String newSource)
           
 String toString()
           
 
Methods inherited from class org.eclipse.emf.ecore.impl.EModelElementImpl
eObjectForURIFragmentSegment, eURIFragmentSegment, freeze, getEAnnotation, getEAnnotations, isFrozen
 
Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eAdapters, eBasicAdapters, eBasicProperties, eBasicSetContainer, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eIsProxy, eProperties, eSetClass, eSetDeliver, eSetProxyURI
 
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAllContents, eBaseStructuralFeatureID, eBasicSetContainer, eContainer, eContainingFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicClass, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicIsSet, eDynamicSet, eDynamicUnset, eGet, eHasSettings, eInternalResource, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eResolveProxy, eResource, eSetResource, eSetStore, eSetting, eSettingDelegate, eSettings, eStaticFeatureCount, eStore
 
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 org.eclipse.emf.ecore.EModelElement
getEAnnotation, getEAnnotations
 
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eIsProxy, eResource
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 
Methods inherited from interface org.eclipse.emf.ecore.InternalEObject
eNotificationRequired
 

Field Detail

SOURCE_EDEFAULT

protected static final String SOURCE_EDEFAULT
The default value of the 'Source' attribute.

See Also:
getSource()

source

protected String source
The cached value of the 'Source' attribute.

See Also:
getSource()

details

protected EMap details
The cached value of the 'Details' map.

See Also:
getDetails()

contents

protected EList contents
The cached value of the 'Contents' containment reference list.

See Also:
getContents()

references

protected EList references
The cached value of the 'References' reference list.

See Also:
getReferences()
Constructor Detail

EAnnotationImpl

protected EAnnotationImpl()

Method Detail

eStaticClass

protected EClass eStaticClass()

Overrides:
eStaticClass in class EModelElementImpl

getSource

public String getSource()

Specified by:
getSource in interface EAnnotation
Returns:
the value of the 'Source' attribute.
See Also:
EModelElement.getEAnnotation(String), EAnnotation.setSource(String), EcorePackage.getEAnnotation_Source()

setSource

public void setSource(String newSource)

Specified by:
setSource in interface EAnnotation
Parameters:
newSource - the new value of the 'Source' attribute.
See Also:
EAnnotation.getSource()

getDetails

public EMap getDetails()

Specified by:
getDetails in interface EAnnotation
Returns:
the value of the 'Details' map.
See Also:
EcorePackage.getEAnnotation_Details()

getEModelElement

public EModelElement getEModelElement()

Specified by:
getEModelElement in interface EAnnotation
Returns:
the value of the 'EModel Element' container reference.
See Also:
EAnnotation.setEModelElement(EModelElement), EcorePackage.getEAnnotation_EModelElement(), EModelElement.getEAnnotations()

setEModelElement

public void setEModelElement(EModelElement newEModelElement)

Specified by:
setEModelElement in interface EAnnotation
Parameters:
newEModelElement - the new value of the 'EModel Element' container reference.
See Also:
EAnnotation.getEModelElement()

getContents

public EList getContents()

Specified by:
getContents in interface EAnnotation
Returns:
the value of the 'Contents' containment reference list.
See Also:
EcorePackage.getEAnnotation_Contents()

getReferences

public EList getReferences()

Specified by:
getReferences in interface EAnnotation
Returns:
the value of the 'References' reference list.
See Also:
EcorePackage.getEAnnotation_References()

eInverseAdd

public NotificationChain eInverseAdd(InternalEObject otherEnd,
                                     int featureID,
                                     Class baseClass,
                                     NotificationChain msgs)

Specified by:
eInverseAdd in interface InternalEObject
Overrides:
eInverseAdd in class EModelElementImpl

eInverseRemove

public NotificationChain eInverseRemove(InternalEObject otherEnd,
                                        int featureID,
                                        Class baseClass,
                                        NotificationChain msgs)

Specified by:
eInverseRemove in interface InternalEObject
Overrides:
eInverseRemove in class EModelElementImpl

eBasicRemoveFromContainer

public NotificationChain eBasicRemoveFromContainer(NotificationChain msgs)

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

eGet

public Object eGet(EStructuralFeature eFeature,
                   boolean resolve)

Specified by:
eGet in interface EObject
Overrides:
eGet in class EModelElementImpl

eSet

public void eSet(EStructuralFeature eFeature,
                 Object newValue)

Specified by:
eSet in interface EObject
Overrides:
eSet in class EModelElementImpl

eUnset

public void eUnset(EStructuralFeature eFeature)

Specified by:
eUnset in interface EObject
Overrides:
eUnset in class EModelElementImpl

eIsSet

public boolean eIsSet(EStructuralFeature eFeature)

Specified by:
eIsSet in interface EObject
Overrides:
eIsSet in class EModelElementImpl

toString

public String toString()

Overrides:
toString in class BasicEObjectImpl

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