|
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
|
+--com.solarmetric.rd.kodo.impl.jdbc.schema.LazySchemaFactory
Factory that uses database metadata to construct the system schema. The lazy schema factory only loads table data as it is requested. It does not properly support operations that require knowledge of the entire schema.
| Constructor Summary | |
LazySchemaFactory()
|
|
| Method Summary | |
com.solarmetric.rd.kodo.impl.jdbc.schema.Table |
findTable(java.lang.String name)
Find the table with the given name in the group. |
boolean |
getGenerateForeignKeys()
|
boolean |
getGenerateIndexes()
|
boolean |
getGeneratePrimaryKeys()
|
com.solarmetric.rd.kodo.impl.jdbc.schema.SchemaGroup |
readSchema()
Return the schema group for the current object model and database. |
void |
setConfiguration(com.solarmetric.rd.kodo.impl.jdbc.conf.JDBCConfiguration conf)
Set the configuration for the factory. |
void |
setGenerateForeignKeys(boolean fks)
|
void |
setGenerateIndexes(boolean idx)
|
void |
setGeneratePrimaryKeys(boolean pks)
|
void |
storeSchema(com.solarmetric.rd.kodo.impl.jdbc.schema.SchemaGroup schema)
Record the schema group after changes may have been made. |
| Methods inherited from class com.solarmetric.rd.kodo.impl.jdbc.schema.SchemaGroup |
addSchema, addSchema, clone, findExportedForeignKeys, getSchema, getSchemas, importSchema, newColumn, newForeignKey, newIndex, newPrimaryKey, newSchema, newTable, removeSchema, removeUnusedComponents |
| 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 LazySchemaFactory()
| Method Detail |
public boolean getGeneratePrimaryKeys()
public void setGeneratePrimaryKeys(boolean pks)
public boolean getGenerateForeignKeys()
public void setGenerateForeignKeys(boolean fks)
public boolean getGenerateIndexes()
public void setGenerateIndexes(boolean idx)
public void setConfiguration(com.solarmetric.rd.kodo.impl.jdbc.conf.JDBCConfiguration conf)
SchemaFactory
setConfiguration in interface SchemaFactorypublic com.solarmetric.rd.kodo.impl.jdbc.schema.SchemaGroup readSchema()
SchemaFactory
readSchema in interface SchemaFactorypublic void storeSchema(com.solarmetric.rd.kodo.impl.jdbc.schema.SchemaGroup schema)
SchemaFactory
storeSchema in interface SchemaFactoryschema - the schema definition for the entire systempublic com.solarmetric.rd.kodo.impl.jdbc.schema.Table findTable(java.lang.String name)
SchemaGroup
findTable in class SchemaGroup
|
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 | |||||||||