public class LazySchemaFactory extends SchemaGroup implements SchemaFactory, Configurable
| Constructor and Description |
|---|
LazySchemaFactory() |
| Modifier and Type | Method and Description |
|---|---|
void |
endConfiguration()
Invoked upon completion of bean property configuration for this object.
|
Sequence |
findSequence(DBIdentifier name) |
Sequence |
findSequence(QualifiedDBIdentifier name) |
Sequence |
findSequence(String name)
Deprecated.
|
Table |
findTable(DBIdentifier name) |
Table |
findTable(QualifiedDBIdentifier path) |
Table |
findTable(String name)
Deprecated.
|
boolean |
getForeignKeys() |
boolean |
getIndexes() |
boolean |
getPrimaryKeys() |
SchemaGroup |
readSchema()
Return the schema group for the current object model and database.
|
void |
setConfiguration(Configuration conf)
Invoked prior to setting bean properties.
|
void |
setForeignKeys(boolean fks) |
void |
setIndexes(boolean idx) |
void |
setPrimaryKeys(boolean pks) |
void |
startConfiguration()
Invoked before bean property configuration is begun on this object.
|
void |
storeSchema(SchemaGroup schema)
Record the schema group after changes may have been made.
|
addSchema, addSchema, addSchema, clone, copy, findExportedForeignKeys, findSequence, findSequence, findSequence, findTable, findTable, findTable, findTable, findTable, getSchema, getSchema, getSchemas, importSchema, isKnownSequence, isKnownSequence, isKnownSequence, isKnownSequence, isKnownTable, isKnownTable, isKnownTable, newColumn, newColumn, newForeignKey, newForeignKey, newIndex, newIndex, newInstance, newPrimaryKey, newPrimaryKey, newSchema, newSchema, newSequence, newSequence, newTable, newTable, newUnique, newUnique, removeSchema, removeUnusedComponentsaddName, addName, isNameTaken, isNameTaken, removeName, removeNamepublic boolean getPrimaryKeys()
public void setPrimaryKeys(boolean pks)
public boolean getForeignKeys()
public void setForeignKeys(boolean fks)
public boolean getIndexes()
public void setIndexes(boolean idx)
public SchemaGroup readSchema()
SchemaFactoryreadSchema in interface SchemaFactorypublic void storeSchema(SchemaGroup schema)
SchemaFactorystoreSchema in interface SchemaFactoryschema - the schema definition for the entire systempublic Table findTable(String name)
SchemaGroupfindTable in class SchemaGrouppublic Table findTable(DBIdentifier name)
public Table findTable(QualifiedDBIdentifier path)
findTable in class SchemaGrouppublic Sequence findSequence(String name)
SchemaGroupfindSequence in class SchemaGrouppublic Sequence findSequence(DBIdentifier name)
findSequence in class SchemaGrouppublic Sequence findSequence(QualifiedDBIdentifier name)
findSequence in class SchemaGrouppublic void setConfiguration(Configuration conf)
ConfigurablesetConfiguration in interface Configurablepublic void startConfiguration()
ConfigurablestartConfiguration in interface Configurablepublic void endConfiguration()
ConfigurableendConfiguration in interface ConfigurableCopyright © 2006–2018 Apache Software Foundation. All rights reserved.