org.apache.ws.jaxme.sqls.impl
Class SchemaImpl
java.lang.Objectorg.apache.ws.jaxme.sqls.impl.SchemaImpl
- Schema
public class SchemaImpl
extends java.lang.Object
Implementation of a schema.
SchemaImpl
protected SchemaImpl(SQLFactory pFactory,
Schema.Name pName)Creates a new instance of SchemaImpl.
pFactory - The SQLFactory
creating this instance.pName - The schema name.
equals
public boolean equals(Object o)
getTable
public Table getTable(String pName)
Returns the table with the given name or null, if no such table exists
in the schema.
- getTable in interface 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.
- getTable in interface Schema
getTables
public Iterator getTables()
Returns an Iterator to all tables in the schema.
- getTables in interface Schema
hashCode
public int hashCode()
newTable
public Table newTable(String pName)
Creates a new table with the given name in the schema.
- newTable in interface Schema