org.eclipse.emf.ecore.xcore.impl
Class XAnnotationImpl

java.lang.Object
  extended by org.eclipse.emf.common.notify.impl.BasicNotifierImpl
      extended by org.eclipse.emf.ecore.impl.BasicEObjectImpl
          extended by org.eclipse.emf.ecore.impl.EObjectImpl
              extended by org.eclipse.emf.ecore.xcore.impl.XModelElementImpl
                  extended by org.eclipse.emf.ecore.xcore.impl.XAnnotationImpl
All Implemented Interfaces:
Notifier, EObject, InternalEObject, XAnnotation, XModelElement

public class XAnnotationImpl
extends XModelElementImpl
implements XAnnotation

An implementation of the model object 'XAnnotation'.

The following features are implemented:


Nested Class Summary
 
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>, BasicNotifierImpl.EObservableAdapterList
 
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject
InternalEObject.EStore
 
Field Summary
protected  EMap<java.lang.String,java.lang.String> details
          The cached value of the 'Details' map
protected  XAnnotationDirective source
          The cached value of the 'Source' reference
 
Fields inherited from class org.eclipse.emf.ecore.xcore.impl.XModelElementImpl
annotations
 
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 XAnnotationImpl()
           
 
Method Summary
 XAnnotationDirective basicGetSource()
           
 NotificationChain basicSetModelElement(XModelElement newModelElement, NotificationChain msgs)
           
 NotificationChain eBasicRemoveFromContainerFeature(NotificationChain msgs)
           
 java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
           
 NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs)
           
 NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
           
 boolean eIsSet(int featureID)
           
 void eSet(int featureID, java.lang.Object newValue)
           
protected  EClass eStaticClass()
           
 void eUnset(int featureID)
           
 EMap<java.lang.String,java.lang.String> getDetails()
           
 XModelElement getModelElement()
           
 XAnnotationDirective getSource()
           
 void setModelElement(XModelElement newModelElement)
           
 void setSource(XAnnotationDirective newSource)
           
 
Methods inherited from class org.eclipse.emf.ecore.xcore.impl.XModelElementImpl
getAnnotation, getAnnotations
 
Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eAdapters, eBasicAdapters, eBasicProperties, eBasicSetContainer, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eInvoke, eIsProxy, eProperties, eSetClass, eSetDeliver, eSetProxyURI
 
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAddVirtualValue, eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainerAdapterArray, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicClass, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInverseRemove, eDynamicInvoke, eDynamicInvoke, eDynamicIsSet, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eHasSettings, eInternalResource, eInverseAdd, eInverseRemove, eInvocationDelegate, eInvoke, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetDirectResource, eSetResource, eSetStore, eSetting, eSettingDelegate, eSettings, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticFeatureCount, eStaticOperationCount, eStore, eUnset, eURIFragmentSegment, eVirtualBitCount, eVirtualGet, eVirtualGet, eVirtualIndex, eVirtualIndexBits, eVirtualIsSet, eVirtualSet, eVirtualUnset, eVirtualValue, eVirtualValues, toString
 
Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
eBasicAdapterArray, eBasicHasAdapters, 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.xcore.XModelElement
getAnnotation, getAnnotations
 
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
 
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

protected XAnnotationDirective source
The cached value of the 'Source' reference.

See Also:
getSource()

details

protected EMap<java.lang.String,java.lang.String> details
The cached value of the 'Details' map.

See Also:
getDetails()
Constructor Detail

XAnnotationImpl

protected XAnnotationImpl()

Method Detail

eStaticClass

protected EClass eStaticClass()

Overrides:
eStaticClass in class XModelElementImpl

getSource

public XAnnotationDirective getSource()

Specified by:
getSource in interface XAnnotation
Returns:
the value of the 'Source' reference.
See Also:
XAnnotation.setSource(XAnnotationDirective), XcorePackage.getXAnnotation_Source()

basicGetSource

public XAnnotationDirective basicGetSource()


setSource

public void setSource(XAnnotationDirective newSource)

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

getDetails

public EMap<java.lang.String,java.lang.String> getDetails()

Specified by:
getDetails in interface XAnnotation
Returns:
the value of the 'Details' map.
See Also:
XcorePackage.getXAnnotation_Details()

getModelElement

public XModelElement getModelElement()

Specified by:
getModelElement in interface XAnnotation
Returns:
the value of the 'Model Element' container reference.
See Also:
XAnnotation.setModelElement(XModelElement), XcorePackage.getXAnnotation_ModelElement(), XModelElement.getAnnotations()

basicSetModelElement

public NotificationChain basicSetModelElement(XModelElement newModelElement,
                                              NotificationChain msgs)


setModelElement

public void setModelElement(XModelElement newModelElement)

Specified by:
setModelElement in interface XAnnotation
Parameters:
newModelElement - the new value of the 'Model Element' container reference.
See Also:
XAnnotation.getModelElement()

eInverseAdd

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

Overrides:
eInverseAdd in class XModelElementImpl

eInverseRemove

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

Overrides:
eInverseRemove in class XModelElementImpl

eBasicRemoveFromContainerFeature

public NotificationChain eBasicRemoveFromContainerFeature(NotificationChain msgs)

Overrides:
eBasicRemoveFromContainerFeature in class BasicEObjectImpl

eGet

public java.lang.Object eGet(int featureID,
                             boolean resolve,
                             boolean coreType)

Specified by:
eGet in interface InternalEObject
Overrides:
eGet in class XModelElementImpl
See Also:
InternalEObject.eGet(EStructuralFeature, boolean, boolean)

eSet

public void eSet(int featureID,
                 java.lang.Object newValue)

Specified by:
eSet in interface InternalEObject
Overrides:
eSet in class XModelElementImpl
See Also:
EObject.eSet(EStructuralFeature, Object)

eUnset

public void eUnset(int featureID)

Specified by:
eUnset in interface InternalEObject
Overrides:
eUnset in class XModelElementImpl
See Also:
EObject.eUnset(EStructuralFeature)

eIsSet

public boolean eIsSet(int featureID)

Specified by:
eIsSet in interface InternalEObject
Overrides:
eIsSet in class XModelElementImpl
See Also:
EObject.eIsSet(EStructuralFeature)

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