Package org.eclipse.net4j.spi.db
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.
- Author:
- Eike Stepper
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.eclipse.net4j.util.container.IContainer
org.eclipse.net4j.util.container.IContainer.Modifiable<E extends Object>, org.eclipse.net4j.util.container.IContainer.Persistable<E extends Object>, org.eclipse.net4j.util.container.IContainer.Persistence<E extends Object>
Nested classes/interfaces inherited from interface org.eclipse.net4j.db.ddl.IDBSchemaElement
IDBSchemaElement.SchemaElementType
Nested classes/interfaces inherited from interface org.eclipse.net4j.util.event.INotifier
org.eclipse.net4j.util.event.INotifier.INotifier2
-
Field Summary
Fields inherited from interface org.eclipse.net4j.spi.db.ddl.InternalDBSchema
NO_TABLES
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addListener
(org.eclipse.net4j.util.event.IListener listener) Deprecated.Deprecated.void
Deprecated.create
(IDBAdapter dbAdapter, Connection connection) Deprecated.create
(IDBAdapter dbAdapter, DataSource dataSource) Deprecated.create
(IDBAdapter dbAdapter, IDBConnectionProvider connectionProvider) Deprecated.void
drop
(IDBAdapter dbAdapter, Connection connection) Deprecated.void
drop
(IDBAdapter dbAdapter, DataSource dataSource) Deprecated.void
drop
(IDBAdapter dbAdapter, IDBConnectionProvider connectionProvider) Deprecated.void
export
(Connection connection, PrintStream out) Deprecated.void
export
(DataSource dataSource, PrintStream out) Deprecated.void
export
(IDBConnectionProvider connectionProvider, PrintStream out) Deprecated.protected void
finalize()
Deprecated.void
Deprecated.void
fireEvent
(org.eclipse.net4j.util.event.IEvent event) Deprecated.void
fireEvent
(org.eclipse.net4j.util.event.IEvent event, org.eclipse.net4j.util.event.IListener[] listeners) Deprecated.protected void
fireThrowable
(Throwable throwable) Deprecated.protected void
Deprecated.Deprecated.org.eclipse.net4j.util.event.IListener[]
Deprecated.getName()
Deprecated.protected ExecutorService
Deprecated.Deprecated.Deprecated.IDBTable[]
Deprecated.boolean
Deprecated.boolean
isLocked()
Deprecated.protected void
Deprecated.boolean
lock()
Deprecated.void
removeListener
(org.eclipse.net4j.util.event.IListener listener) Deprecated.removeTable
(String name) Deprecated.toString()
Deprecated.Methods inherited from class org.eclipse.net4j.internal.db.ddl.DBSchema
collectElements, compare, compareNames, createIndexName, doAccept, equalNames, findElement, getParent, getSchemaElementType, getTableSafe, getWrapper, isCaseSensitive, isQualifiedTableNames, makeKey, remove, unlock
Methods inherited from class org.eclipse.net4j.internal.db.ddl.DBSchemaElement
accept, compareTo, dump, dumpAdditionalProperties, equals, getElement, getElements, hashCode, isEmpty, resetElements, setWrapper
Methods inherited from class org.eclipse.net4j.internal.db.ddl.DBNamedElement
dump, dumpToString, findElement, setName
Methods inherited from class org.eclipse.net4j.internal.db.ddl.DBElement
getProperties
Methods inherited from class org.eclipse.net4j.util.event.Notifier
addUniqueListener, hasListener, listenerAdded, listenerRemoved
Methods inherited from interface java.lang.Comparable
compareTo
Methods inherited from interface org.eclipse.net4j.util.container.IContainer
getElements, isEmpty
Methods inherited from interface org.eclipse.net4j.db.ddl.IDBElement
getProperties
Methods inherited from interface org.eclipse.net4j.db.ddl.IDBSchemaElement
accept, getElement, setName
Methods inherited from interface org.eclipse.net4j.spi.db.ddl.InternalDBNamedElement
dump, dump, dumpToString, setName
Methods inherited from interface org.eclipse.net4j.spi.db.ddl.InternalDBSchemaElement
setWrapper
-
Constructor Details
-
DBSchema
Deprecated. -
DBSchema
Deprecated.- Since:
- 4.2
-
DBSchema
protected DBSchema()Deprecated.Constructor for deserialization.- Since:
- 4.2
-
-
Method Details
-
getSchema
Deprecated.- Specified by:
getSchema
in interfaceIDBSchemaElement
- Overrides:
getSchema
in classorg.eclipse.net4j.internal.db.ddl.DBSchema
-
getFullName
Deprecated.- Specified by:
getFullName
in interfaceIDBSchemaElement
- Overrides:
getFullName
in classorg.eclipse.net4j.internal.db.ddl.DBSchema
-
addTable
Deprecated.- Specified by:
addTable
in interfaceIDBSchema
- Specified by:
addTable
in interfaceInternalDBSchema
- Overrides:
addTable
in classorg.eclipse.net4j.internal.db.ddl.DBSchema
- Throws:
DBException
-
removeTable
Deprecated.- Specified by:
removeTable
in interfaceIDBSchema
- Specified by:
removeTable
in interfaceInternalDBSchema
- Overrides:
removeTable
in classorg.eclipse.net4j.internal.db.ddl.DBSchema
-
getTable
Deprecated. -
getTables
Deprecated. -
isLocked
public boolean isLocked()Deprecated. -
lock
public boolean lock()Deprecated.- Specified by:
lock
in interfaceInternalDBSchema
- Overrides:
lock
in classorg.eclipse.net4j.internal.db.ddl.DBSchema
-
assertUnlocked
Deprecated.- Specified by:
assertUnlocked
in interfaceInternalDBSchema
- Overrides:
assertUnlocked
in classorg.eclipse.net4j.internal.db.ddl.DBSchema
- Throws:
DBException
-
create
Deprecated.- Specified by:
create
in interfaceIDBSchema
- Overrides:
create
in classorg.eclipse.net4j.internal.db.ddl.DBSchema
- Throws:
DBException
-
create
Deprecated.- Specified by:
create
in interfaceIDBSchema
- Overrides:
create
in classorg.eclipse.net4j.internal.db.ddl.DBSchema
- Throws:
DBException
-
create
public Set<IDBTable> create(IDBAdapter dbAdapter, IDBConnectionProvider connectionProvider) throws DBException Deprecated.- Specified by:
create
in interfaceIDBSchema
- Overrides:
create
in classorg.eclipse.net4j.internal.db.ddl.DBSchema
- Throws:
DBException
-
drop
Deprecated.- Specified by:
drop
in interfaceIDBSchema
- Overrides:
drop
in classorg.eclipse.net4j.internal.db.ddl.DBSchema
- Throws:
DBException
-
drop
Deprecated.- Specified by:
drop
in interfaceIDBSchema
- Overrides:
drop
in classorg.eclipse.net4j.internal.db.ddl.DBSchema
- Throws:
DBException
-
drop
Deprecated.- Specified by:
drop
in interfaceIDBSchema
- Overrides:
drop
in classorg.eclipse.net4j.internal.db.ddl.DBSchema
- Throws:
DBException
-
export
Deprecated.- Specified by:
export
in interfaceIDBSchema
- Overrides:
export
in classorg.eclipse.net4j.internal.db.ddl.DBSchema
- Throws:
DBException
-
export
Deprecated.- Specified by:
export
in interfaceIDBSchema
- Overrides:
export
in classorg.eclipse.net4j.internal.db.ddl.DBSchema
- Throws:
DBException
-
export
Deprecated.- Specified by:
export
in interfaceIDBSchema
- Overrides:
export
in classorg.eclipse.net4j.internal.db.ddl.DBSchema
- Throws:
DBException
-
getName
Deprecated.- Specified by:
getName
in interfaceIDBNamedElement
- Overrides:
getName
in classorg.eclipse.net4j.internal.db.ddl.DBNamedElement
-
toString
Deprecated.- Overrides:
toString
in classorg.eclipse.net4j.internal.db.ddl.DBSchemaElement
-
addListener
public void addListener(org.eclipse.net4j.util.event.IListener listener) Deprecated.- Specified by:
addListener
in interfaceorg.eclipse.net4j.util.event.INotifier
- Overrides:
addListener
in classorg.eclipse.net4j.util.event.Notifier
-
removeListener
public void removeListener(org.eclipse.net4j.util.event.IListener listener) Deprecated.- Specified by:
removeListener
in interfaceorg.eclipse.net4j.util.event.INotifier
- Overrides:
removeListener
in classorg.eclipse.net4j.util.event.Notifier
-
hasListeners
public boolean hasListeners()Deprecated.- Specified by:
hasListeners
in interfaceorg.eclipse.net4j.util.event.INotifier
- Overrides:
hasListeners
in classorg.eclipse.net4j.util.event.Notifier
-
getListeners
public org.eclipse.net4j.util.event.IListener[] getListeners()Deprecated.- Specified by:
getListeners
in interfaceorg.eclipse.net4j.util.event.INotifier
- Overrides:
getListeners
in classorg.eclipse.net4j.util.event.Notifier
-
fireEvent
public void fireEvent()Deprecated.- Overrides:
fireEvent
in classorg.eclipse.net4j.util.event.Notifier
-
fireEvent
public void fireEvent(org.eclipse.net4j.util.event.IEvent event) Deprecated.- Overrides:
fireEvent
in classorg.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 classorg.eclipse.net4j.util.event.Notifier
-
fireThrowable
Deprecated.- Overrides:
fireThrowable
in classorg.eclipse.net4j.util.event.Notifier
-
getNotificationService
Deprecated.- Overrides:
getNotificationService
in classorg.eclipse.net4j.util.event.Notifier
-
firstListenerAdded
protected void firstListenerAdded()Deprecated.- Overrides:
firstListenerAdded
in classorg.eclipse.net4j.util.event.Notifier
-
lastListenerRemoved
protected void lastListenerRemoved()Deprecated.- Overrides:
lastListenerRemoved
in classorg.eclipse.net4j.util.event.Notifier
-
finalize
Deprecated.
-
DBUtil.createSchema(String)
,DBUtil.readSchema(IDBAdapter, Connection, IDBSchema)
,DBUtil.readSchema(IDBAdapter, Connection, String)
orDBUtil.copySchema(IDBSchema)
.