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

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.QueryExpressionRootImpl
All Implemented Interfaces:
QueryExpression, QueryExpressionRoot, SQLObject, SQLQueryObject

public class QueryExpressionRootImpl
extends SQLQueryObjectImpl
implements QueryExpressionRoot

An implementation of the model object 'Expression'.

The following features are implemented:

See Also:
Serialized Form

Method Summary
 NotificationChain basicSetInsertStatement(QueryInsertStatement newInsertStatement, NotificationChain msgs)
           
 NotificationChain basicSetInValueRowSelectRight(PredicateInValueRowSelect newInValueRowSelectRight, NotificationChain msgs)
           
 NotificationChain basicSetInValueSelectRight(PredicateInValueSelect newInValueSelectRight, NotificationChain msgs)
           
 NotificationChain basicSetQuantifiedRowSelectRight(PredicateQuantifiedRowSelect newQuantifiedRowSelectRight, NotificationChain msgs)
           
 NotificationChain basicSetQuantifiedValueSelectRight(PredicateQuantifiedValueSelect newQuantifiedValueSelectRight, NotificationChain msgs)
           
 NotificationChain basicSetQuery(QueryExpressionBody newQuery, NotificationChain msgs)
           
 NotificationChain basicSetSelectStatement(QuerySelectStatement newSelectStatement, NotificationChain msgs)
           
 NotificationChain eBasicRemoveFromContainerFeature(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)
           
 QueryInsertStatement getInsertStatement()
           
 PredicateInValueRowSelect getInValueRowSelectRight()
           
 PredicateInValueSelect getInValueSelectRight()
           
 PredicateQuantifiedRowSelect getQuantifiedRowSelectRight()
           
 PredicateQuantifiedValueSelect getQuantifiedValueSelectRight()
           
 QueryExpressionBody getQuery()
           
 QuerySelectStatement getSelectStatement()
           
 java.lang.String getSQL()
           
 EList getValueExprScalarSelects()
           
 EList getWithClause()
           
 void setInsertStatement(QueryInsertStatement newInsertStatement)
           
 void setInValueRowSelectRight(PredicateInValueRowSelect newInValueRowSelectRight)
           
 void setInValueSelectRight(PredicateInValueSelect newInValueSelectRight)
           
 void setQuantifiedRowSelectRight(PredicateQuantifiedRowSelect newQuantifiedRowSelectRight)
           
 void setQuantifiedValueSelectRight(PredicateQuantifiedValueSelect newQuantifiedValueSelectRight)
           
 void setQuery(QueryExpressionBody newQuery)
           
 void setSelectStatement(QuerySelectStatement newSelectStatement)
           
 
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, 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.expressions.QueryExpression
setSQL
 

Method Detail

getInsertStatement

public QueryInsertStatement getInsertStatement()

Specified by:
getInsertStatement in interface QueryExpressionRoot
Returns:
the value of the 'Insert Statement' container reference.
See Also:
QueryExpressionRoot.setInsertStatement(QueryInsertStatement), SQLQueryModelPackage.getQueryExpressionRoot_InsertStatement(), QueryInsertStatement.getSourceQuery()

basicSetInsertStatement

public NotificationChain basicSetInsertStatement(QueryInsertStatement newInsertStatement,
                                                 NotificationChain msgs)


setInsertStatement

public void setInsertStatement(QueryInsertStatement newInsertStatement)

Specified by:
setInsertStatement in interface QueryExpressionRoot
Parameters:
newInsertStatement - the new value of the 'Insert Statement' container reference.
See Also:
QueryExpressionRoot.getInsertStatement()

getSelectStatement

public QuerySelectStatement getSelectStatement()

Specified by:
getSelectStatement in interface QueryExpressionRoot
Returns:
the value of the 'Select Statement' container reference.
See Also:
QueryExpressionRoot.setSelectStatement(QuerySelectStatement), SQLQueryModelPackage.getQueryExpressionRoot_SelectStatement(), QuerySelectStatement.getQueryExpr()

basicSetSelectStatement

public NotificationChain basicSetSelectStatement(QuerySelectStatement newSelectStatement,
                                                 NotificationChain msgs)


setSelectStatement

public void setSelectStatement(QuerySelectStatement newSelectStatement)

Specified by:
setSelectStatement in interface QueryExpressionRoot
Parameters:
newSelectStatement - the new value of the 'Select Statement' container reference.
See Also:
QueryExpressionRoot.getSelectStatement()

getWithClause

public EList getWithClause()

Specified by:
getWithClause in interface QueryExpressionRoot
Returns:
the value of the 'With Clause' containment reference list.
See Also:
SQLQueryModelPackage.getQueryExpressionRoot_WithClause(), WithTableSpecification.getQueryExpressionRoot()

getQuery

public QueryExpressionBody getQuery()

Specified by:
getQuery in interface QueryExpressionRoot
Returns:
the value of the 'Query' containment reference.
See Also:
QueryExpressionRoot.setQuery(QueryExpressionBody), SQLQueryModelPackage.getQueryExpressionRoot_Query(), QueryExpressionBody.getQueryExpression()

basicSetQuery

public NotificationChain basicSetQuery(QueryExpressionBody newQuery,
                                       NotificationChain msgs)


setQuery

public void setQuery(QueryExpressionBody newQuery)

