org.eclipse.xtext.xbase.impl
Class XVariableDeclarationImpl

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.impl.XVariableDeclarationImpl
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, JvmIdentifiableElement, XExpression, XVariableDeclaration
Direct Known Subclasses:
XVariableDeclarationImplCustom

public class XVariableDeclarationImpl
extends XExpressionImpl
implements XVariableDeclaration

An implementation of the model object 'XVariable Declaration'.

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  java.lang.String name
          The cached value of the 'Name' attribute.
protected static java.lang.String NAME_EDEFAULT
          The default value of the 'Name' attribute.
protected  XExpression right
          The cached value of the 'Right' containment reference.
protected  JvmTypeReference type
          The cached value of the 'Type' containment reference.
protected  boolean writeable
          The cached value of the 'Writeable' attribute.
protected static boolean WRITEABLE_EDEFAULT
          The default value of the 'Writeable' attribute.
 
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 XVariableDeclarationImpl()
           
 
Method Summary
 org.eclipse.emf.common.notify.NotificationChain basicSetRight(XExpression newRight, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 org.eclipse.emf.common.notify.NotificationChain basicSetType(JvmTypeReference newType, 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)
           
 java.lang.String getIdentifier()
           
 java.lang.String getName()
           
 java.lang.String getQualifiedName()
           
 java.lang.String getQualifiedName(char innerClassDelimiter)
           
 XExpression getRight()
           
 java.lang.String getSimpleName()
           
 JvmTypeReference getType()
           
 boolean isWriteable()
           
 void setName(java.lang.String newName)
           
 void setRight(XExpression newRight)
           
 void setType(JvmTypeReference newType)
           
 void setWriteable(boolean newWriteable)
           
 java.lang.String toString()
           
 
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
 
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.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

type

protected JvmTypeReference type
The cached value of the 'Type' containment reference.

See Also:
getType()
EMF generated code
EMF ordered

NAME_EDEFAULT

protected static final java.lang.String NAME_EDEFAULT
The default value of the 'Name' attribute.

See Also:
getName()
EMF generated code
EMF ordered

name

protected java.lang.String name
The cached value of the 'Name' attribute.

See Also:
getName()
EMF generated code
EMF ordered

right

protected XExpression right
The cached value of the 'Right' containment reference.

See Also:
getRight()
EMF generated code
EMF ordered

WRITEABLE_EDEFAULT

protected static final boolean WRITEABLE_EDEFAULT
The default value of the 'Writeable' attribute.

See Also:
isWriteable(), Constant Field Values
EMF generated code
EMF ordered

writeable

protected boolean writeable
The cached value of the 'Writeable' attribute.

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

XVariableDeclarationImpl

protected XVariableDeclarationImpl()

EMF generated code
Method Detail

eStaticClass

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

Overrides:
eStaticClass in class XExpressionImpl
EMF generated code

getType

public JvmTypeReference getType()

Specified by:
getType in interface XVariableDeclaration
Returns:
the value of the 'Type' containment reference.
See Also:
XVariableDeclaration.setType(JvmTypeReference), XbasePackage.getXVariableDeclaration_Type()
EMF generated code

basicSetType

public org.eclipse.emf.common.notify.NotificationChain basicSetType(JvmTypeReference newType,
                                                                    org.eclipse.emf.common.notify.NotificationChain msgs)

EMF generated code

setType

public void setType(JvmTypeReference newType)

Specified by:
setType in interface XVariableDeclaration
Parameters:
newType - the new value of the 'Type' containment reference.
See Also:
XVariableDeclaration.getType()
EMF generated code

getName

public java.lang.String getName()

Specified by:
getName in interface XVariableDeclaration
Returns:
the value of the 'Name' attribute.
See Also:
XVariableDeclaration.setName(String), XbasePackage.getXVariableDeclaration_Name()
EMF generated code

setName

public void setName(java.lang.String newName)

Specified by:
setName in interface XVariableDeclaration
Parameters:
newName - the new value of the 'Name' attribute.
See Also:
XVariableDeclaration.getName()
EMF generated code

getRight

public XExpression getRight()

Specified by:
getRight in interface XVariableDeclaration
Returns:
the value of the 'Right' containment reference.
See Also:
XVariableDeclaration.setRight(XExpression), XbasePackage.getXVariableDeclaration_Right()
EMF generated code

basicSetRight

public org.eclipse.emf.common.notify.NotificationChain basicSetRight(XExpression newRight,
                                                                     org.eclipse.emf.common.notify.NotificationChain msgs)

EMF generated code

setRight

public void setRight(XExpression newRight)

Specified by:
setRight in interface XVariableDeclaration
Parameters:
newRight - the new value of the 'Right' containment reference.
See Also:
XVariableDeclaration.getRight()
EMF generated code

isWriteable

public boolean isWriteable()

Specified by:
isWriteable in interface XVariableDeclaration
Returns:
the value of the 'Writeable' attribute.
See Also:
XVariableDeclaration.setWriteable(boolean), XbasePackage.getXVariableDeclaration_Writeable()
EMF generated code

setWriteable

public void setWriteable(boolean newWriteable)

Specified by:
setWriteable in interface XVariableDeclaration
Parameters:
newWriteable - the new value of the 'Writeable' attribute.
See Also:
XVariableDeclaration.isWriteable()
EMF generated code

getIdentifier

public java.lang.String getIdentifier()

Specified by:
getIdentifier in interface JvmIdentifiableElement
EMF generated code

getSimpleName

public java.lang.String getSimpleName()

Specified by:
getSimpleName in interface JvmIdentifiableElement
EMF generated code

getQualifiedName

public java.lang.String getQualifiedName()

Specified by:
getQualifiedName in interface JvmIdentifiableElement
See Also:
EMF generated code

getQualifiedName

public java.lang.String getQualifiedName(char innerClassDelimiter)

Specified by:
getQualifiedName in interface JvmIdentifiableElement
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

toString

public java.lang.String toString()

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