|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface of a database schema.
Nested Class Summary | |
static interface |
Schema.Name
|
Method Summary | |
Schema.Name |
getName()
Returns the schema name. |
SQLFactory |
getSQLFactory()
Returns the SQLFactory
that created this instance of Schema. |
Table |
getTable(java.lang.String pName)
Returns the table with the given name or null, if no such table exists in the schema. |
Table |
getTable(Table.Name pName)
Returns the table with the given name or null, if no such table exists in the schema. |
java.util.Iterator |
getTables()
Returns an Iterator to all tables in the schema. |
Table |
newTable(java.lang.String pName)
Creates a new table with the given name in the schema. |
Table |
newTable(Table.Name pName)
Creates a new table with the given name in the schema. |
Method Detail |
public SQLFactory getSQLFactory()
Returns the SQLFactory
that created this instance of Schema.
public Schema.Name getName()
Returns the schema name.
public Table newTable(java.lang.String pName)
Creates a new table with the given name in the schema.
public Table newTable(Table.Name pName)
Creates a new table with the given name in the schema.
public Table getTable(Table.Name pName)
Returns the table with the given name or null, if no such table exists in the schema.
public Table getTable(java.lang.String pName)
Returns the table with the given name or null, if no such table exists in the schema.
public java.util.Iterator getTables()
Returns an Iterator
to all tables in the schema.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |