|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.castor.ddlgen.schemaobject.AbstractSchemaObject
org.castor.ddlgen.schemaobject.Table
org.castor.ddlgen.schemaobject.DefaultTable
public final class DefaultTable
Table contains fields, foreignkeys, indexes and table's options.
| Field Summary |
|---|
| Fields inherited from class org.castor.ddlgen.schemaobject.AbstractSchemaObject |
|---|
HASHFACTOR |
| Constructor Summary | |
|---|---|
DefaultTable()
|
|
| Method Summary | |
|---|---|
void |
toCreateDDL(DDLWriter writer)
Build create script for the schema object. |
void |
toDropDDL(DDLWriter writer)
Build drop script for the schema object. |
| Methods inherited from class org.castor.ddlgen.schemaobject.Table |
|---|
addField, addForeignKey, addIndex, equals, fields, getField, getField, getFieldCount, getForeignKey, getForeignKeyCount, getIndex, getIndexCount, getKeyGenerator, getPrimaryKey, getSchema, hashCode, merge, setKeyGenerator, setPrimaryKey, setSchema |
| Methods inherited from class org.castor.ddlgen.schemaobject.AbstractSchemaObject |
|---|
equals, getConfiguration, getName, setConfiguration, setName |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultTable()
| Method Detail |
|---|
public void toCreateDDL(DDLWriter writer)
throws GeneratorException
writer - DDLWriter to write schema objects to.
GeneratorException - If generation of the script failed or is not supported.public void toDropDDL(DDLWriter writer)
writer - DDLWriter to write schema objects to.
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||