Class DBSchema

java.lang.Object
org.eclipse.net4j.util.event.Notifier
org.eclipse.net4j.internal.db.ddl.DBElement
org.eclipse.net4j.internal.db.ddl.DBNamedElement
org.eclipse.net4j.internal.db.ddl.DBSchemaElement
org.eclipse.net4j.internal.db.ddl.DBSchema
org.eclipse.net4j.spi.db.DBSchema
All Implemented Interfaces:
Serializable, Comparable<IDBSchemaElement>, IDBElement, IDBNamedElement, IDBSchema, IDBSchemaElement, InternalDBElement, InternalDBNamedElement, InternalDBSchema, InternalDBSchemaElement, org.eclipse.net4j.util.container.IContainer<IDBSchemaElement>, org.eclipse.net4j.util.event.INotifier, org.eclipse.net4j.util.event.INotifier.INotifier2

@Deprecated public class DBSchema extends org.eclipse.net4j.internal.db.ddl.DBSchema
Author:
Eike Stepper
See Also:
  • Constructor Details

    • DBSchema

      public DBSchema(String name)
      Deprecated.
    • DBSchema

      public DBSchema(IDBSchema source)
      Deprecated.
      Since:
      4.2
    • DBSchema

      protected DBSchema()
      Deprecated.
      Constructor for deserialization.
      Since:
      4.2
  • Method Details

    • getSchema

      public IDBSchema getSchema()
      Deprecated.
      Specified by:
      getSchema in interface IDBSchemaElement
      Overrides:
      getSchema in class org.eclipse.net4j.internal.db.ddl.DBSchema
    • getFullName

      public String getFullName()
      Deprecated.
      Specified by:
      getFullName in interface IDBSchemaElement
      Overrides:
      getFullName in class org.eclipse.net4j.internal.db.ddl.DBSchema
    • addTable

      public IDBTable addTable(String name) throws DBException
      Deprecated.
      Specified by:
      addTable in interface IDBSchema
      Specified by:
      addTable in interface InternalDBSchema
      Overrides:
      addTable in class org.eclipse.net4j.internal.db.ddl.DBSchema
      Throws:
      DBException
    • removeTable

      public IDBTable removeTable(String name)
      Deprecated.
      Specified by:
      removeTable in interface IDBSchema
      Specified by:
      removeTable in interface InternalDBSchema
      Overrides:
      removeTable in class org.eclipse.net4j.internal.db.ddl.DBSchema
    • getTable

      public IDBTable getTable(String name)
      Deprecated.
      Specified by:
      getTable in interface IDBSchema
      Overrides:
      getTable in class org.eclipse.net4j.internal.db.ddl.DBSchema
    • getTables

      public IDBTable[] getTables()
      Deprecated.
      Specified by:
      getTables in interface IDBSchema
      Overrides:
      getTables in class org.eclipse.net4j.internal.db.ddl.DBSchema
    • isLocked

      public boolean isLocked()
      Deprecated.
      Specified by:
      isLocked in interface IDBSchema
      Overrides:
      isLocked in class org.eclipse.net4j.internal.db.ddl.DBSchema
    • lock

      public boolean lock()
      Deprecated.
      Specified by:
      lock in interface InternalDBSchema
      Overrides:
      lock in class org.eclipse.net4j.internal.db.ddl.DBSchema
    • assertUnlocked

      public void assertUnlocked() throws DBException
      Deprecated.
      Specified by:
      assertUnlocked in interface InternalDBSchema
      Overrides:
      assertUnlocked in class org.eclipse.net4j.internal.db.ddl.DBSchema
      Throws:
      DBException
    • create

      public Set<IDBTable> create(IDBAdapter dbAdapter, Connection connection) throws DBException
      Deprecated.
      Specified by:
      create in interface IDBSchema
      Overrides:
      create in class org.eclipse.net4j.internal.db.ddl.DBSchema
      Throws:
      DBException
    • create

      public Set<IDBTable> create(IDBAdapter dbAdapter, DataSource dataSource) throws DBException
      Deprecated.
      Specified by:
      create in interface IDBSchema
      Overrides:
      create in class org.eclipse.net4j.internal.db.ddl.DBSchema
      Throws:
      DBException
    • create

      public Set<IDBTable> create(IDBAdapter dbAdapter, IDBConnectionProvider connectionProvider) throws DBException
      Deprecated.
      Specified by:
      create in interface IDBSchema
      Overrides:
      create in class org.eclipse.net4j.internal.db.ddl.DBSchema
      Throws:
      DBException
    • drop

      public void drop(IDBAdapter dbAdapter, Connection connection) throws DBException
      Deprecated.
      Specified by:
      drop in interface IDBSchema
      Overrides:
      drop in class org.eclipse.net4j.internal.db.ddl.DBSchema
      Throws:
      DBException
    • drop

      public void drop(IDBAdapter dbAdapter, DataSource dataSource) throws DBException
      Deprecated.
      Specified by:
      drop in interface IDBSchema
      Overrides:
      drop in class org.eclipse.net4j.internal.db.ddl.DBSchema
      Throws:
      DBException
    • drop

      public void drop(IDBAdapter dbAdapter, IDBConnectionProvider connectionProvider) throws DBException
      Deprecated.
      Specified by:
      drop in interface IDBSchema
      Overrides:
      drop in class org.eclipse.net4j.internal.db.ddl.DBSchema
      Throws:
      DBException
    • export

      public void export(Connection connection, PrintStream out) throws DBException
      Deprecated.
      Specified by:
      export in interface IDBSchema
      Overrides:
      export in class org.eclipse.net4j.internal.db.ddl.DBSchema
      Throws:
      DBException
    • export

      public void export(DataSource dataSource, PrintStream out) throws DBException
      Deprecated.
      Specified by:
      export in interface IDBSchema
      Overrides:
      export in class org.eclipse.net4j.internal.db.ddl.DBSchema
      Throws:
      DBException
    • export

      public void export(IDBConnectionProvider connectionProvider, PrintStream out) throws DBException
      Deprecated.
      Specified by:
      export in interface IDBSchema
      Overrides:
      export in class org.eclipse.net4j.internal.db.ddl.DBSchema
      Throws:
      DBException
    • getName

      public String getName()
      Deprecated.
      Specified by:
      getName in interface IDBNamedElement
      Overrides:
      getName in class org.eclipse.net4j.internal.db.ddl.DBNamedElement
    • toString

      public String toString()
      Deprecated.
      Overrides:
      toString in class org.eclipse.net4j.internal.db.ddl.DBSchemaElement
    • addListener

      public void addListener(org.eclipse.net4j.util.event.IListener listener)
      Deprecated.
      Specified by:
      addListener in interface org.eclipse.net4j.util.event.INotifier
      Overrides:
      addListener in class org.eclipse.net4j.util.event.Notifier
    • removeListener

      public void removeListener(org.eclipse.net4j.util.event.IListener listener)
      Deprecated.
      Specified by:
      removeListener in interface org.eclipse.net4j.util.event.INotifier
      Overrides:
      removeListener in class org.eclipse.net4j.util.event.Notifier
    • hasListeners

      public boolean hasListeners()
      Deprecated.
      Specified by:
      hasListeners in interface org.eclipse.net4j.util.event.INotifier
      Overrides:
      hasListeners in class org.eclipse.net4j.util.event.Notifier
    • getListeners

      public org.eclipse.net4j.util.event.IListener[] getListeners()
      Deprecated.
      Specified by:
      getListeners in interface org.eclipse.net4j.util.event.INotifier
      Overrides:
      getListeners in class org.eclipse.net4j.util.event.Notifier
    • fireEvent

      public void fireEvent()
      Deprecated.
      Overrides:
      fireEvent in class org.eclipse.net4j.util.event.Notifier
    • fireEvent

      public void fireEvent(org.eclipse.net4j.util.event.IEvent event)
      Deprecated.
      Overrides:
      fireEvent in class org.eclipse.net4j.util.event.Notifier
    • fireEvent

      public void fireEvent(org.eclipse.net4j.util.event.IEvent event, org.eclipse.net4j.util.event.IListener[] listeners)
      Deprecated.
      Overrides:
      fireEvent in class org.eclipse.net4j.util.event.Notifier
    • fireThrowable

      protected void fireThrowable(Throwable throwable)
      Deprecated.
      Overrides:
      fireThrowable in class org.eclipse.net4j.util.event.Notifier
    • getNotificationService

      protected ExecutorService getNotificationService()
      Deprecated.
      Overrides:
      getNotificationService in class org.eclipse.net4j.util.event.Notifier
    • firstListenerAdded

      protected void firstListenerAdded()
      Deprecated.
      Overrides:
      firstListenerAdded in class org.eclipse.net4j.util.event.Notifier
    • lastListenerRemoved

      protected void lastListenerRemoved()
      Deprecated.
      Overrides:
      lastListenerRemoved in class org.eclipse.net4j.util.event.Notifier
    • finalize

      protected void finalize() throws Throwable
      Deprecated.
      Overrides:
      finalize in class Object
      Throws:
      Throwable