org.eclipse.mtl.cst.impl
Class QueryImpl

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.mtl.cst.impl.ModuleElementImpl
                  extended by org.eclipse.mtl.cst.impl.QueryImpl
All Implemented Interfaces:
org.eclipse.emf.common.notify.Notifier, org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.InternalEObject, CSTNode, ModuleElement, Query

public class QueryImpl
extends ModuleElementImpl
implements Query

An implementation of the model object 'Query'.

The following features are implemented:


Nested Class Summary
 
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  ModelExpression expression
          The cached value of the 'Expression' containment reference.
protected  org.eclipse.emf.common.util.EList<Variable> parameter
          The cached value of the 'Parameter' containment reference list.
protected  java.lang.String type
          The cached value of the 'Type' attribute.
protected static java.lang.String TYPE_EDEFAULT
          The default value of the 'Type' attribute.
 
Fields inherited from class org.eclipse.mtl.cst.impl.ModuleElementImpl
END_POSITION_EDEFAULT, endPosition, name, NAME_EDEFAULT, START_POSITION_EDEFAULT, startPosition, visibility, VISIBILITY_EDEFAULT
 
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 QueryImpl()
           
 
Method Summary
 org.eclipse.emf.common.notify.NotificationChain basicSetExpression(ModelExpression newExpression, 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)
           
 ModelExpression getExpression()
           
 org.eclipse.emf.common.util.EList<Variable> getParameter()
           
 java.lang.String getType()
           
 void setExpression(ModelExpression newExpression)
           
 void setType(java.lang.String newType)
           
 java.lang.String toString()
           
 
Methods inherited from class org.eclipse.mtl.cst.impl.ModuleElementImpl
getEndPosition, getName, getStartPosition, getVisibility, setEndPosition, setName, setStartPosition, setVisibility
 
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
eAddVirtualValue, eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicClass, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInverseRemove, eDynamicIsSet, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eHasSettings, eInternalResource, eInverseAdd, eInverseAdd, eInverseRemove, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetDirectResource, eSetResource, eSetStore, eSetting, eSettingDelegate, eSettings, 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.mtl.cst.ModuleElement
getName, getVisibility, setName, setVisibility
 
Methods inherited from interface org.eclipse.mtl.cst.CSTNode
getEndPosition, getStartPosition, setEndPosition, setStartPosition
 
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

parameter

protected org.eclipse.emf.common.util.EList<Variable> parameter
The cached value of the 'Parameter' containment reference list.

See Also:
getParameter()

TYPE_EDEFAULT

protected static final java.lang.String TYPE_EDEFAULT
The default value of the 'Type' attribute.

See Also:
getType()

type

protected java.lang.String type
The cached value of the 'Type' attribute.

See Also:
getType()

expression

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

See Also:
getExpression()
Constructor Detail

QueryImpl

protected QueryImpl()

Method Detail

eStaticClass

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

Overrides:
eStaticClass in class ModuleElementImpl

getParameter

public org.eclipse.emf.common.util.EList<Variable> getParameter()

Specified by:
getParameter in interface Query
Returns:
the value of the 'Parameter' containment reference list.
See Also:
CstPackage.getQuery_Parameter()

getType

public java.lang.String getType()

Specified by:
getType in interface Query
Returns:
the value of the 'Type' attribute.
See Also:
Query.setType(String), CstPackage.getQuery_Type()

setType

public void setType(java.lang.String newType)

Specified by:
setType in interface Query
Parameters:
newType - the new value of the 'Type' attribute.
See Also:
Query.getType()

getExpression

public ModelExpression getExpression()

Specified by:
getExpression in interface Query
Returns:
the value of the 'Expression' containment reference.
See Also:
Query.setExpression(ModelExpression), CstPackage.getQuery_Expression()

basicSetExpression

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


setExpression

public void setExpression(ModelExpression newExpression)

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

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

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 ModuleElementImpl

eSet

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

Specified by:
eSet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eSet in class ModuleElementImpl

eUnset

public void eUnset(int featureID)

Specified by:
eUnset in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eUnset in class ModuleElementImpl

eIsSet

public boolean eIsSet(int featureID)

Specified by:
eIsSet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eIsSet in class ModuleElementImpl

toString

public java.lang.String toString()

Overrides:
toString in class ModuleElementImpl

Copyright 2008 Obeo
All Rights Reserved.