@Deprecated
public class DBSchema
extends org.eclipse.net4j.internal.db.ddl.DBSchema
IDBSchemaElement.SchemaElementTypeIContainer.Modifiable<E>, IContainer.Persistable<E>, IContainer.Persistence<E>NO_TABLES| Modifier | Constructor and Description |
|---|---|
protected |
DBSchema()
Deprecated.
Constructor for deserialization.
|
|
DBSchema(IDBSchema source)
Deprecated.
|
|
DBSchema(java.lang.String name)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addListener(IListener listener)
Deprecated.
|
IDBTable |
addTable(java.lang.String name)
Deprecated.
|
void |
assertUnlocked()
Deprecated.
|
java.util.Set<IDBTable> |
create(IDBAdapter dbAdapter,
java.sql.Connection connection)
Deprecated.
|
java.util.Set<IDBTable> |
create(IDBAdapter dbAdapter,
javax.sql.DataSource dataSource)
Deprecated.
|
java.util.Set<IDBTable> |
create(IDBAdapter dbAdapter,
IDBConnectionProvider connectionProvider)
Deprecated.
|
void |
drop(IDBAdapter dbAdapter,
java.sql.Connection connection)
Deprecated.
|
void |
drop(IDBAdapter dbAdapter,
javax.sql.DataSource dataSource)
Deprecated.
|
void |
drop(IDBAdapter dbAdapter,
IDBConnectionProvider connectionProvider)
Deprecated.
|
void |
export(java.sql.Connection connection,
java.io.PrintStream out)
Deprecated.
|
void |
export(javax.sql.DataSource dataSource,
java.io.PrintStream out)
Deprecated.
|
void |
export(IDBConnectionProvider connectionProvider,
java.io.PrintStream out)
Deprecated.
|
protected void |
finalize()
Deprecated.
|
void |
fireEvent()
Deprecated.
|
void |
fireEvent(IEvent event)
Deprecated.
|
void |
fireEvent(IEvent event,
IListener[] listeners)
Deprecated.
|
protected void |
fireThrowable(java.lang.Throwable throwable)
Deprecated.
|
protected void |
firstListenerAdded()
Deprecated.
|
java.lang.String |
getFullName()
Deprecated.
|
IListener[] |
getListeners()
Deprecated.
|
java.lang.String |
getName()
Deprecated.
|
protected java.util.concurrent.ExecutorService |
getNotificationService()
Deprecated.
|
IDBSchema |
getSchema()
Deprecated.
|
IDBTable |
getTable(java.lang.String name)
Deprecated.
|
IDBTable[] |
getTables()
Deprecated.
|
boolean |
hasListeners()
Deprecated.
|
boolean |
isLocked()
Deprecated.
|
protected void |
lastListenerRemoved()
Deprecated.
|
boolean |
lock()
Deprecated.
|
void |
removeListener(IListener listener)
Deprecated.
|
IDBTable |
removeTable(java.lang.String name)
Deprecated.
|
java.lang.String |
toString()
Deprecated.
|
collectElements, compare, createIndexName, doAccept, findElement, getParent, getSchemaElementType, getTableSafe, getWrapper, remove, unlockaccept, compareTo, dump, dumpAdditionalProperties, equals, getElement, getElements, hashCode, isEmpty, resetElements, setWrapperdump, dumpToString, findElement, name, setNamesetWrapperaccept, getElement, setNamegetElements, isEmptydump, dump, dumpToString, setNamegetPropertiespublic DBSchema(java.lang.String name)
public DBSchema(IDBSchema source)
protected DBSchema()
public IDBSchema getSchema()
getSchema in interface IDBSchemaElementgetSchema in class org.eclipse.net4j.internal.db.ddl.DBSchemapublic java.lang.String getFullName()
getFullName in interface IDBSchemaElementgetFullName in class org.eclipse.net4j.internal.db.ddl.DBSchemapublic IDBTable addTable(java.lang.String name) throws DBException
addTable in interface IDBSchemaaddTable in interface InternalDBSchemaaddTable in class org.eclipse.net4j.internal.db.ddl.DBSchemaDBExceptionpublic IDBTable removeTable(java.lang.String name)
removeTable in interface IDBSchemaremoveTable in interface InternalDBSchemaremoveTable in class org.eclipse.net4j.internal.db.ddl.DBSchemapublic IDBTable getTable(java.lang.String name)
public IDBTable[] getTables()
public boolean isLocked()
public boolean lock()
lock in interface InternalDBSchemalock in class org.eclipse.net4j.internal.db.ddl.DBSchemapublic void assertUnlocked()
throws DBException
assertUnlocked in interface InternalDBSchemaassertUnlocked in class org.eclipse.net4j.internal.db.ddl.DBSchemaDBExceptionpublic java.util.Set<IDBTable> create(IDBAdapter dbAdapter, java.sql.Connection connection) throws DBException
create in interface IDBSchemacreate in class org.eclipse.net4j.internal.db.ddl.DBSchemaDBExceptionpublic java.util.Set<IDBTable> create(IDBAdapter dbAdapter, javax.sql.DataSource dataSource) throws DBException
create in interface IDBSchemacreate in class org.eclipse.net4j.internal.db.ddl.DBSchemaDBExceptionpublic java.util.Set<IDBTable> create(IDBAdapter dbAdapter, IDBConnectionProvider connectionProvider) throws DBException
create in interface IDBSchemacreate in class org.eclipse.net4j.internal.db.ddl.DBSchemaDBExceptionpublic void drop(IDBAdapter dbAdapter, java.sql.Connection connection) throws DBException
drop in interface IDBSchemadrop in class org.eclipse.net4j.internal.db.ddl.DBSchemaDBExceptionpublic void drop(IDBAdapter dbAdapter, javax.sql.DataSource dataSource) throws DBException
drop in interface IDBSchemadrop in class org.eclipse.net4j.internal.db.ddl.DBSchemaDBExceptionpublic void drop(IDBAdapter dbAdapter, IDBConnectionProvider connectionProvider) throws DBException
drop in interface IDBSchemadrop in class org.eclipse.net4j.internal.db.ddl.DBSchemaDBExceptionpublic void export(java.sql.Connection connection,
java.io.PrintStream out)
throws DBException
export in interface IDBSchemaexport in class org.eclipse.net4j.internal.db.ddl.DBSchemaDBExceptionpublic void export(javax.sql.DataSource dataSource,
java.io.PrintStream out)
throws DBException
export in interface IDBSchemaexport in class org.eclipse.net4j.internal.db.ddl.DBSchemaDBExceptionpublic void export(IDBConnectionProvider connectionProvider, java.io.PrintStream out) throws DBException
export in interface IDBSchemaexport in class org.eclipse.net4j.internal.db.ddl.DBSchemaDBExceptionpublic java.lang.String getName()
getName in interface IDBNamedElementgetName in class org.eclipse.net4j.internal.db.ddl.DBNamedElementpublic java.lang.String toString()
toString in class org.eclipse.net4j.internal.db.ddl.DBNamedElementpublic void addListener(IListener listener)
addListener in interface INotifieraddListener in class Notifierpublic void removeListener(IListener listener)
removeListener in interface INotifierremoveListener in class Notifierpublic boolean hasListeners()
hasListeners in interface INotifierhasListeners in class Notifierpublic IListener[] getListeners()
getListeners in interface INotifiergetListeners in class Notifierprotected void fireThrowable(java.lang.Throwable throwable)
fireThrowable in class Notifierprotected java.util.concurrent.ExecutorService getNotificationService()
getNotificationService in class Notifierprotected void firstListenerAdded()
firstListenerAdded in class Notifierprotected void lastListenerRemoved()
lastListenerRemoved in class Notifierprotected void finalize()
throws java.lang.Throwable
finalize in class java.lang.Objectjava.lang.ThrowableCopyright (c) 2004-2019 Eike Stepper (Loehne, Germany) and others.
All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html