|
SolarMetric Kodo JDO 2.5.0 Reverse Schema Tool | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--com.solarmetric.rd.kodo.impl.jdbc.schema.NameSet
|
+--com.solarmetric.rd.kodo.impl.jdbc.schema.SchemaGroup
Represents a grouping of schemas used in a database.
| Constructor Summary | |
SchemaGroup()
|
|
| Method Summary | |
com.solarmetric.rd.kodo.impl.jdbc.schema.Schema |
addSchema()
Add a schema to the group. |
com.solarmetric.rd.kodo.impl.jdbc.schema.Schema |
addSchema(java.lang.String name)
Add a schema to the group. |
java.lang.Object |
clone()
|
com.solarmetric.rd.kodo.impl.jdbc.schema.ForeignKey[] |
findExportedForeignKeys(com.solarmetric.rd.kodo.impl.jdbc.schema.PrimaryKey pk)
Find all foreign keys exported by a given primary key (all foreign keys that link to the primary key). |
com.solarmetric.rd.kodo.impl.jdbc.schema.Table |
findTable(java.lang.String name)
Find the table with the given name in the group. |
com.solarmetric.rd.kodo.impl.jdbc.schema.Schema |
getSchema(java.lang.String name)
Return the schema with the given name, or null if none. |
com.solarmetric.rd.kodo.impl.jdbc.schema.Schema[] |
getSchemas()
Return all schemas. |
com.solarmetric.rd.kodo.impl.jdbc.schema.Schema |
importSchema(com.solarmetric.rd.kodo.impl.jdbc.schema.Schema schema)
Import a schema from another group. |
protected com.solarmetric.rd.kodo.impl.jdbc.schema.Column |
newColumn(java.lang.String name,
com.solarmetric.rd.kodo.impl.jdbc.schema.Table table)
Return a new column with the given name and owner table. |
protected com.solarmetric.rd.kodo.impl.jdbc.schema.ForeignKey |
newForeignKey(java.lang.String name,
com.solarmetric.rd.kodo.impl.jdbc.schema.Table table)
Return a new foreign key with the given name and owner table. |
protected com.solarmetric.rd.kodo.impl.jdbc.schema.Index |
newIndex(java.lang.String name,
com.solarmetric.rd.kodo.impl.jdbc.schema.Table table)
Return a new index with the given name and owner table. |
protected com.solarmetric.rd.kodo.impl.jdbc.schema.PrimaryKey |
newPrimaryKey(java.lang.String name,
com.solarmetric.rd.kodo.impl.jdbc.schema.Table table)
Return a new primary key with the given name and owner table. |
protected com.solarmetric.rd.kodo.impl.jdbc.schema.Schema |
newSchema(java.lang.String name)
Return a new schema with the given name. |
protected com.solarmetric.rd.kodo.impl.jdbc.schema.Table |
newTable(java.lang.String name,
com.solarmetric.rd.kodo.impl.jdbc.schema.Schema schema)
Return a new table with the given name and owner schema. |
boolean |
removeSchema(com.solarmetric.rd.kodo.impl.jdbc.schema.Schema schema)
Remove the given schema from the group. |
void |
removeUnusedComponents()
Remove unreferenced or emtpy components from the schema. |
| Methods inherited from class com.solarmetric.rd.kodo.impl.jdbc.schema.NameSet |
addName, isNameTaken, removeName |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public SchemaGroup()
| Method Detail |
public com.solarmetric.rd.kodo.impl.jdbc.schema.Schema[] getSchemas()
public com.solarmetric.rd.kodo.impl.jdbc.schema.Schema getSchema(java.lang.String name)
public com.solarmetric.rd.kodo.impl.jdbc.schema.Schema addSchema()
public com.solarmetric.rd.kodo.impl.jdbc.schema.Schema addSchema(java.lang.String name)
public boolean removeSchema(com.solarmetric.rd.kodo.impl.jdbc.schema.Schema schema)
public com.solarmetric.rd.kodo.impl.jdbc.schema.Schema importSchema(com.solarmetric.rd.kodo.impl.jdbc.schema.Schema schema)
public com.solarmetric.rd.kodo.impl.jdbc.schema.Table findTable(java.lang.String name)
public com.solarmetric.rd.kodo.impl.jdbc.schema.ForeignKey[] findExportedForeignKeys(com.solarmetric.rd.kodo.impl.jdbc.schema.PrimaryKey pk)
public void removeUnusedComponents()
public java.lang.Object clone()
clone in class java.lang.Objectprotected com.solarmetric.rd.kodo.impl.jdbc.schema.Schema newSchema(java.lang.String name)
protected com.solarmetric.rd.kodo.impl.jdbc.schema.Table newTable(java.lang.String name,
com.solarmetric.rd.kodo.impl.jdbc.schema.Schema schema)
protected com.solarmetric.rd.kodo.impl.jdbc.schema.Column newColumn(java.lang.String name,
com.solarmetric.rd.kodo.impl.jdbc.schema.Table table)
protected com.solarmetric.rd.kodo.impl.jdbc.schema.PrimaryKey newPrimaryKey(java.lang.String name,
com.solarmetric.rd.kodo.impl.jdbc.schema.Table table)
protected com.solarmetric.rd.kodo.impl.jdbc.schema.Index newIndex(java.lang.String name,
com.solarmetric.rd.kodo.impl.jdbc.schema.Table table)
protected com.solarmetric.rd.kodo.impl.jdbc.schema.ForeignKey newForeignKey(java.lang.String name,
com.solarmetric.rd.kodo.impl.jdbc.schema.Table table)
|
SolarMetric Kodo JDO 2.5.0 Reverse Schema Tool | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||