|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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
DBUtil.createSchema(String)
, DBUtil.readSchema(IDBAdapter, Connection, IDBSchema)
,
DBUtil.readSchema(IDBAdapter, Connection, String)
or DBUtil.copySchema(IDBSchema)
.
@Deprecated public class DBSchema
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.eclipse.net4j.db.ddl.IDBSchemaElement |
---|
IDBSchemaElement.SchemaElementType |
Nested classes/interfaces inherited from interface org.eclipse.net4j.util.container.IContainer |
---|
IContainer.Modifiable<E> |
Field Summary |
---|
Fields inherited from interface org.eclipse.net4j.spi.db.ddl.InternalDBSchema |
---|
NO_TABLES |
Constructor Summary | |
---|---|
protected |
DBSchema()
Deprecated. Constructor for deserialization. |
|
DBSchema(IDBSchema source)
Deprecated. |
|
DBSchema(String name)
Deprecated. |
Method Summary | |
---|---|
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. |
Methods inherited from class org.eclipse.net4j.internal.db.ddl.DBSchema |
---|
collectElements, compare, createIndexName, doAccept, findElement, getParent, getSchemaElementType, getTableSafe, getWrapper, 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, name, setName |
Methods inherited from class org.eclipse.net4j.internal.db.ddl.DBElement |
---|
getProperties |
Methods inherited from class java.lang.Object |
---|
clone, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.eclipse.net4j.spi.db.ddl.InternalDBSchemaElement |
---|
setWrapper |
Methods inherited from interface org.eclipse.net4j.db.ddl.IDBSchemaElement |
---|
accept, getElement, setName |
Methods inherited from interface org.eclipse.net4j.util.container.IContainer |
---|
getElements, isEmpty |
Methods inherited from interface java.lang.Comparable |
---|
compareTo |
Methods inherited from interface org.eclipse.net4j.spi.db.ddl.InternalDBNamedElement |
---|
dump, dump, dumpToString, setName |
Methods inherited from interface org.eclipse.net4j.db.ddl.IDBElement |
---|
getProperties |
Constructor Detail |
---|
public DBSchema(String name)
public DBSchema(IDBSchema source)
protected DBSchema()
Method Detail |
---|
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 getTable(String name)
getTable
in interface IDBSchema
getTable
in class org.eclipse.net4j.internal.db.ddl.DBSchema
public IDBTable[] getTables()
getTables
in interface IDBSchema
getTables
in class org.eclipse.net4j.internal.db.ddl.DBSchema
public boolean isLocked()
isLocked
in interface IDBSchema
isLocked
in class org.eclipse.net4j.internal.db.ddl.DBSchema
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
public void fireEvent()
fireEvent
in class Notifier
public void fireEvent(IEvent event)
fireEvent
in class Notifier
public void fireEvent(IEvent event, IListener[] listeners)
fireEvent
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
protected void finalize() throws Throwable
finalize
in class Object
Throwable
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |