org.eclipse.xtext.xbase.impl
Class XClosureImpl

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.XClosureImpl
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, XClosure, XExpression
Direct Known Subclasses:
XClosureImplCustom

public class XClosureImpl
extends XExpressionImpl
implements XClosure

An implementation of the model object 'XClosure'.

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  org.eclipse.emf.common.util.EList<JvmFormalParameter> declaredFormalParameters
          The cached value of the 'Declared Formal Parameters' containment reference list.
protected static boolean EXPLICIT_SYNTAX_EDEFAULT
          The default value of the 'Explicit Syntax' attribute.
protected  boolean explicitSyntax
          The cached value of the 'Explicit Syntax' attribute.
protected  XExpression expression
          The cached value of the 'Expression' containment reference.
protected  JvmFormalParameter implicitParameter
          The cached value of the 'Implicit Parameter' 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 XClosureImpl()
           
 
Method Summary
 org.eclipse.emf.common.notify.NotificationChain basicSetExpression(XExpression newExpression, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 org.eclipse.emf.common.notify.NotificationChain basicSetImplicitParameter(JvmFormalParameter newImplicitParameter, 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)
           
 org.eclipse.emf.common.util.EList<JvmFormalParameter> getDeclaredFormalParameters()
           
 XExpression getExpression()
           
 org.eclipse.emf.common.util.EList<JvmFormalParameter> getFormalParameters()
           
 JvmFormalParameter getImplicitParameter()
           
 boolean isExplicitSyntax()
           
 void setExplicitSyntax(boolean newExplicitSyntax)
           
 void setExpression(XExpression newExpression)
           
 void setImplicitParameter(JvmFormalParameter newImplicitParameter)
           
 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.InternalEObject
eNotificationRequired
 

Field Detail

declaredFormalParameters

protected org.eclipse.emf.common.util.EList<JvmFormalParameter> declaredFormalParameters
The cached value of the 'Declared Formal Parameters' containment reference list.

See Also:
getDeclaredFormalParameters()
EMF generated code
EMF ordered

expression

protected XExpression expression
The cached value of the 'Expression' containment reference.

See Also:
getExpression()
EMF generated code
EMF ordered

EXPLICIT_SYNTAX_EDEFAULT

protected static final boolean EXPLICIT_SYNTAX_EDEFAULT
The default value of the 'Explicit Syntax' attribute.

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

explicitSyntax

protected boolean explicitSyntax
The cached value of the 'Explicit Syntax' attribute.

See Also:
isExplicitSyntax()
EMF generated code
EMF ordered

implicitParameter

protected JvmFormalParameter implicitParameter
The cached value of the 'Implicit Parameter' containment reference.

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

XClosureImpl

protected XClosureImpl()

EMF generated code
Method Detail

eStaticClass

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

Overrides:
eStaticClass in class XExpressionImpl
EMF generated code

getDeclaredFormalParameters

public org.eclipse.emf.common.util.EList<JvmFormalParameter> getDeclaredFormalParameters()

Specified by:
getDeclaredFormalParameters in interface XClosure
Returns:
the value of the 'Declared Formal Parameters' containment reference list.
See Also:
XbasePackage.getXClosure_DeclaredFormalParameters()
EMF generated code

getExpression

public XExpression getExpression()

Specified by:
getExpression in interface XClosure
Returns:
the value of the 'Expression' containment reference.
See Also:
XClosure.setExpression(XExpression), XbasePackage.getXClosure_Expression()
EMF generated code

basicSetExpression

public org.eclipse.emf.common.notify.NotificationChain basicSetExpression(XExpression newExpression,
                                                                          org.eclipse.emf.common.notify.NotificationChain msgs)

EMF generated code

setExpression

public void setExpression(XExpression newExpression)

Specified by:
setExpression in interface XClosure
Parameters:
newExpression - the new value of the 'Expression' containment reference.
See Also:
XClosure.getExpression()
EMF generated code

isExplicitSyntax

public boolean isExplicitSyntax()

Specified by:
isExplicitSyntax in interface XClosure
Returns:
the value of the 'Explicit Syntax' attribute.
See Also:
XClosure.setExplicitSyntax(boolean), XbasePackage.getXClosure_ExplicitSyntax()
EMF generated code

setExplicitSyntax

public void setExplicitSyntax(boolean newExplicitSyntax)

Specified by:
setExplicitSyntax in interface XClosure
Parameters:
newExplicitSyntax - the new value of the 'Explicit Syntax' attribute.
See Also:
XClosure.isExplicitSyntax()
EMF generated code

getImplicitParameter

public JvmFormalParameter getImplicitParameter()

Specified by:
getImplicitParameter in interface XClosure
Returns:
the value of the 'Implicit Parameter' containment reference.
See Also:
XClosure.setImplicitParameter(JvmFormalParameter), XbasePackage.getXClosure_ImplicitParameter()
EMF generated code

basicSetImplicitParameter

public org.eclipse.emf.common.notify.NotificationChain basicSetImplicitParameter(JvmFormalParameter newImplicitParameter,
                                                                                 org.eclipse.emf.common.notify.NotificationChain msgs)

EMF generated code

setImplicitParameter

public void setImplicitParameter(JvmFormalParameter newImplicitParameter)

Specified by:
setImplicitParameter in interface XClosure
Parameters:
newImplicitParameter - the new value of the 'Implicit Parameter' containment reference.
See Also:
XClosure.getImplicitParameter()
EMF generated code

getFormalParameters

public org.eclipse.emf.common.util.EList<JvmFormalParameter> getFormalParameters()

Specified by:
getFormalParameters in interface XClosure
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