org.apache.ws.jaxme.sqls
public interface Schema
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 {@link org.apache.ws.jaxme.sqls.SQLFactory} that created this instance of Schema. |
Table | getTable(Table.Name pName) Returns the table with the given name or null, if no such table exists in the schema. |
Table | getTable(String pName) Returns the table with the given name or null, if no such table exists in the schema. |
Iterator | getTables() Returns an {@link Iterator} to all tables in the schema. |
Table | newTable(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. |
Returns the schema name.
Returns the {@link org.apache.ws.jaxme.sqls.SQLFactory} that created this instance of Schema.
Returns the table with the given name or null, if no such table exists in the schema.
Returns the table with the given name or null, if no such table exists in the schema.
Returns an {@link Iterator} to all tables in the schema.
Creates a new table with the given name in the schema.
Creates a new table with the given name in the schema.