org.castor.ddlgen.engine.mysql
Class MysqlSchemaFactory

java.lang.Object
  extended by org.castor.ddlgen.engine.mysql.MysqlSchemaFactory
All Implemented Interfaces:
SchemaFactory

public final class MysqlSchemaFactory
extends java.lang.Object
implements SchemaFactory

MySQL schema factory.

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

Constructor Summary
MysqlSchemaFactory()
           
 
Method Summary
 Field createField()
          Create field objects.
 ForeignKey createForeignKey()
          Create foreign key objects.
 Index createIndex()
          Create index objects.
 PrimaryKey createPrimaryKey()
          Create primary key objects.
 Schema createSchema()
          Create schema objects.
 Table createTable()
          Create table objects.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MysqlSchemaFactory

public MysqlSchemaFactory()
Method Detail

createSchema

public Schema createSchema()
Create schema objects.

Specified by:
createSchema in interface SchemaFactory
Returns:
New schema object.

createTable

public Table createTable()
Create table objects.

Specified by:
createTable in interface SchemaFactory
Returns:
New table object.

createField

public Field createField()
Create field objects.

Specified by:
createField in interface SchemaFactory
Returns:
New field object.

createForeignKey

public ForeignKey createForeignKey()
Create foreign key objects.

Specified by:
createForeignKey in interface SchemaFactory
Returns:
New foreign key object.

createIndex

public Index createIndex()
Create index objects.

Specified by:
createIndex in interface SchemaFactory
Returns:
New index object.

createPrimaryKey

public PrimaryKey createPrimaryKey()
Create primary key objects.

Specified by:
createPrimaryKey in interface SchemaFactory
Returns:
New primary key object.


Copyright © 2011. All Rights Reserved.