@Deprecated public class DBSchema extends org.eclipse.net4j.internal.db.ddl.DBSchema
IDBSchemaElement.SchemaElementType
IContainer.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(String name)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
addListener(IListener listener)
Deprecated.
|
IDBTable |
addTable(String name)
Deprecated.
|
void |
assertUnlocked()
Deprecated.
|
Set<IDBTable> |
create(IDBAdapter dbAdapter,
Connection connection)
Deprecated.
|
Set<IDBTable> |
create(IDBAdapter dbAdapter,
DataSource dataSource)
Deprecated.
|
Set<IDBTable> |
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 |
fireEvent()
Deprecated.
|
void |
fireEvent(IEvent event)
Deprecated.
|
void |
fireEvent(IEvent event,
IListener[] listeners)
Deprecated.
|
protected void |
fireThrowable(Throwable throwable)
Deprecated.
|
protected void |
firstListenerAdded()
Deprecated.
|
String |
getFullName()
Deprecated.
|
IListener[] |
getListeners()
Deprecated.
|
String |
getName()
Deprecated.
|
protected ExecutorService |
getNotificationService()
Deprecated.
|
IDBSchema |
getSchema()
Deprecated.
|
IDBTable |
getTable(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(String name)
Deprecated.
|
String |
toString()
Deprecated.
|
collectElements, compare, createIndexName, doAccept, findElement, getParent, getSchemaElementType, getTableSafe, getWrapper, remove, unlock
accept, compareTo, dump, dumpAdditionalProperties, equals, getElement, getElements, hashCode, isEmpty, resetElements, setWrapper
dump, dumpToString, findElement, name, setName
setWrapper
accept, getElement, setName
getElements, isEmpty
compareTo
dump, dump, dumpToString, setName
getProperties
public DBSchema(String name)
public DBSchema(IDBSchema source)
protected DBSchema()
public IDBSchema getSchema()
getSchema
in interface IDBSchemaElement
getSchema
in class org.eclipse.net4j.internal.db.ddl.DBSchema
public String getFullName()
getFullName
in interface IDBSchemaElement
getFullName
in class org.eclipse.net4j.internal.db.ddl.DBSchema
public IDBTable addTable(String name) throws DBException
addTable
in interface IDBSchema
addTable
in interface InternalDBSchema
addTable
in class org.eclipse.net4j.internal.db.ddl.DBSchema
DBException
public IDBTable removeTable(String name)
removeTable
in interface IDBSchema
removeTable
in interface InternalDBSchema
removeTable
in class org.eclipse.net4j.internal.db.ddl.DBSchema
public IDBTable[] getTables()
public boolean isLocked()
public boolean lock()
lock
in interface InternalDBSchema
lock
in class org.eclipse.net4j.internal.db.ddl.DBSchema
public void assertUnlocked() throws DBException
assertUnlocked
in interface InternalDBSchema
assertUnlocked
in class org.eclipse.net4j.internal.db.ddl.DBSchema
DBException
public Set<IDBTable> create(IDBAdapter dbAdapter, Connection connection) throws DBException
create
in interface IDBSchema
create
in class org.eclipse.net4j.internal.db.ddl.DBSchema
DBException
public Set<IDBTable> create(IDBAdapter dbAdapter, DataSource dataSource) throws DBException
create
in interface IDBSchema
create
in class org.eclipse.net4j.internal.db.ddl.DBSchema
DBException
public Set<IDBTable> create(IDBAdapter dbAdapter, IDBConnectionProvider connectionProvider) throws DBException
create
in interface IDBSchema
create
in class org.eclipse.net4j.internal.db.ddl.DBSchema
DBException
public void drop(IDBAdapter dbAdapter, Connection connection) throws DBException
drop
in interface IDBSchema
drop
in class org.eclipse.net4j.internal.db.ddl.DBSchema
DBException
public void drop(IDBAdapter dbAdapter, DataSource dataSource) throws DBException
drop
in interface IDBSchema
drop
in class org.eclipse.net4j.internal.db.ddl.DBSchema
DBException
public void drop(IDBAdapter dbAdapter, IDBConnectionProvider connectionProvider) throws DBException
drop
in interface IDBSchema
drop
in class org.eclipse.net4j.internal.db.ddl.DBSchema
DBException
public void export(Connection connection, PrintStream out) throws DBException
export
in interface IDBSchema
export
in class org.eclipse.net4j.internal.db.ddl.DBSchema
DBException
public void export(DataSource dataSource, PrintStream out) throws DBException
export
in interface IDBSchema
export
in class org.eclipse.net4j.internal.db.ddl.DBSchema
DBException
public void export(IDBConnectionProvider connectionProvider, PrintStream out) throws DBException
export
in interface IDBSchema
export
in class org.eclipse.net4j.internal.db.ddl.DBSchema
DBException
public String getName()
getName
in interface IDBNamedElement
getName
in class org.eclipse.net4j.internal.db.ddl.DBNamedElement
public String toString()
toString
in class org.eclipse.net4j.internal.db.ddl.DBNamedElement
public void addListener(IListener listener)
addListener
in interface INotifier
addListener
in class Notifier
public void removeListener(IListener listener)
removeListener
in interface INotifier
removeListener
in class Notifier
public boolean hasListeners()
hasListeners
in interface INotifier
hasListeners
in class Notifier
public IListener[] getListeners()
getListeners
in interface INotifier
getListeners
in class Notifier
protected void fireThrowable(Throwable throwable)
fireThrowable
in class Notifier
protected ExecutorService getNotificationService()
getNotificationService
in class Notifier
protected void firstListenerAdded()
firstListenerAdded
in class Notifier
protected void lastListenerRemoved()
lastListenerRemoved
in class Notifier
Copyright (c) 2011-2014 Eike Stepper (Berlin, Germany) and others.