Specified by:
setQuery in interface QueryExpressionRoot
Parameters:
newQuery - the new value of the 'Query' containment reference.
See Also:
QueryExpressionRoot.getQuery()

getInValueRowSelectRight

public PredicateInValueRowSelect getInValueRowSelectRight()

Specified by:
getInValueRowSelectRight in interface QueryExpressionRoot
Returns:
the value of the 'In Value Row Select Right' container reference.
See Also:
QueryExpressionRoot.setInValueRowSelectRight(PredicateInValueRowSelect), SQLQueryModelPackage.getQueryExpressionRoot_InValueRowSelectRight(), PredicateInValueRowSelect.getQueryExpr()

basicSetInValueRowSelectRight

public NotificationChain basicSetInValueRowSelectRight(PredicateInValueRowSelect newInValueRowSelectRight,
                                                       NotificationChain msgs)


setInValueRowSelectRight

public void setInValueRowSelectRight(PredicateInValueRowSelect newInValueRowSelectRight)

Specified by:
setInValueRowSelectRight in interface QueryExpressionRoot
Parameters:
newInValueRowSelectRight - the new value of the 'In Value Row Select Right' container reference.
See Also:
QueryExpressionRoot.getInValueRowSelectRight()

getInValueSelectRight

public PredicateInValueSelect getInValueSelectRight()

Specified by:
getInValueSelectRight in interface QueryExpressionRoot
Returns:
the value of the 'In Value Select Right' container reference.
See Also:
QueryExpressionRoot.setInValueSelectRight(PredicateInValueSelect), SQLQueryModelPackage.getQueryExpressionRoot_InValueSelectRight(), PredicateInValueSelect.getQueryExpr()

basicSetInValueSelectRight

public NotificationChain basicSetInValueSelectRight(PredicateInValueSelect newInValueSelectRight,
                                                    NotificationChain msgs)


setInValueSelectRight

public void setInValueSelectRight(PredicateInValueSelect newInValueSelectRight)

Specified by:
setInValueSelectRight in interface QueryExpressionRoot
Parameters:
newInValueSelectRight - the new value of the 'In Value Select Right' container reference.
See Also:
QueryExpressionRoot.getInValueSelectRight()

getQuantifiedRowSelectRight

public PredicateQuantifiedRowSelect getQuantifiedRowSelectRight()

Specified by:
getQuantifiedRowSelectRight in interface QueryExpressionRoot
Returns:
the value of the 'Quantified Row Select Right' container reference.
See Also:
QueryExpressionRoot.setQuantifiedRowSelectRight(PredicateQuantifiedRowSelect), SQLQueryModelPackage.getQueryExpressionRoot_QuantifiedRowSelectRight(), PredicateQuantifiedRowSelect.getQueryExpr()

basicSetQuantifiedRowSelectRight

public NotificationChain basicSetQuantifiedRowSelectRight(PredicateQuantifiedRowSelect newQuantifiedRowSelectRight,
                                                          NotificationChain msgs)


setQuantifiedRowSelectRight

public void setQuantifiedRowSelectRight(PredicateQuantifiedRowSelect newQuantifiedRowSelectRight)

Specified by:
setQuantifiedRowSelectRight in interface QueryExpressionRoot
Parameters:
newQuantifiedRowSelectRight - the new value of the 'Quantified Row Select Right' container reference.
See Also:
QueryExpressionRoot.getQuantifiedRowSelectRight()

getQuantifiedValueSelectRight

public PredicateQuantifiedValueSelect getQuantifiedValueSelectRight()

Specified by:
getQuantifiedValueSelectRight in interface QueryExpressionRoot
Returns:
the value of the 'Quantified Value Select Right' container reference.
See Also:
QueryExpressionRoot.setQuantifiedValueSelectRight(PredicateQuantifiedValueSelect), SQLQueryModelPackage.getQueryExpressionRoot_QuantifiedValueSelectRight(), PredicateQuantifiedValueSelect.getQueryExpr()

basicSetQuantifiedValueSelectRight

public NotificationChain basicSetQuantifiedValueSelectRight(PredicateQuantifiedValueSelect newQuantifiedValueSelectRight,
                                                            NotificationChain msgs)


setQuantifiedValueSelectRight

public void setQuantifiedValueSelectRight(PredicateQuantifiedValueSelect newQuantifiedValueSelectRight)

Specified by:
setQuantifiedValueSelectRight in interface QueryExpressionRoot
Parameters:
newQuantifiedValueSelectRight - the new value of the 'Quantified Value Select Right' container reference.
See Also:
QueryExpressionRoot.getQuantifiedValueSelectRight()

getValueExprScalarSelects

public EList getValueExprScalarSelects()

Specified by:
getValueExprScalarSelects in interface QueryExpressionRoot
Returns:
the value of the 'Value Expr Scalar Selects' reference list.
See Also:
SQLQueryModelPackage.getQueryExpressionRoot_ValueExprScalarSelects(), ValueExpressionScalarSelect.getQueryExpr()

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

eBasicRemoveFromContainerFeature

public NotificationChain eBasicRemoveFromContainerFeature(NotificationChain msgs)


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

getSQL

public java.lang.String getSQL()

Specified by:
getSQL in interface SQLQueryObject
Overrides:
getSQL in class SQLQueryObjectImpl


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