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

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.TableReferenceImpl
                                      extended by org.eclipse.datatools.modelbase.sql.query.impl.TableExpressionImpl
                                          extended by org.eclipse.datatools.modelbase.sql.query.impl.QueryExpressionBodyImpl
All Implemented Interfaces:
QueryExpressionBody, SQLQueryObject, TableExpression, TableReference, 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
Direct Known Subclasses:
QueryCombinedImpl, QueryNestedImpl, QuerySelectImpl, QueryValuesImpl

public abstract class QueryExpressionBodyImpl
extends TableExpressionImpl
implements QueryExpressionBody

An implementation of the model object 'Expression Body'.

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 basicSetCombinedLeft(QueryCombined newCombinedLeft, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 org.eclipse.emf.common.notify.NotificationChain basicSetCombinedRight(QueryCombined newCombinedRight, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 org.eclipse.emf.common.notify.NotificationChain basicSetPredicateExists(PredicateExists newPredicateExists, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 org.eclipse.emf.common.notify.NotificationChain basicSetQueryExpression(QueryExpressionRoot newQueryExpression, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 org.eclipse.emf.common.notify.NotificationChain basicSetQueryNest(QueryNested newQueryNest, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 org.eclipse.emf.common.notify.NotificationChain basicSetUpdateSourceQuery(UpdateSourceQuery newUpdateSourceQuery, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 org.eclipse.emf.common.notify.NotificationChain basicSetWithTableSpecification(WithTableSpecification newWithTableSpecification, 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)
           
 QueryCombined getCombinedLeft()
           
 QueryCombined getCombinedRight()
           
 PredicateExists getPredicateExists()
           
 QueryExpressionRoot getQueryExpression()
           
 QueryNested getQueryNest()
           
 int getRowFetchLimit()
           
 org.eclipse.emf.common.util.EList getSortSpecList()
           
 UpdateSourceQuery getUpdateSourceQuery()
           
 WithTableSpecification getWithTableSpecification()
           
 void setCombinedLeft(QueryCombined newCombinedLeft)
           
 void setCombinedRight(QueryCombined newCombinedRight)
           
 void setPredicateExists(PredicateExists newPredicateExists)
           
 void setQueryExpression(QueryExpressionRoot newQueryExpression)
           
 void setQueryNest(QueryNested newQueryNest)
           
 void setRowFetchLimit(int newRowFetchLimit)
           
 void setUpdateSourceQuery(UpdateSourceQuery newUpdateSourceQuery)
           
 void setWithTableSpecification(WithTableSpecification newWithTableSpecification)
           
 java.lang.String toString()
           
 
Methods inherited from class org.eclipse.datatools.modelbase.sql.query.impl.TableExpressionImpl
basicSetMergeTargetTable, basicSetTableCorrelation, getColumnList, getMergeTargetTable, getResultTableAllColumns, getTableCorrelation, getValueExprColumns, setMergeTargetTable, setTableCorrelation
 
Methods inherited from class org.eclipse.datatools.modelbase.sql.query.impl.TableReferenceImpl
basicSetMergeSourceTable, basicSetNest, basicSetQuerySelect, basicSetTableJoinedLeft, basicSetTableJoinedRight, getMergeSourceTable, getNest, getQuerySelect, getTableJoinedLeft, getTableJoinedRight, setMergeSourceTable, setNest, setQuerySelect, setTableJoinedLeft, setTableJoinedRight
 
Methods inherited from class org.eclipse.datatools.modelbase.sql.query.impl.SQLQueryObjectImpl
getSourceInfo, getSQL, 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
 
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.TableExpression
getColumnList, getMergeTargetTable, getResultTableAllColumns, getTableCorrelation, getValueExprColumns, setMergeTargetTable, setTableCorrelation
 
Methods inherited from interface org.eclipse.datatools.modelbase.sql.query.TableReference
getMergeSourceTable, getNest, getQuerySelect, getTableJoinedLeft, getTableJoinedRight, setMergeSourceTable, setNest, setQuerySelect, setTableJoinedLeft, setTableJoinedRight
 
Methods inherited from interface org.eclipse.datatools.modelbase.sql.query.SQLQueryObject
getSourceInfo, getSQL, 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.emf.ecore.InternalEObject
eNotificationRequired
 

Method Detail

getRowFetchLimit

public int getRowFetchLimit()

Specified by:
getRowFetchLimit in interface QueryExpressionBody
Returns:
the value of the 'Row Fetch Limit' attribute.
See Also:
QueryExpressionBody.setRowFetchLimit(int), SQLQueryModelPackage.getQueryExpressionBody_RowFetchLimit()

setRowFetchLimit

public void setRowFetchLimit(int newRowFetchLimit)

Specified by:
setRowFetchLimit in interface QueryExpressionBody
Parameters:
newRowFetchLimit - the new value of the 'Row Fetch Limit' attribute.
See Also:
QueryExpressionBody.getRowFetchLimit()

getQueryExpression

public QueryExpressionRoot getQueryExpression()

Specified by:
getQueryExpression in interface QueryExpressionBody
Returns:
the value of the 'Query Expression' container reference.
See Also:
QueryExpressionBody.setQueryExpression(QueryExpressionRoot), SQLQueryModelPackage.getQueryExpressionBody_QueryExpression(), QueryExpressionRoot.getQuery()

basicSetQueryExpression

public org.eclipse.emf.common.notify.NotificationChain basicSetQueryExpression(QueryExpressionRoot newQueryExpression,
                                                                               org.eclipse.emf.common.notify.NotificationChain msgs)


setQueryExpression

public void setQueryExpression(QueryExpressionRoot newQueryExpression)

Specified by:
setQueryExpression in interface QueryExpressionBody
Parameters:
newQueryExpression - the new value of the 'Query Expression' container reference.
See Also:
QueryExpressionBody.getQueryExpression()

getCombinedLeft

public QueryCombined getCombinedLeft()

Specified by:
getCombinedLeft in interface QueryExpressionBody
Returns:
the value of the 'Combined Left' container reference.
See Also:
QueryExpressionBody.setCombinedLeft(QueryCombined), SQLQueryModelPackage.getQueryExpressionBody_CombinedLeft(), QueryCombined.getLeftQuery()

basicSetCombinedLeft

public org.eclipse.emf.common.notify.NotificationChain basicSetCombinedLeft(QueryCombined newCombinedLeft,
                                                                            org.eclipse.emf.common.notify.NotificationChain msgs)


setCombinedLeft

public void setCombinedLeft(QueryCombined newCombinedLeft)

Specified by:
setCombinedLeft in interface QueryExpressionBody
Parameters:
newCombinedLeft - the new value of the 'Combined Left' container reference.
See Also:
QueryExpressionBody.getCombinedLeft()

getCombinedRight

public QueryCombined getCombinedRight()

Specified by:
getCombinedRight in interface QueryExpressionBody
Returns:
the value of the 'Combined Right' container reference.
See Also:
QueryExpressionBody.setCombinedRight(QueryCombined), SQLQueryModelPackage.getQueryExpressionBody_CombinedRight(), QueryCombined.getRightQuery()

basicSetCombinedRight

public org.eclipse.emf.common.notify.NotificationChain basicSetCombinedRight(QueryCombined newCombinedRight,
                                                                             org.eclipse.emf.common.notify.NotificationChain msgs)


setCombinedRight

public void setCombinedRight(QueryCombined newCombinedRight)

Specified by:
setCombinedRight in interface QueryExpressionBody
Parameters:
newCombinedRight - the new value of the 'Combined Right' container reference.
See Also:
QueryExpressionBody.getCombinedRight()

getPredicateExists

public PredicateExists getPredicateExists()

Specified by:
getPredicateExists in interface QueryExpressionBody
Returns:
the value of the 'Predicate Exists' container reference.
See Also:
QueryExpressionBody.setPredicateExists(PredicateExists), SQLQueryModelPackage.getQueryExpressionBody_PredicateExists(), PredicateExists.getQueryExpr()

basicSetPredicateExists

public org.eclipse.emf.common.notify.NotificationChain basicSetPredicateExists(PredicateExists newPredicateExists,
                                                                               org.eclipse.emf.common.notify.NotificationChain msgs)


setPredicateExists

public void setPredicateExists(PredicateExists newPredicateExists)

Specified by:
setPredicateExists in interface QueryExpressionBody
Parameters:
newPredicateExists - the new value of the 'Predicate Exists' container reference.
See Also:
QueryExpressionBody.getPredicateExists()

getUpdateSourceQuery

public UpdateSourceQuery getUpdateSourceQuery()

Specified by:
getUpdateSourceQuery in interface QueryExpressionBody
Returns:
the value of the 'Update Source Query' container reference.
See Also:
QueryExpressionBody.setUpdateSourceQuery(UpdateSourceQuery), SQLQueryModelPackage.getQueryExpressionBody_UpdateSourceQuery(), UpdateSourceQuery.getQueryExpr()

basicSetUpdateSourceQuery

public org.eclipse.emf.common.notify.NotificationChain basicSetUpdateSourceQuery(UpdateSourceQuery newUpdateSourceQuery,
                                                                                 org.eclipse.emf.common.notify.NotificationChain msgs)


setUpdateSourceQuery

public void setUpdateSourceQuery(UpdateSourceQuery newUpdateSourceQuery)

Specified by:
setUpdateSourceQuery in interface QueryExpressionBody
Parameters:
newUpdateSourceQuery - the new value of the 'Update Source Query' container reference.
See Also:
QueryExpressionBody.getUpdateSourceQuery()

getWithTableSpecification

public WithTableSpecification getWithTableSpecification()

Specified by:
getWithTableSpecification in interface QueryExpressionBody
Returns:
the value of the 'With Table Specification' container reference.
See Also:
QueryExpressionBody.setWithTableSpecification(WithTableSpecification), SQLQueryModelPackage.getQueryExpressionBody_WithTableSpecification(), WithTableSpecification.getWithTableQueryExpr()

basicSetWithTableSpecification

public org.eclipse.emf.common.notify.NotificationChain basicSetWithTableSpecification(WithTableSpecification newWithTableSpecification,
                                                                                      org.eclipse.emf.common.notify.NotificationChain msgs)


setWithTableSpecification

public void setWithTableSpecification(WithTableSpecification newWithTableSpecification)

Specified by:
setWithTableSpecification in interface QueryExpressionBody
Parameters:
newWithTableSpecification - the new value of the 'With Table Specification' container reference.
See Also:
QueryExpressionBody.getWithTableSpecification()

getQueryNest

public QueryNested getQueryNest()

Specified by:
getQueryNest in interface QueryExpressionBody
Returns:
the value of the 'Query Nest' container reference.
See Also:
QueryExpressionBody.setQueryNest(QueryNested), SQLQueryModelPackage.getQueryExpressionBody_QueryNest(), QueryNested.getNestedQuery()

basicSetQueryNest

public org.eclipse.emf.common.notify.NotificationChain basicSetQueryNest(QueryNested newQueryNest,
                                                                         org.eclipse.emf.common.notify.NotificationChain msgs)


setQueryNest

public void setQueryNest(QueryNested newQueryNest)

Specified by:
setQueryNest in interface QueryExpressionBody
Parameters:
newQueryNest - the new value of the 'Query Nest' container reference.
See Also:
QueryExpressionBody.getQueryNest()

getSortSpecList

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

Specified by:
getSortSpecList in interface QueryExpressionBody
Returns:
the value of the 'Sort Spec List' containment reference list.
See Also:
SQLQueryModelPackage.getQueryExpressionBody_SortSpecList(), OrderBySpecification.getQuery()

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 TableExpressionImpl

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 TableExpressionImpl

eBasicRemoveFromContainerFeature

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

Overrides:
eBasicRemoveFromContainerFeature in class TableExpressionImpl

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 TableExpressionImpl

eSet

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

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

eUnset

public void eUnset(int featureID)

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

eIsSet

public boolean eIsSet(int featureID)

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

toString

public java.lang.String toString()

Overrides:
toString in class SQLObjectImpl