|
SolarMetric Kodo JDO 3.3.5 generated on August 31 2005 | ||||||||
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()
Default constructor. |
|
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. |
void |
setName(String name)
Set the name of 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()
public Schema(String name, SchemaGroup group)
name
- the schema name, if anygroup
- the schema's owning groupMethod Detail |
public SchemaGroup getSchemaGroup()
public String getName()
public void setName(String name)
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 Comparable
public String toString()
toString
in class Object
|
SolarMetric Kodo JDO 3.3.5 generated on August 31 2005 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |