org.eclipse.mtl.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.emf.ecore.impl.FlatEObjectImpl
                  extended by org.eclipse.emf.ecore.impl.EModelElementImpl
                      extended by org.eclipse.emf.ecore.impl.ENamedElementImpl
                          extended by org.eclipse.mtl.impl.ModuleElementImpl
                              extended by org.eclipse.mtl.impl.QueryImpl
All Implemented Interfaces:
org.eclipse.emf.common.notify.Notifier, org.eclipse.emf.ecore.EModelElement, org.eclipse.emf.ecore.ENamedElement, org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.InternalEObject, ModuleElement, Query, org.eclipse.ocl.utilities.ASTNode

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  org.eclipse.ocl.ecore.OCLExpression expression
          The cached value of the 'Expression' containment reference.
protected  org.eclipse.emf.common.util.EList<org.eclipse.ocl.ecore.Variable> parameter
          The cached value of the 'Parameter' containment reference list.
protected  org.eclipse.emf.ecore.EClassifier type
          The cached value of the 'Type' reference.
 
Fields inherited from class org.eclipse.mtl.impl.ModuleElementImpl
END_POSITION_EDEFAULT, endPosition, START_POSITION_EDEFAULT, startPosition, visibility, VISIBILITY_EDEFAULT
 
Fields inherited from class org.eclipse.emf.ecore.impl.ENamedElementImpl
name, NAME_EDEFAULT
 
Fields inherited from class org.eclipse.emf.ecore.impl.EModelElementImpl
eAnnotations, EFROZEN, ELAST_EMODEL_ELEMENT_FLAG
 
Fields inherited from class org.eclipse.emf.ecore.impl.FlatEObjectImpl
eContents, eCrossReferences, eProxyURI
 
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.ecore.EClassifier basicGetType()
           
 org.eclipse.emf.common.notify.NotificationChain basicSetExpression(org.eclipse.ocl.ecore.OCLExpression 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)
           
 org.eclipse.ocl.ecore.OCLExpression getExpression()
           
 org.eclipse.emf.common.util.EList<org.eclipse.ocl.ecore.Variable> getParameter()
           
 org.eclipse.emf.ecore.EClassifier getType()
           
 void setExpression(org.eclipse.ocl.ecore.OCLExpression newExpression)
           
 void setType(org.eclipse.emf.ecore.EClassifier newType)
           
 
Methods inherited from class org.eclipse.mtl.impl.ModuleElementImpl
eBaseStructuralFeatureID, eDerivedStructuralFeatureID, getEndPosition, getStartPosition, getVisibility, setEndPosition, setStartPosition, setVisibility, toString
 
Methods inherited from class org.eclipse.emf.ecore.impl.ENamedElementImpl
eContents, eCrossReferences, getName, getNameGen, setName
 
Methods inherited from class org.eclipse.emf.ecore.impl.EModelElementImpl
eInverseAdd, eObjectForURIFragmentSegment, eURIFragmentSegment, freeze, freeze, getEAnnotation, getEAnnotations, isFrozen, setFrozen
 
Methods inherited from class org.eclipse.emf.ecore.impl.FlatEObjectImpl
eIsProxy, eProperties, eProxyURI, eSetProxyURI
 
Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eAdapters, eBasicAdapters, eBasicProperties, eBasicSetContainer, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eSetClass, eSetDeliver
 
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAddVirtualValue, eAllContents, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, 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, eInverseRemove, eIsSet, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetDirectResource, eSetResource, eSetStore, eSetting, eSettingDelegate, eSettings, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticFeatureCount, eStore, eUnset, 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.ModuleElement
getVisibility, setVisibility
 
Methods inherited from interface org.eclipse.emf.ecore.ENamedElement
getName, setName
 
Methods inherited from interface org.eclipse.emf.ecore.EModelElement
getEAnnotation, getEAnnotations
 
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.ocl.utilities.ASTNode
getEndPosition, getStartPosition, setEndPosition, setStartPosition
 
Methods inherited from interface org.eclipse.emf.ecore.InternalEObject
eNotificationRequired
 

Field Detail

parameter

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

See Also:
getParameter()

expression

protected org.eclipse.ocl.ecore.OCLExpression expression
The cached value of the 'Expression' containment reference.

See Also:
getExpression()

type

protected org.eclipse.emf.ecore.EClassifier type
The cached value of the 'Type' reference.

See Also:
getType()
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<org.eclipse.ocl.ecore.Variable> getParameter()

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

getExpression

public org.eclipse.ocl.ecore.OCLExpression getExpression()

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

basicSetExpression

public org.eclipse.emf.common.notify.NotificationChain basicSetExpression(org.eclipse.ocl.ecore.OCLExpression newExpression,
                                                                          org.eclipse.emf.common.notify.NotificationChain msgs)


setExpression

public void setExpression(org.eclipse.ocl.ecore.OCLExpression newExpression)

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

getType

public org.eclipse.emf.ecore.EClassifier getType()

Specified by:
getType in interface Query
Returns:
the value of the 'Type' reference.
See Also:
Query.setType(EClassifier), MtlPackage.getQuery_Type()

basicGetType

public org.eclipse.emf.ecore.EClassifier basicGetType()


setType

public void setType(org.eclipse.emf.ecore.EClassifier newType)

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

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.EModelElementImpl

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

Copyright 2008 Obeo
All Rights Reserved.