|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.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 IDBSchemaElementgetSchema in class org.eclipse.net4j.internal.db.ddl.DBSchemapublic String getFullName()
getFullName in interface IDBSchemaElementgetFullName in class org.eclipse.net4j.internal.db.ddl.DBSchema
public IDBTable addTable(String name)
throws DBException
addTable in interface IDBSchemaaddTable in interface InternalDBSchemaaddTable in class org.eclipse.net4j.internal.db.ddl.DBSchemaDBExceptionpublic IDBTable removeTable(String name)
removeTable in interface IDBSchemaremoveTable in interface InternalDBSchemaremoveTable in class org.eclipse.net4j.internal.db.ddl.DBSchemapublic IDBTable getTable(String name)
getTable in interface IDBSchemagetTable in class org.eclipse.net4j.internal.db.ddl.DBSchemapublic IDBTable[] getTables()
getTables in interface IDBSchemagetTables in class org.eclipse.net4j.internal.db.ddl.DBSchemapublic boolean isLocked()
isLocked in interface IDBSchemaisLocked in class org.eclipse.net4j.internal.db.ddl.DBSchemapublic boolean lock()
lock in interface InternalDBSchemalock in class org.eclipse.net4j.internal.db.ddl.DBSchema
public void assertUnlocked()
throws DBException
assertUnlocked in interface InternalDBSchemaassertUnlocked in class org.eclipse.net4j.internal.db.ddl.DBSchemaDBException
public Set<IDBTable> create(IDBAdapter dbAdapter,
Connection connection)
throws DBException
create in interface IDBSchemacreate in class org.eclipse.net4j.internal.db.ddl.DBSchemaDBException
public Set<IDBTable> create(IDBAdapter dbAdapter,
DataSource dataSource)
throws DBException
create in interface IDBSchemacreate in class org.eclipse.net4j.internal.db.ddl.DBSchemaDBException
public Set<IDBTable> create(IDBAdapter dbAdapter,
IDBConnectionProvider connectionProvider)
throws DBException
create in interface IDBSchemacreate in class org.eclipse.net4j.internal.db.ddl.DBSchemaDBException
public void drop(IDBAdapter dbAdapter,
Connection connection)
throws DBException
drop in interface IDBSchemadrop in class org.eclipse.net4j.internal.db.ddl.DBSchemaDBException
public void drop(IDBAdapter dbAdapter,
DataSource dataSource)
throws DBException
drop in interface IDBSchemadrop in class org.eclipse.net4j.internal.db.ddl.DBSchemaDBException
public void drop(IDBAdapter dbAdapter,
IDBConnectionProvider connectionProvider)
throws DBException
drop in interface IDBSchemadrop in class org.eclipse.net4j.internal.db.ddl.DBSchemaDBException
public void export(Connection connection,
PrintStream out)
throws DBException
export in interface IDBSchemaexport in class org.eclipse.net4j.internal.db.ddl.DBSchemaDBException
public void export(DataSource dataSource,
PrintStream out)
throws DBException
export in interface IDBSchemaexport in class org.eclipse.net4j.internal.db.ddl.DBSchemaDBException
public void export(IDBConnectionProvider connectionProvider,
PrintStream out)
throws DBException
export in interface IDBSchemaexport in class org.eclipse.net4j.internal.db.ddl.DBSchemaDBExceptionpublic String getName()
getName in interface IDBNamedElementgetName in class org.eclipse.net4j.internal.db.ddl.DBNamedElementpublic 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 Notifierpublic void fireEvent()
fireEvent in class Notifierpublic void fireEvent(IEvent event)
fireEvent in class Notifier
public void fireEvent(IEvent event,
IListener[] listeners)
fireEvent in class Notifierprotected void fireThrowable(Throwable throwable)
fireThrowable in class Notifierprotected ExecutorService getNotificationService()
getNotificationService in class Notifierprotected void firstListenerAdded()
firstListenerAdded in class Notifierprotected void lastListenerRemoved()
lastListenerRemoved in class Notifier
protected void finalize()
throws Throwable
finalize in class ObjectThrowable
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||