org.eclipse.datatools.modelbase.sql.query.impl
Class QueryExpressionRootImpl

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.datatools.modelbase.sql.schema.impl.EModelElementImpl
                      extended by org.eclipse.datatools.modelbase.sql.schema.impl.ENamedElementImpl
                          extended by org.eclipse.datatools.modelbase.sql.schema.impl.SQLObjectImpl
                              extended by org.eclipse.datatools.modelbase.sql.query.impl.SQLQueryObjectImpl
                                  extended by org.eclipse.datatools.modelbase.sql.query.impl.QueryExpressionRootImpl
All Implemented Interfaces:
QueryExpression, QueryExpressionRoot, SQLQueryObject, SQLObject, 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

public class QueryExpressionRootImpl
extends SQLQueryObjectImpl
implements QueryExpressionRoot

An implementation of the model object 'Expression'.

The following features are implemented:


Nested Class Summary
 
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
 
Fields inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
ELAST_EOBJECT_FLAG
 
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject
EOPPOSITE_FEATURE_BASE
 
Method Summary
 org.eclipse.emf.common.notify.NotificationChain basicSetInsertStatement(QueryInsertStatement newInsertStatement, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 org.eclipse.emf.common.notify.NotificationChain basicSetInValueRowSelectRight(PredicateInValueRowSelect newInValueRowSelectRight, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 org.eclipse.emf.common.notify.NotificationChain basicSetInValueSelectRight(PredicateInValueSelect newInValueSelectRight, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 org.eclipse.emf.common.notify.NotificationChain basicSetQuantifiedRowSelectRight(PredicateQuantifiedRowSelect newQuantifiedRowSelectRight, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 org.eclipse.emf.common.notify.NotificationChain basicSetQuantifiedValueSelectRight(PredicateQuantifiedValueSelect newQuantifiedValueSelectRight, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 org.eclipse.emf.common.notify.NotificationChain basicSetQuery(QueryExpressionBody newQuery, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 org.eclipse.emf.common.notify.NotificationChain basicSetSelectStatement(QuerySelectStatement newSelectStatement, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 org.eclipse.emf.common.notify.NotificationChain eBasicRemoveFromContainerFeature(org.eclipse.emf.common.notify.NotificationChain msgs)
           
 java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
           
 org.eclipse.emf.common.notify.NotificationChain eInverseAdd(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 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)
           
 void eUnset(int featureID)
           
 QueryInsertStatement getInsertStatement()
           
 PredicateInValueRowSelect getInValueRowSelectRight()
           
 PredicateInValueSelect getInValueSelectRight()
           
 PredicateQuantifiedRowSelect getQuantifiedRowSelectRight()
           
 PredicateQuantifiedValueSelect getQuantifiedValueSelectRight()
           
 QueryExpressionBody getQuery()
           
 QuerySelectStatement getSelectStatement()
           
 java.lang.String getSQL()
           
 org.eclipse.emf.common.util.EList getValueExprScalarSelects()
           
 org.eclipse.emf.common.util.EList getWithClause()
           
 void setInsertStatement(QueryInsertStatement newInsertStatement)
           
 void setInValueRowSelectRight(PredicateInValueRowSelect newInValueRowSelectRight)
           
 void setInValueSelectRight(PredicateInValueSelect newInValueSelectRight)
           
 void setQuantifiedRowSelectRight(PredicateQuantifiedRowSelect newQuantifiedRowSelectRight)
           
 void setQuantifiedValueSelectRight(PredicateQuantifiedValueSelect newQuantifiedValueSelectRight)
           
 void setQuery(QueryExpressionBody newQuery)
           
 void setSelectStatement(QuerySelectStatement newSelectStatement)
           
 
Methods inherited from class org.eclipse.datatools.modelbase.sql.query.impl.SQLQueryObjectImpl
getSourceInfo, setSourceInfo, setSQL
 
Methods inherited from class org.eclipse.datatools.modelbase.sql.schema.impl.SQLObjectImpl
addEAnnotation, addEAnnotationDetail, getComments, getDependencies, getDescription, getEAnnotation, getEAnnotationDetail, getExtensions, getLabel, getPrivileges, removeEAnnotationDetail, setAnnotationDetail, setDescription, setLabel, toString
 
Methods inherited from class org.eclipse.datatools.modelbase.sql.schema.impl.ENamedElementImpl
eContents, eCrossReferences, getName, getNameGen, setName
 
Methods inherited from class org.eclipse.datatools.modelbase.sql.schema.impl.EModelElementImpl
eObjectForURIFragmentSegment, eURIFragmentSegment, getEAnnotations
 
Methods inherited from class org.eclipse.emf.ecore.impl.FlatEObjectImpl
eIsProxy, eProxyURI, eSetProxyURI
 
Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eAdapters, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eSetClass, eSetDeliver
 
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicSetContainer, eContainer, eContainingFeature, eContainmentFeature, eContains, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eInternalResource, eInverseAdd, eInverseRemove, eIsSet, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eResolveProxy, eResource, eSet, eSetResource, eSetStore, eSetting, eStore, eUnset, eVirtualGet, eVirtualGet, eVirtualIsSet, eVirtualSet, eVirtualUnset
 
Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
eNotificationRequired, eNotify
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.eclipse.datatools.modelbase.sql.query.SQLQueryObject
getSourceInfo, setSourceInfo, setSQL
 
Methods inherited from interface org.eclipse.datatools.modelbase.sql.schema.SQLObject
addEAnnotation, addEAnnotationDetail, getComments, getDependencies, getDescription, getEAnnotation, getEAnnotationDetail, getExtensions, getLabel, getPrivileges, removeEAnnotationDetail, setAnnotationDetail, setDescription, setLabel
 
Methods inherited from interface org.eclipse.emf.ecore.ENamedElement
getName, setName
 
Methods inherited from interface org.eclipse.emf.ecore.EModelElement
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.datatools.modelbase.sql.expressions.QueryExpression
setSQL
 
Methods inherited from interface org.eclipse.emf.ecore.InternalEObject
eNotificationRequired
 

Method Detail

getInsertStatement

public QueryInsertStatement getInsertStatement()

Specified by:
getInsertStatement in interface QueryExpressionRoot
Returns:
the value of the 'Insert Statement' container reference.
See Also:
QueryExpressionRoot.setInsertStatement(QueryInsertStatement), SQLQueryModelPackage.getQueryExpressionRoot_InsertStatement(), QueryInsertStatement.getSourceQuery()

basicSetInsertStatement

public org.eclipse.emf.common.notify.NotificationChain basicSetInsertStatement(QueryInsertStatement newInsertStatement,
                                                                               org.eclipse.emf.common.notify.NotificationChain msgs)


setInsertStatement

public void setInsertStatement(QueryInsertStatement newInsertStatement)

Specified by:
setInsertStatement in interface QueryExpressionRoot
Parameters:
newInsertStatement - the new value of the 'Insert Statement' container reference.
See Also:
QueryExpressionRoot.getInsertStatement()

getSelectStatement

public QuerySelectStatement getSelectStatement()

Specified by:
getSelectStatement in interface QueryExpressionRoot
Returns:
the value of the 'Select Statement' container reference.
See Also:
QueryExpressionRoot.setSelectStatement(QuerySelectStatement), SQLQueryModelPackage.getQueryExpressionRoot_SelectStatement(), QuerySelectStatement.getQueryExpr()

basicSetSelectStatement

public org.eclipse.emf.common.notify.NotificationChain basicSetSelectStatement(QuerySelectStatement newSelectStatement,
                                                                               org.eclipse.emf.common.notify.NotificationChain msgs)


setSelectStatement

public void setSelectStatement(QuerySelectStatement newSelectStatement)

Specified by:
setSelectStatement in interface QueryExpressionRoot
Parameters:
newSelectStatement - the new value of the 'Select Statement' container reference.
See Also:
QueryExpressionRoot.getSelectStatement()

getWithClause

public org.eclipse.emf.common.util.EList getWithClause()

Specified by:
getWithClause in interface QueryExpressionRoot
Returns:
the value of the 'With Clause' containment reference list.
See Also:
SQLQueryModelPackage.getQueryExpressionRoot_WithClause(), WithTableSpecification.getQueryExpressionRoot()

getQuery

public QueryExpressionBody getQuery()

Specified by:
getQuery in interface QueryExpressionRoot
Returns:
the value of the 'Query' containment reference.
See Also:
QueryExpressionRoot.setQuery(QueryExpressionBody), SQLQueryModelPackage.getQueryExpressionRoot_Query(), QueryExpressionBody.getQueryExpression()

basicSetQuery

public org.eclipse.emf.common.notify.NotificationChain basicSetQuery(QueryExpressionBody newQuery,
                                                                     org.eclipse.emf.common.notify.NotificationChain msgs)


setQuery

public void setQuery(QueryExpressionBody newQuery)

Specified by:
setQuery in interface QueryExpressionRoot
Parameters:
newQuery - the new value of the 'Query' containment reference.
See Also:
QueryExpressionRoot.getQuery()

getInValueRowSelectRight

public PredicateInValueRowSelect getInValueRowSelectRight()

Specified by:
getInValueRowSelectRight in interface QueryExpressionRoot
Returns:
the value of the 'In Value Row Select Right' container reference.
See Also:
QueryExpressionRoot.setInValueRowSelectRight(PredicateInValueRowSelect), SQLQueryModelPackage.getQueryExpressionRoot_InValueRowSelectRight(), PredicateInValueRowSelect.getQueryExpr()

basicSetInValueRowSelectRight

public org.eclipse.emf.common.notify.NotificationChain basicSetInValueRowSelectRight(PredicateInValueRowSelect newInValueRowSelectRight,
                                                                                     org.eclipse.emf.common.notify.NotificationChain msgs)


setInValueRowSelectRight

public void setInValueRowSelectRight(PredicateInValueRowSelect newInValueRowSelectRight)

Specified by:
setInValueRowSelectRight in interface QueryExpressionRoot
Parameters:
newInValueRowSelectRight - the new value of the 'In Value Row Select Right' container reference.
See Also:
QueryExpressionRoot.getInValueRowSelectRight()

getInValueSelectRight

public PredicateInValueSelect getInValueSelectRight()

Specified by:
getInValueSelectRight in interface QueryExpressionRoot
Returns:
the value of the 'In Value Select Right' container reference.
See Also:
QueryExpressionRoot.setInValueSelectRight(PredicateInValueSelect), SQLQueryModelPackage.getQueryExpressionRoot_InValueSelectRight(), PredicateInValueSelect.getQueryExpr()

basicSetInValueSelectRight

public org.eclipse.emf.common.notify.NotificationChain basicSetInValueSelectRight(PredicateInValueSelect newInValueSelectRight,
                                                                                  org.eclipse.emf.common.notify.NotificationChain msgs)


setInValueSelectRight

public void setInValueSelectRight(PredicateInValueSelect newInValueSelectRight)

Specified by:
setInValueSelectRight in interface QueryExpressionRoot
Parameters:
newInValueSelectRight - the new value of the 'In Value Select Right' container reference.
See Also:
QueryExpressionRoot.getInValueSelectRight()

getQuantifiedRowSelectRight

public PredicateQuantifiedRowSelect getQuantifiedRowSelectRight()

Specified by:
getQuantifiedRowSelectRight in interface QueryExpressionRoot
Returns:
the value of the 'Quantified Row Select Right' container reference.
See Also:
QueryExpressionRoot.setQuantifiedRowSelectRight(PredicateQuantifiedRowSelect), SQLQueryModelPackage.getQueryExpressionRoot_QuantifiedRowSelectRight(), PredicateQuantifiedRowSelect.getQueryExpr()

basicSetQuantifiedRowSelectRight

public org.eclipse.emf.common.notify.NotificationChain basicSetQuantifiedRowSelectRight(PredicateQuantifiedRowSelect newQuantifiedRowSelectRight,
                                                                                        org.eclipse.emf.common.notify.NotificationChain msgs)


setQuantifiedRowSelectRight

public void setQuantifiedRowSelectRight(PredicateQuantifiedRowSelect newQuantifiedRowSelectRight)

Specified by:
setQuantifiedRowSelectRight in interface QueryExpressionRoot
Parameters:
newQuantifiedRowSelectRight - the new value of the 'Quantified Row Select Right' container reference.
See Also:
QueryExpressionRoot.getQuantifiedRowSelectRight()

getQuantifiedValueSelectRight

public PredicateQuantifiedValueSelect getQuantifiedValueSelectRight()

Specified by:
getQuantifiedValueSelectRight in interface QueryExpressionRoot
Returns:
the value of the 'Quantified Value Select Right' container reference.
See Also:
QueryExpressionRoot.setQuantifiedValueSelectRight(PredicateQuantifiedValueSelect), SQLQueryModelPackage.getQueryExpressionRoot_QuantifiedValueSelectRight(), PredicateQuantifiedValueSelect.getQueryExpr()

basicSetQuantifiedValueSelectRight

public org.eclipse.emf.common.notify.NotificationChain basicSetQuantifiedValueSelectRight(PredicateQuantifiedValueSelect newQuantifiedValueSelectRight,
                                                                                          org.eclipse.emf.common.notify.NotificationChain msgs)


setQuantifiedValueSelectRight

public void setQuantifiedValueSelectRight(PredicateQuantifiedValueSelect newQuantifiedValueSelectRight)

Specified by:
setQuantifiedValueSelectRight in interface QueryExpressionRoot
Parameters:
newQuantifiedValueSelectRight - the new value of the 'Quantified Value Select Right' container reference.
See Also:
QueryExpressionRoot.getQuantifiedValueSelectRight()

getValueExprScalarSelects

public org.eclipse.emf.common.util.EList getValueExprScalarSelects()

Specified by:
getValueExprScalarSelects in interface QueryExpressionRoot
Returns:
the value of the 'Value Expr Scalar Selects' reference list.
See Also:
SQLQueryModelPackage.getQueryExpressionRoot_ValueExprScalarSelects(), ValueExpressionScalarSelect.getQueryExpr()

eInverseAdd

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

Overrides:
eInverseAdd in class SQLObjectImpl

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 SQLObjectImpl

eBasicRemoveFromContainerFeature

public org.eclipse.emf.common.notify.NotificationChain eBasicRemoveFromContainerFeature(org.eclipse.emf.common.notify.NotificationChain msgs)

Overrides:
eBasicRemoveFromContainerFeature 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 SQLObjectImpl

eSet

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

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

eUnset

public void eUnset(int featureID)

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

eIsSet

public boolean eIsSet(int featureID)

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

getSQL

public java.lang.String getSQL()

Specified by:
getSQL in interface QueryExpression
Specified by:
getSQL in interface SQLQueryObject
Overrides:
getSQL in class SQLQueryObjectImpl