|
SolarMetric Kodo JDO 3.0.3 generated on February 20 2004 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--kodo.jdbc.schema.Schema
Represents a database schema.
| Constructor Summary | |
Schema(String name,
SchemaGroup group)
Constructor. |
|
| Method Summary | |
Table |
addTable(String name)
Add a table to the schema. |
int |
compareTo(Object other)
|
String |
getName()
Return the name of the schema, or null if none. |
SchemaGroup |
getSchemaGroup()
Return the schema's group. |
Table |
getTable(String name)
Return the table with the given name, or null if none. |
Table[] |
getTables()
Return the schema's tables. |
Table |
importTable(Table table)
Import a table from another schema. |
boolean |
removeTable(Table tab)
Remove the given table from the schema. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public Schema(String name,
SchemaGroup group)
name - the schema name, if anygroup - the schema's owning group| Method Detail |
public SchemaGroup getSchemaGroup()
public String getName()
public Table[] getTables()
public Table getTable(String name)
public Table addTable(String name)
public boolean removeTable(Table tab)
public Table importTable(Table table)
public int compareTo(Object other)
compareTo in interface Comparablepublic String toString()
toString in class Object
|
SolarMetric Kodo JDO 3.0.3 generated on February 20 2004 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||