org.castor.ddlgen
Interface SchemaFactory
- Db2SchemaFactory, DerbySchemaFactory, HsqlSchemaFactory, MssqlSchemaFactory, MysqlSchemaFactory, OracleSchemaFactory, PointBaseSchemaFactory, PostgresqlSchemaFactory, SapdbSchemaFactory, SybaseSchemaFactory
public interface SchemaFactory
The SchemaFactory handles the creation for various schema objects. It helps the
AbstractGenerator to dynamically extract schema information for specific database.
This interface need to be implemented for every supported database engine.
$Revision: 5951 $ $Date: 2006-04-25 16:09:10 -0600 (Tue, 25 Apr 2006) $
createField
public Field createField()
Create field objects.
createForeignKey
public ForeignKey createForeignKey()
Create foreign key objects.
createIndex
public Index createIndex()
Create index objects.
createPrimaryKey
public PrimaryKey createPrimaryKey()
Create primary key objects.
createSchema
public Schema createSchema()
Create schema objects.
createTable
public Table createTable()
Create table objects.
Intalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com