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

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.QueryInsertStatementImpl
All Implemented Interfaces:
QueryChangeStatement, QueryInsertStatement, 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 QueryInsertStatementImpl
extends QueryChangeStatementImpl
implements QueryInsertStatement

An implementation of the model object 'SQL Insert 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 basicSetSourceQuery(QueryExpressionRoot newSourceQuery, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 org.eclipse.emf.common.notify.NotificationChain basicSetTargetTable(TableInDatabase newTargetTable, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 org.eclipse.emf.common.notify.NotificationChain basicUnsetTargetTable(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)
           
 QueryExpressionRoot getSourceQuery()
           
 org.eclipse.emf.common.util.EList getSourceValuesRowList()
           
 org.eclipse.emf.common.util.EList getTargetColumnList()
           
 TableInDatabase getTargetTable()
           
 boolean isSetTargetTable()
           
 void setSourceQuery(QueryExpressionRoot newSourceQuery)
           
 void setTargetTable(TableInDatabase newTargetTable)
           
 void unsetTargetTable()
           
 
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

getSourceQuery

public QueryExpressionRoot getSourceQuery()

Specified by:
getSourceQuery in interface QueryInsertStatement
Returns:
the value of the 'Source Query' containment reference.
See Also:
QueryInsertStatement.setSourceQuery(QueryExpressionRoot), SQLQueryModelPackage.getQueryInsertStatement_SourceQuery(), QueryExpressionRoot.getInsertStatement()

basicSetSourceQuery

public org.eclipse.emf.common.notify.NotificationChain basicSetSourceQuery(QueryExpressionRoot newSourceQuery,
                                                                           org.eclipse.emf.common.notify.NotificationChain msgs)


setSourceQuery

public void setSourceQuery(QueryExpressionRoot newSourceQuery)

Specified by:
setSourceQuery in interface QueryInsertStatement
Parameters:
newSourceQuery - the new value of the 'Source Query' containment reference.
See Also:
QueryInsertStatement.getSourceQuery()

getSourceValuesRowList

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

Specified by:
getSourceValuesRowList in interface QueryInsertStatement
Returns:
the value of the 'Source Values Row List' containment reference list.
See Also:
SQLQueryModelPackage.getQueryInsertStatement_SourceValuesRowList(), ValuesRow.getInsertStatement()

getTargetTable

public TableInDatabase getTargetTable()

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

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 QueryInsertStatement
Parameters:
newTargetTable - the new value of the 'Target Table' containment reference.
See Also:
QueryInsertStatement.isSetTargetTable(), QueryInsertStatement.unsetTargetTable(), QueryInsertStatement.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 QueryInsertStatement
See Also:
QueryInsertStatement.isSetTargetTable(), QueryInsertStatement.getTargetTable(), QueryInsertStatement.setTargetTable(TableInDatabase)

isSetTargetTable

public boolean isSetTargetTable()

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

getTargetColumnList

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

Specified by:
getTargetColumnList in interface QueryInsertStatement
Returns:
the value of the 'Target Column List' reference list.
See Also:
SQLQueryModelPackage.getQueryInsertStatement_TargetColumnList(), ValueExpressionColumn.getInsertStatement()

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