org.eclipse.xtext.xbase.annotations.xAnnotations.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.MinimalEObjectImpl
              extended by org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
                  extended by org.eclipse.xtext.xbase.impl.XExpressionImpl
                      extended by org.eclipse.xtext.xbase.annotations.xAnnotations.impl.XAnnotationImpl
All Implemented Interfaces:
org.eclipse.emf.common.notify.Notifier, org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.EStructuralFeature.Internal.DynamicValueHolder, org.eclipse.emf.ecore.InternalEObject, XAnnotation, XExpression

public class XAnnotationImpl
extends XExpressionImpl
implements XAnnotation

An implementation of the model object 'XAnnotation'.

The following features are implemented:

EMF generated code

Nested Class Summary
 
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container.Dynamic
 
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl
org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
 
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolder, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderBaseImpl, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderImpl
 
Nested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList<E extends java.lang.Object & org.eclipse.emf.common.notify.Adapter>
 
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject
org.eclipse.emf.ecore.InternalEObject.EStore
 
Field Summary
protected  JvmAnnotationType annotationType
          The cached value of the 'Annotation Type' reference.
protected  org.eclipse.emf.common.util.EList<XAnnotationElementValuePair> elementValuePairs
          The cached value of the 'Element Value Pairs' containment reference list.
protected  XExpression value
          The cached value of the 'Value' containment reference.
 
Fields inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
eContainer
 
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.EStructuralFeature.Internal.DynamicValueHolder
NIL
 
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject
EOPPOSITE_FEATURE_BASE
 
Constructor Summary
protected XAnnotationImpl()
           
 
Method Summary
 JvmAnnotationType basicGetAnnotationType()
           
 org.eclipse.emf.common.notify.NotificationChain basicSetValue(XExpression newValue, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
           
 org.eclipse.emf.common.notify.NotificationChain eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 boolean eIsSet(int featureID)
           
 void eSet(int featureID, java.lang.Object newValue)
           
protected  org.eclipse.emf.ecore.EClass eStaticClass()
           
 void eUnset(int featureID)
           
 JvmAnnotationType getAnnotationType()
           
 org.eclipse.emf.common.util.EList<XAnnotationElementValuePair> getElementValuePairs()
           
 XExpression getValue()
           
 void setAnnotationType(JvmAnnotationType newAnnotationType)
           
 void setValue(XExpression newValue)
           
 
Methods inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
eBasicSetContainer, eInternalContainer
 
Methods inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl
dynamicGet, dynamicSet, dynamicUnset, eAdapters, eBasicAdapterArray, eBasicAdapters, eBasicHasAdapters, eBasicProperties, eBasicSetAdapterArray, eBasicSetContainer, eBasicSetContainerFeatureID, eBasicSetSettings, eBasicSettings, eClass, eContainerFeatureID, eContents, eCrossReferences, eDeliver, eDirectResource, eDynamicClass, eHasSettings, eIsProxy, eProperties, eProxyURI, eSetClass, eSetDeliver, eSetDirectResource, eSetProxyURI, eSettings
 
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAddVirtualValue, eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainerAdapterArray, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDynamicBasicRemoveFromContainer, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInverseRemove, eDynamicIsSet, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eInternalResource, eInverseAdd, eInverseAdd, eInverseRemove, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetResource, eSetStore, eSetting, eSettingDelegate, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticFeatureCount, 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
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.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, 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

elementValuePairs

protected org.eclipse.emf.common.util.EList<XAnnotationElementValuePair> elementValuePairs
The cached value of the 'Element Value Pairs' containment reference list.

See Also:
getElementValuePairs()
EMF generated code
EMF ordered

annotationType

protected JvmAnnotationType annotationType
The cached value of the 'Annotation Type' reference.

See Also:
getAnnotationType()
EMF generated code
EMF ordered

value

protected XExpression value
The cached value of the 'Value' containment reference.

See Also:
getValue()
EMF generated code
EMF ordered
Constructor Detail

XAnnotationImpl

protected XAnnotationImpl()

EMF generated code
Method Detail

eStaticClass

protected org.eclipse.emf.ecore.EClass eStaticClass()

Overrides:
eStaticClass in class XExpressionImpl
EMF generated code

getElementValuePairs

public org.eclipse.emf.common.util.EList<XAnnotationElementValuePair> getElementValuePairs()

Specified by:
getElementValuePairs in interface XAnnotation
Returns:
the value of the 'Element Value Pairs' containment reference list.
See Also:
XAnnotationsPackage.getXAnnotation_ElementValuePairs()
EMF generated code

getAnnotationType

public JvmAnnotationType getAnnotationType()

Specified by:
getAnnotationType in interface XAnnotation
Returns:
the value of the 'Annotation Type' reference.
See Also:
XAnnotation.setAnnotationType(JvmAnnotationType), XAnnotationsPackage.getXAnnotation_AnnotationType()
EMF generated code

basicGetAnnotationType

public JvmAnnotationType basicGetAnnotationType()

EMF generated code

setAnnotationType

public void setAnnotationType(JvmAnnotationType newAnnotationType)

Specified by:
setAnnotationType in interface XAnnotation
Parameters:
newAnnotationType - the new value of the 'Annotation Type' reference.
See Also:
XAnnotation.getAnnotationType()
EMF generated code

getValue

public XExpression getValue()

Specified by:
getValue in interface XAnnotation
Returns:
the value of the 'Value' containment reference.
See Also:
XAnnotation.setValue(XExpression), XAnnotationsPackage.getXAnnotation_Value()
EMF generated code

basicSetValue

public org.eclipse.emf.common.notify.NotificationChain basicSetValue(XExpression newValue,
                                                                     org.eclipse.emf.common.notify.NotificationChain msgs)

EMF generated code

setValue

public void setValue(XExpression newValue)

Specified by:
setValue in interface XAnnotation
Parameters:
newValue - the new value of the 'Value' containment reference.
See Also:
XAnnotation.getValue()
EMF generated code

eInverseRemove

public org.eclipse.emf.common.notify.NotificationChain eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd,
                                                                      int featureID,
                                                                      org.eclipse.emf.common.notify.NotificationChain msgs)

Overrides:
eInverseRemove in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
EMF generated code

eGet

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

Specified by:
eGet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eGet in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
EMF generated code

eSet

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

Specified by:
eSet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eSet in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
EMF generated code

eUnset

public void eUnset(int featureID)

Specified by:
eUnset in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eUnset in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
EMF generated code

eIsSet

public boolean eIsSet(int featureID)

Specified by:
eIsSet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eIsSet in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
EMF generated code