|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.jaxme.sqls.impl.SchemaImpl
Implementation of a schema.
Nested Class Summary | |
static class |
SchemaImpl.NameImpl
|
Nested classes inherited from class net.sf.jaxme.sqls.Schema |
Schema.Name |
Constructor Summary | |
protected |
SchemaImpl(SQLFactory pFactory,
Schema.Name pName)
Creates a new instance of SchemaImpl. |
Method Summary | |
boolean |
equals(java.lang.Object o)
|
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. |
int |
hashCode()
|
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. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
protected SchemaImpl(SQLFactory pFactory, Schema.Name pName)
Creates a new instance of SchemaImpl.
pFactory
- The SQLFactory
creating this instance.pName
- The schema name.Method Detail |
public SQLFactory getSQLFactory()
Schema
Returns the SQLFactory
that created this instance of Schema.
getSQLFactory
in interface Schema
public Schema.Name getName()
Schema
Returns the schema name.
getName
in interface Schema
public Table newTable(java.lang.String pName)
Schema
Creates a new table with the given name in the schema.
newTable
in interface Schema
public Table newTable(Table.Name pName)
Schema
Creates a new table with the given name in the schema.
newTable
in interface Schema
public Table getTable(Table.Name pName)
Schema
Returns the table with the given name or null, if no such table exists in the schema.
getTable
in interface Schema
public Table getTable(java.lang.String pName)
Schema
Returns the table with the given name or null, if no such table exists in the schema.
getTable
in interface Schema
public java.util.Iterator getTables()
Schema
Returns an Iterator
to all tables in the schema.
getTables
in interface Schema
public boolean equals(java.lang.Object o)
public int hashCode()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |