|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.ws.jaxme.sqls.impl.SchemaImpl
Implementation of a schema.
| Nested Class Summary | |
static class |
SchemaImpl.NameImpl
|
| Nested classes inherited from class org.apache.ws.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()
SchemaReturns the SQLFactory
that created this instance of Schema.
getSQLFactory in interface Schemapublic Schema.Name getName()
SchemaReturns the schema name.
getName in interface Schemapublic Table newTable(java.lang.String pName)
SchemaCreates a new table with the given name in the schema.
newTable in interface Schemapublic Table newTable(Table.Name pName)
SchemaCreates a new table with the given name in the schema.
newTable in interface Schemapublic Table getTable(Table.Name pName)
SchemaReturns the table with the given name or null, if no such table exists in the schema.
getTable in interface Schemapublic Table getTable(java.lang.String pName)
SchemaReturns the table with the given name or null, if no such table exists in the schema.
getTable in interface Schemapublic java.util.Iterator getTables()
SchemaReturns an Iterator to all tables in the schema.
getTables in interface Schemapublic 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 | |||||||||