org.eclipse.datatools.connectivity.sqm.core.rte.jdbc
Class JDBCTable

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.tables.impl.TableImpl
                                  extended by org.eclipse.datatools.modelbase.sql.tables.impl.BaseTableImpl
                                      extended by org.eclipse.datatools.modelbase.sql.tables.impl.PersistentTableImpl
                                          extended by org.eclipse.datatools.connectivity.sqm.core.rte.jdbc.JDBCTable
All Implemented Interfaces:
ICatalogObject, SQLObject, BaseTable, PersistentTable, Table, 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
Direct Known Subclasses:
IngresCatalogTable, MySqlCatalogTable, SQLServer2000JdbcTable, SQLServerJdbcTable

public class JDBCTable
extends PersistentTableImpl
implements ICatalogObject


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
 
Constructor Summary
JDBCTable()
           
 
Method Summary
 boolean eIsSet(org.eclipse.emf.ecore.EStructuralFeature eFeature)
           
 Database getCatalogDatabase()
           
 org.eclipse.emf.common.util.EList getColumns()
           
 java.sql.Connection getConnection()
           
 org.eclipse.emf.common.util.EList getConstraints()
           
 java.util.List getForeignKeys()
           
 org.eclipse.emf.common.util.EList getIndex()
           
 PrimaryKey getPrimaryKey()
           
 Table getSupertable()
           
 java.util.List getUniqueConstraints()
           
static void loadColumns(java.sql.Connection connection, org.eclipse.emf.common.util.EList columnList, Table table)
          Deprecated.  
static void loadIndexes(java.sql.Connection connection, org.eclipse.emf.common.util.EList indexList, Table table)
          Deprecated.  
 void refresh()
           
 
Methods inherited from class org.eclipse.datatools.modelbase.sql.tables.impl.BaseTableImpl
eGet, eInverseAdd, eInverseRemove, eIsSet, eSet, eUnset, getReferencingForeignKeys
 
Methods inherited from class org.eclipse.datatools.modelbase.sql.tables.impl.TableImpl
basicGetSchema, basicGetSupertable, basicGetUdt, basicSetSchema, basicSetSupertable, getSchema, getSelfRefColumnGeneration, getSubtables, getTriggers, getUdt, isInsertable, isUpdatable, setSchema, setSelfRefColumnGeneration, setSupertable, setUdt, toString
 
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
 
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, 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.tables.BaseTable
getReferencingForeignKeys
 
Methods inherited from interface org.eclipse.datatools.modelbase.sql.tables.Table
getSchema, getSelfRefColumnGeneration, getSubtables, getTriggers, getUdt, isInsertable, isUpdatable, setSchema, setSelfRefColumnGeneration, setSupertable, setUdt
 
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, 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
 

Constructor Detail

JDBCTable

public JDBCTable()
Method Detail

getConnection

public java.sql.Connection getConnection()
Specified by:
getConnection in interface ICatalogObject

getCatalogDatabase

public Database getCatalogDatabase()
Specified by:
getCatalogDatabase in interface ICatalogObject

refresh

public void refresh()
Specified by:
refresh in interface ICatalogObject

getColumns

public org.eclipse.emf.common.util.EList getColumns()
Description copied from class: TableImpl

Specified by:
getColumns in interface Table
Overrides:
getColumns in class TableImpl
Returns:
the value of the 'Columns' containment reference list.
See Also:
SQLTablesPackage.getTable_Columns(), Column.getTable()

getPrimaryKey

public PrimaryKey getPrimaryKey()
Description copied from class: BaseTableImpl

Specified by:
getPrimaryKey in interface BaseTable
Overrides:
getPrimaryKey in class BaseTableImpl

getUniqueConstraints

public java.util.List getUniqueConstraints()
Description copied from class: BaseTableImpl

Specified by:
getUniqueConstraints in interface BaseTable
Overrides:
getUniqueConstraints in class BaseTableImpl

getForeignKeys

public java.util.List getForeignKeys()
Description copied from class: BaseTableImpl

Specified by:
getForeignKeys in interface BaseTable
Overrides:
getForeignKeys in class BaseTableImpl

getConstraints

public org.eclipse.emf.common.util.EList getConstraints()
Description copied from class: BaseTableImpl

Specified by:
getConstraints in interface BaseTable
Overrides:
getConstraints in class BaseTableImpl
Returns:
the value of the 'Constraints' containment reference list.
See Also:
SQLTablesPackage.getBaseTable_Constraints(), TableConstraint.getBaseTable()

getIndex

public org.eclipse.emf.common.util.EList getIndex()
Description copied from class: TableImpl

Specified by:
getIndex in interface Table
Overrides:
getIndex in class TableImpl
Returns:
the value of the 'Index' reference list.
See Also:
SQLTablesPackage.getTable_Index(), Index.getTable()

getSupertable

public Table getSupertable()
Description copied from class: TableImpl

Specified by:
getSupertable in interface Table
Overrides:
getSupertable in class TableImpl
Returns:
the value of the 'Supertable' reference.
See Also:
Table.setSupertable(Table), SQLTablesPackage.getTable_Supertable(), Table.getSubtables()

eIsSet

public boolean eIsSet(org.eclipse.emf.ecore.EStructuralFeature eFeature)
Specified by:
eIsSet in interface org.eclipse.emf.ecore.EObject
Overrides:
eIsSet in class org.eclipse.emf.ecore.impl.BasicEObjectImpl

loadColumns

public static void loadColumns(java.sql.Connection connection,
                               org.eclipse.emf.common.util.EList columnList,
                               Table table)
                        throws java.sql.SQLException
Deprecated. 

Throws:
java.sql.SQLException

loadIndexes

public static void loadIndexes(java.sql.Connection connection,
                               org.eclipse.emf.common.util.EList indexList,
                               Table table)
                        throws java.sql.SQLException
Deprecated. 

Throws:
java.sql.SQLException