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

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
                                              extended by org.eclipse.datatools.modelbase.sql.query.impl.QuerySelectImpl
All Implemented Interfaces:
QueryExpressionBody, QuerySelect, 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

public class QuerySelectImpl
extends QueryExpressionBodyImpl
implements QuerySelect

An implementation of the model object 'Select'.

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 basicSetHavingClause(QuerySearchCondition newHavingClause, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 org.eclipse.emf.common.notify.NotificationChain basicSetWhereClause(QuerySearchCondition newWhereClause, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 org.eclipse.emf.common.notify.NotificationChain basicUnsetHavingClause(org.eclipse.emf.common.notify.NotificationChain msgs)
           
 org.eclipse.emf.common.notify.NotificationChain basicUnsetWhereClause(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)
           
 org.eclipse.emf.common.util.EList getFromClause()
           
 org.eclipse.emf.common.util.EList getGroupByClause()
           
 QuerySearchCondition getHavingClause()
           
 org.eclipse.emf.common.util.EList getIntoClause()
           
 org.eclipse.emf.common.util.EList getSelectClause()
           
 QuerySearchCondition getWhereClause()
           
 boolean isDistinct()
           
 boolean isSetHavingClause()
           
 boolean isSetWhereClause()
           
 void setDistinct(boolean newDistinct)
           
 void setHavingClause(QuerySearchCondition newHavingClause)
           
 void setWhereClause(QuerySearchCondition newWhereClause)
           
 java.lang.String toString()
           
 void unsetHavingClause()
           
 void unsetWhereClause()
           
 
Methods inherited from class org.eclipse.datatools.modelbase.sql.query.impl.QueryExpressionBodyImpl
basicSetCombinedLeft, basicSetCombinedRight, basicSetPredicateExists, basicSetQueryExpression, basicSetQueryNest, basicSetUpdateSourceQuery, basicSetWithTableSpecification, eBasicRemoveFromContainerFeature, getCombinedLeft, getCombinedRight, getPredicateExists, getQueryExpression, getQueryNest, getRowFetchLimit, getSortSpecList, getUpdateSourceQuery, getWithTableSpecification, setCombinedLeft, setCombinedRight, setPredicateExists, setQueryExpression, setQueryNest, setRowFetchLimit, setUpdateSourceQuery, setWithTableSpecification
 
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.QueryExpressionBody
getCombinedLeft, getCombinedRight, getPredicateExists, getQueryExpression, getQueryNest, getRowFetchLimit, getSortSpecList, getUpdateSourceQuery, getWithTableSpecification, setCombinedLeft, setCombinedRight, setPredicateExists, setQueryExpression, setQueryNest, setRowFetchLimit, setUpdateSourceQuery, setWithTableSpecification
 
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

isDistinct

public boolean isDistinct()

Specified by:
isDistinct in interface QuerySelect
Returns:
the value of the 'Distinct' attribute.
See Also:
QuerySelect.setDistinct(boolean), SQLQueryModelPackage.getQuerySelect_Distinct()

setDistinct

public void setDistinct(boolean newDistinct)

Specified by:
setDistinct in interface QuerySelect
Parameters:
newDistinct - the new value of the 'Distinct' attribute.
See Also:
QuerySelect.isDistinct()

getHavingClause

public QuerySearchCondition getHavingClause()

Specified by:
getHavingClause in interface QuerySelect
Returns:
the value of the 'Having Clause' containment reference.
See Also:
QuerySelect.isSetHavingClause(), QuerySelect.unsetHavingClause(), QuerySelect.setHavingClause(QuerySearchCondition), SQLQueryModelPackage.getQuerySelect_HavingClause(), QuerySearchCondition.getQuerySelectHaving()

basicSetHavingClause

public org.eclipse.emf.common.notify.NotificationChain basicSetHavingClause(QuerySearchCondition newHavingClause,
                                                                            org.eclipse.emf.common.notify.NotificationChain msgs)


setHavingClause

public void setHavingClause(QuerySearchCondition newHavingClause)

Specified by:
setHavingClause in interface QuerySelect
Parameters:
newHavingClause - the new value of the 'Having Clause' containment reference.
See Also:
QuerySelect.isSetHavingClause(), QuerySelect.unsetHavingClause(), QuerySelect.getHavingClause()

basicUnsetHavingClause

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


unsetHavingClause

public void unsetHavingClause()

Specified by:
unsetHavingClause in interface QuerySelect
See Also:
QuerySelect.isSetHavingClause(), QuerySelect.getHavingClause(), QuerySelect.setHavingClause(QuerySearchCondition)

isSetHavingClause

public boolean isSetHavingClause()

Specified by:
isSetHavingClause in interface QuerySelect
Returns:
whether the value of the 'Having Clause' containment reference is set.
See Also:
QuerySelect.unsetHavingClause(), QuerySelect.getHavingClause(), QuerySelect.setHavingClause(QuerySearchCondition)

getWhereClause

public QuerySearchCondition getWhereClause()

Specified by:
getWhereClause in interface QuerySelect
Returns:
the value of the 'Where Clause' containment reference.
See Also:
QuerySelect.isSetWhereClause(), QuerySelect.unsetWhereClause(), QuerySelect.setWhereClause(QuerySearchCondition), SQLQueryModelPackage.getQuerySelect_WhereClause(), QuerySearchCondition.getQuerySelectWhere()

basicSetWhereClause

public org.eclipse.emf.common.notify.NotificationChain basicSetWhereClause(QuerySearchCondition newWhereClause,
                                                                           org.eclipse.emf.common.notify.NotificationChain msgs)


setWhereClause

public void setWhereClause(QuerySearchCondition newWhereClause)

Specified by:
setWhereClause in interface QuerySelect
Parameters:
newWhereClause - the new value of the 'Where Clause' containment reference.
See Also:
QuerySelect.isSetWhereClause(), QuerySelect.unsetWhereClause(), QuerySelect.getWhereClause()

basicUnsetWhereClause

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


unsetWhereClause

public void unsetWhereClause()

Specified by:
unsetWhereClause in interface QuerySelect
See Also:
QuerySelect.isSetWhereClause(), QuerySelect.getWhereClause(), QuerySelect.setWhereClause(QuerySearchCondition)

isSetWhereClause

public boolean isSetWhereClause()

Specified by:
isSetWhereClause in interface QuerySelect
Returns:
whether the value of the 'Where Clause' containment reference is set.
See Also:
QuerySelect.unsetWhereClause(), QuerySelect.getWhereClause(), QuerySelect.setWhereClause(QuerySearchCondition)

getGroupByClause

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

Specified by:
getGroupByClause in interface QuerySelect
Returns:
the value of the 'Group By Clause' containment reference list.
See Also:
SQLQueryModelPackage.getQuerySelect_GroupByClause(), GroupingSpecification.getQuerySelect()

getSelectClause

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

Specified by:
getSelectClause in interface QuerySelect
Returns:
the value of the 'Select Clause' containment reference list.
See Also:
SQLQueryModelPackage.getQuerySelect_SelectClause(), QueryResultSpecification.getQuerySelect()

getFromClause

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

Specified by:
getFromClause in interface QuerySelect
Returns:
the value of the 'From Clause' containment reference list.
See Also:
SQLQueryModelPackage.getQuerySelect_FromClause(), TableReference.getQuerySelect()

getIntoClause

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

Specified by:
getIntoClause in interface QuerySelect
Returns:
the value of the 'Into Clause' containment reference list.
See Also:
SQLQueryModelPackage.getQuerySelect_IntoClause(), ValueExpressionVariable.getQuerySelect()

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 QueryExpressionBodyImpl

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 QueryExpressionBodyImpl

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 QueryExpressionBodyImpl

eSet

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

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

eUnset

public void eUnset(int featureID)

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

eIsSet

public boolean eIsSet(int featureID)

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

toString

public java.lang.String toString()

Overrides:
toString in class QueryExpressionBodyImpl