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

java.lang.Object
  extended by 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

public class QueryDeleteStatementImpl
extends QueryChangeStatementImpl
implements QueryDeleteStatement

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

The following features are implemented:


Method Summary
 NotificationChain basicSetTargetTable(TableInDatabase newTargetTable, NotificationChain msgs)
           
 NotificationChain basicSetWhereClause(QuerySearchCondition newWhereClause, NotificationChain msgs)
           
 NotificationChain basicSetWhereCurrentOfClause(CursorReference newWhereCurrentOfClause, NotificationChain msgs)
           
 NotificationChain basicUnsetTargetTable(NotificationChain msgs)
           
 NotificationChain basicUnsetWhereClause(NotificationChain msgs)
           
 java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
           
 NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs)
           
 NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, 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, getLabel, getPrivileges, removeEAnnotationDetail, setAnnotationDetail, setDescription, setLabel, toString
 
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, getLabel, getPrivileges, removeEAnnotationDetail, setAnnotationDetail, setDescription, setLabel
 
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
 

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 NotificationChain basicSetWhereCurrentOfClause(CursorReference newWhereCurrentOfClause,
                                                      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 NotificationChain basicSetWhereClause(QuerySearchCondition newWhereClause,
                                             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 NotificationChain basicUnsetWhereClause(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 NotificationChain basicSetTargetTable(TableInDatabase newTargetTable,
                                             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 NotificationChain basicUnsetTargetTable(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 NotificationChain eInverseAdd(InternalEObject otherEnd,
                                     int featureID,
                                     NotificationChain msgs)

Overrides:
eInverseAdd in class SQLObjectImpl

eInverseRemove

public NotificationChain eInverseRemove(InternalEObject otherEnd,
                                        int featureID,
                                        NotificationChain msgs)

Overrides:
eInverseRemove in class SQLObjectImpl

eGet

public java.lang.Object eGet(int featureID,
                             boolean resolve,
                             boolean coreType)

Overrides:
eGet in class SQLObjectImpl

eSet

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

Overrides:
eSet in class SQLObjectImpl

eUnset

public void eUnset(int featureID)

Overrides:
eUnset in class SQLObjectImpl

eIsSet

public boolean eIsSet(int featureID)

Overrides:
eIsSet in class SQLObjectImpl


Copyright © 2006 -- 2008 Actuate, IBM Corporation, Sybase, Inc. and others. All rights reserved.