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

java.lang.Object
  extended byENamedElementImpl
      extended byorg.eclipse.datatools.modelbase.sql.schema.impl.SQLObjectImpl
          extended byorg.eclipse.datatools.modelbase.sql.query.impl.SQLQueryObjectImpl
              extended byorg.eclipse.datatools.modelbase.sql.query.impl.QueryStatementImpl
                  extended byorg.eclipse.datatools.modelbase.sql.query.impl.QueryChangeStatementImpl
                      extended byorg.eclipse.datatools.modelbase.sql.query.impl.QueryUpdateStatementImpl
All Implemented Interfaces:
QueryChangeStatement, QueryStatement, QueryUpdateStatement, SQLDataChangeStatement, SQLDataStatement, SQLObject, SQLQueryObject, SQLStatement

public class QueryUpdateStatementImpl
extends QueryChangeStatementImpl
implements QueryUpdateStatement

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

The following features are implemented:

See Also:
Serialized Form

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)
           
 EList getAssignmentClause()
           
 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, createDataObject, createDataObject, createDataObject, createDataObject, createDataObject, delete, get, get, getBigDecimal, getBigDecimal, getBigInteger, getBigInteger, getBoolean, getBoolean, getByte, getByte, getBytes, getBytes, getChar, getChar, getComments, getContainer, getContainmentProperty, getDataGraph, getDataObject, getDataObject, getDate, getDate, getDependencies, getDescription, getDouble, getDouble, getEAnnotation, getEAnnotationDetail, getFloat, getFloat, getInstanceProperties, getInt, getInt, getLabel, getList, getList, getLong, getLong, getPrivileges, getSequence, getSequence, getShort, getShort, getString, getString, getType, isSet, isSet, removeEAnnotationDetail, set, set, setAnnotationDetail, setBigDecimal, setBigDecimal, setBigInteger, setBigInteger, setBoolean, setBoolean, setByte, setByte, setBytes, setBytes, setChar, setChar, setDataObject, setDataObject, setDate, setDate, setDescription, setDouble, setDouble, setFloat, setFloat, setInt, setInt, setLabel, setList, setList, setLong, setLong, setShort, setShort, setString, setString, toString, unset, unset, writeReplace
 
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
 

Method Detail

getAssignmentClause

public EList getAssignmentClause()

Specified by:
getAssignmentClause in interface QueryUpdateStatement
Returns:
the value of the 'Assignment Clause' containment reference list.
See Also:
SQLQueryModelPackage.getQueryUpdateStatement_AssignmentClause(), UpdateAssignmentExpression.getUpdateStatement()

getWhereCurrentOfClause

public CursorReference getWhereCurrentOfClause()

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

basicSetWhereCurrentOfClause

public NotificationChain basicSetWhereCurrentOfClause(CursorReference newWhereCurrentOfClause,
                                                      NotificationChain msgs)


setWhereCurrentOfClause

public void setWhereCurrentOfClause(CursorReference newWhereCurrentOfClause)

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

getWhereClause

public QuerySearchCondition getWhereClause()

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

basicSetWhereClause

public NotificationChain basicSetWhereClause(QuerySearchCondition newWhereClause,
                                             NotificationChain msgs)


setWhereClause

public void setWhereClause(QuerySearchCondition newWhereClause)

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

basicUnsetWhereClause

public NotificationChain basicUnsetWhereClause(NotificationChain msgs)


unsetWhereClause

public void unsetWhereClause()

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

isSetWhereClause

public boolean isSetWhereClause()

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

getTargetTable

public TableInDatabase getTargetTable()

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

basicSetTargetTable

public NotificationChain basicSetTargetTable(TableInDatabase newTargetTable,
                                             NotificationChain msgs)


setTargetTable

public void setTargetTable(TableInDatabase newTargetTable)

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

basicUnsetTargetTable

public NotificationChain basicUnsetTargetTable(NotificationChain msgs)


unsetTargetTable

public void unsetTargetTable()

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

isSetTargetTable

public boolean isSetTargetTable()

Specified by:
isSetTargetTable in interface QueryUpdateStatement
Returns:
whether the value of the 'Target Table' containment reference is set.
See Also:
QueryUpdateStatement.unsetTargetTable(), QueryUpdateStatement.getTargetTable(), QueryUpdateStatement.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 © 2007 Actuate, IBM Corporation, Sybase, Inc. and others. All rights reserved.