org.castor.ddlgen.engine.hsql
Class HsqlTable

java.lang.Object
  extended by org.castor.ddlgen.schemaobject.AbstractSchemaObject
      extended by org.castor.ddlgen.schemaobject.Table
          extended by org.castor.ddlgen.engine.hsql.HsqlTable
All Implemented Interfaces:
SchemaObject

public final class HsqlTable
extends Table

HSQL table.

Since:
1.1
Version:
$Revision: 5951 $ $Date: 2006-04-25 16:09:10 -0600 (Tue, 25 Apr 2006) $
Author:
Le Duc Bao, Ralf Joachim

Field Summary
 
Fields inherited from class org.castor.ddlgen.schemaobject.AbstractSchemaObject
HASHFACTOR
 
Constructor Summary
HsqlTable()
           
 
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

HsqlTable

public HsqlTable()
Method Detail

toCreateDDL

public void toCreateDDL(DDLWriter writer)
                 throws GeneratorException
Build create script for the schema object.

Parameters:
writer - DDLWriter to write schema objects to.
Throws:
GeneratorException - If generation of the script failed or is not supported.

toDropDDL

public void toDropDDL(DDLWriter writer)
Build drop script for the schema object.

Parameters:
writer - DDLWriter to write schema objects to.


Copyright © 2011. All Rights Reserved.