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

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.TableInDatabaseImpl
All Implemented Interfaces:
SQLQueryObject, TableExpression, TableInDatabase, 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 TableInDatabaseImpl
extends TableExpressionImpl
implements TableInDatabase

An implementation of the model object 'SQLRDB Table'.

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
 Table basicGetDatabaseTable()
           
 org.eclipse.emf.common.notify.NotificationChain basicSetDeleteStatement(QueryDeleteStatement newDeleteStatement, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 org.eclipse.emf.common.notify.NotificationChain basicSetInsertStatement(QueryInsertStatement newInsertStatement, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 org.eclipse.emf.common.notify.NotificationChain basicSetUpdateStatement(QueryUpdateStatement newUpdateStatement, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 org.eclipse.emf.common.notify.NotificationChain eBasicRemoveFromContainerFeature(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)
           
 Table getDatabaseTable()
           
 QueryDeleteStatement getDeleteStatement()
           
 org.eclipse.emf.common.util.EList getDerivedColumnList()
           
 QueryInsertStatement getInsertStatement()
           
 QueryUpdateStatement getUpdateStatement()
           
 void setDatabaseTable(Table newDatabaseTable)
           
 void setDeleteStatement(QueryDeleteStatement newDeleteStatement)
           
 void setInsertStatement(QueryInsertStatement newInsertStatement)
           
 void setUpdateStatement(QueryUpdateStatement newUpdateStatement)
           
 
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, 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, 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.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

getUpdateStatement

public QueryUpdateStatement getUpdateStatement()

Specified by:
getUpdateStatement in interface TableInDatabase
Returns:
the value of the 'Update Statement' container reference.
See Also:
TableInDatabase.setUpdateStatement(QueryUpdateStatement), SQLQueryModelPackage.getTableInDatabase_UpdateStatement(), QueryUpdateStatement.getTargetTable()

basicSetUpdateStatement

public org.eclipse.emf.common.notify.NotificationChain basicSetUpdateStatement(QueryUpdateStatement newUpdateStatement,
                                                                               org.eclipse.emf.common.notify.NotificationChain msgs)


setUpdateStatement

public void setUpdateStatement(QueryUpdateStatement newUpdateStatement)

Specified by:
setUpdateStatement in interface TableInDatabase
Parameters:
newUpdateStatement - the new value of the 'Update Statement' container reference.
See Also:
TableInDatabase.getUpdateStatement()

getDeleteStatement

public QueryDeleteStatement getDeleteStatement()

Specified by:
getDeleteStatement in interface TableInDatabase
Returns:
the value of the 'Delete Statement' container reference.
See Also:
TableInDatabase.setDeleteStatement(QueryDeleteStatement), SQLQueryModelPackage.getTableInDatabase_DeleteStatement(), QueryDeleteStatement.getTargetTable()

basicSetDeleteStatement

public org.eclipse.emf.common.notify.NotificationChain basicSetDeleteStatement(QueryDeleteStatement newDeleteStatement,
                                                                               org.eclipse.emf.common.notify.NotificationChain msgs)


setDeleteStatement

public void setDeleteStatement(QueryDeleteStatement newDeleteStatement)

Specified by:
setDeleteStatement in interface TableInDatabase
Parameters:
newDeleteStatement - the new value of the 'Delete Statement' container reference.
See Also:
TableInDatabase.getDeleteStatement()

getInsertStatement

public QueryInsertStatement getInsertStatement()

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

basicSetInsertStatement

public org.eclipse.emf.common.notify.NotificationChain basicSetInsertStatement(QueryInsertStatement newInsertStatement,
                                                                               org.eclipse.emf.common.notify.NotificationChain msgs)


setInsertStatement

public void setInsertStatement(QueryInsertStatement newInsertStatement)

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

getDatabaseTable

public Table getDatabaseTable()

Specified by:
getDatabaseTable in interface TableInDatabase
Returns:
the value of the 'Database Table' reference.
See Also:
TableInDatabase.setDatabaseTable(Table), SQLQueryModelPackage.getTableInDatabase_DatabaseTable()

basicGetDatabaseTable

public Table basicGetDatabaseTable()


setDatabaseTable

public void setDatabaseTable(Table newDatabaseTable)

Specified by:
setDatabaseTable in interface TableInDatabase
Parameters:
newDatabaseTable - the new value of the 'Database Table' reference.
See Also:
TableInDatabase.getDatabaseTable()

getDerivedColumnList

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

Specified by:
getDerivedColumnList in interface TableInDatabase
Returns:
the value of the 'Derived Column List' reference list.
See Also:
SQLQueryModelPackage.getTableInDatabase_DerivedColumnList(), ValueExpressionColumn.getTableInDatabase()

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 TableExpressionImpl

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 TableExpressionImpl

eBasicRemoveFromContainerFeature

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

Overrides:
eBasicRemoveFromContainerFeature in class TableExpressionImpl

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 TableExpressionImpl

eSet

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

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

eUnset

public void eUnset(int featureID)

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

eIsSet

public boolean eIsSet(int featureID)

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