org.apache.ws.jaxme.sqls
Interface Schema
- DB2Schema, HsqlDbSchema
- DB2SchemaImpl, HsqlDbSchemaImpl, SchemaImpl
Interface of a database schema.
getName
public Schema.Name getName()
Returns the schema name.
getSQLFactory
public SQLFactory getSQLFactory()
Returns the
SQLFactory
that created this instance of Schema.
getTable
public Table getTable(String pName)
Returns the table with the given name or null, if no such table exists
in the schema.
getTable
public Table getTable(Table.Name pName)
Returns the table with the given name or null, if no such table exists
in the schema.
getTables
public Iterator getTables()
Returns an Iterator
to all tables in the schema.
newTable
public Table newTable(String pName)
Creates a new table with the given name in the schema.
newTable
public Table newTable(Table.Name pName)
Creates a new table with the given name in the schema.