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

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.QueryStatementImpl
                                      extended by org.eclipse.datatools.modelbase.sql.query.impl.QueryChangeStatementImpl
                                          extended by org.eclipse.datatools.modelbase.sql.query.impl.QueryDeleteStatementImpl
All Implemented Interfaces:
QueryChangeStatement, QueryDeleteStatement, QueryStatement, SQLQueryObject, SQLObject, SQLDataChangeStatement, SQLDataStatement, SQLStatement, 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 QueryDeleteStatementImpl
extends QueryChangeStatementImpl
implements QueryDeleteStatement

An implementation of the model object 'SQL Delete Statement'.

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 basicSetTargetTable(TableInDatabase newTargetTable, 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 basicSetWhereCurrentOfClause(CursorReference newWhereCurrentOfClause, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 org.eclipse.emf.common.notify.NotificationChain basicUnsetTargetTable(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)
           
 TableInDatabase getTargetTable()
           
 QuerySearchCondition getWhereClause()
           
 CursorReference getWhereCurrentOfClause()
           
 boolean isSetTargetTable()
           
 boolean isSetWhereClause()
           
 void setTargetTable(TableInDatabase newTargetTable)
           
 void setWhereClause(QuerySearchCondition newWhereClause)
           
 void setWhereCurrentOfClause(CursorReference newWhereCurrentOfClause)
           
 void unsetTargetTable()
           
 void unsetWhereClause()
           
 
Methods inherited from class org.eclipse.datatools.modelbase.sql.query.impl.QueryStatementImpl
getSQL
 
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, eBasicRemoveFromContainerFeature, 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, 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.datatools.modelbase.sql.statements.SQLStatement
getSQL, setSQL
 
Methods inherited from interface org.eclipse.datatools.modelbase.sql.statements.SQLStatement
getSQL, setSQL
 
Methods inherited from interface org.eclipse.emf.ecore.InternalEObject
eNotificationRequired
 

Method Detail

getWhereCurrentOfClause

public CursorReference getWhereCurrentOfClause()

Specified by:
getWhereCurrentOfClause in interface QueryDeleteStatement
Returns:
the value of the 'Where Current Of Clause' containment reference.
See Also:
QueryDeleteStatement.setWhereCurrentOfClause(CursorReference), SQLQueryModelPackage.getQueryDeleteStatement_WhereCurrentOfClause(), CursorReference.getDeleteStatement()

basicSetWhereCurrentOfClause

public org.eclipse.emf.common.notify.NotificationChain basicSetWhereCurrentOfClause(CursorReference newWhereCurrentOfClause,
                                                                                    org.eclipse.emf.common.notify.NotificationChain msgs)


setWhereCurrentOfClause

public void setWhereCurrentOfClause(CursorReference newWhereCurrentOfClause)

Specified by:
setWhereCurrentOfClause in interface QueryDeleteStatement
Parameters:
newWhereCurrentOfClause - the new value of the 'Where Current Of Clause' containment reference.
See Also:
QueryDeleteStatement.getWhereCurrentOfClause()

getWhereClause

public QuerySearchCondition getWhereClause()

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

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 QueryDeleteStatement
Parameters:
newWhereClause - the new value of the 'Where Clause' containment reference.
See Also:
QueryDeleteStatement.isSetWhereClause(), QueryDeleteStatement.unsetWhereClause(), QueryDeleteStatement.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 QueryDeleteStatement
See Also:
QueryDeleteStatement.isSetWhereClause(), QueryDeleteStatement.getWhereClause(), QueryDeleteStatement.setWhereClause(QuerySearchCondition)

isSetWhereClause

public boolean isSetWhereClause()

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

getTargetTable

public TableInDatabase getTargetTable()

Specified by:
getTargetTable in interface QueryDeleteStatement
Returns:
the value of the 'Target Table' containment reference.
See Also:
QueryDeleteStatement.isSetTargetTable(), QueryDeleteStatement.unsetTargetTable(), QueryDeleteStatement.setTargetTable(TableInDatabase), SQLQueryModelPackage.getQueryDeleteStatement_TargetTable(), TableInDatabase.getDeleteStatement()

basicSetTargetTable

public org.eclipse.emf.common.notify.NotificationChain basicSetTargetTable(TableInDatabase newTargetTable,
                                                                           org.eclipse.emf.common.notify.NotificationChain msgs)


setTargetTable

public void setTargetTable(TableInDatabase newTargetTable)

Specified by:
setTargetTable in interface QueryDeleteStatement
Parameters:
newTargetTable - the new value of the 'Target Table' containment reference.
See Also:
QueryDeleteStatement.isSetTargetTable(), QueryDeleteStatement.unsetTargetTable(), QueryDeleteStatement.getTargetTable()

basicUnsetTargetTable

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


unsetTargetTable

public void unsetTargetTable()

Specified by:
unsetTargetTable in interface QueryDeleteStatement
See Also:
QueryDeleteStatement.isSetTargetTable(), QueryDeleteStatement.getTargetTable(), QueryDeleteStatement.setTargetTable(TableInDatabase)

isSetTargetTable

public boolean isSetTargetTable()

Specified by:
isSetTargetTable in interface QueryDeleteStatement
Returns:
whether the value of the 'Target Table' containment reference is set.
See Also:
QueryDeleteStatement.unsetTargetTable(), QueryDeleteStatement.getTargetTable(), QueryDeleteStatement.setTargetTable(TableInDatabase)

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

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