org.castor.ddlgen.engine.db2
Class Db2SchemaFactory

java.lang.Object
  extended by org.castor.ddlgen.engine.db2.Db2SchemaFactory
All Implemented Interfaces:
SchemaFactory

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

DB2 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
Db2SchemaFactory()
           
 
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

Db2SchemaFactory

public Db2SchemaFactory()
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.


Intalio Inc. (C) 1999-2007. All rights reserved http://www.intalio.com