Package org.castor.ddlgen.engine.db2
Class Db2PrimaryKey
java.lang.Object
org.castor.ddlgen.schemaobject.AbstractSchemaObject
org.castor.ddlgen.schemaobject.PrimaryKey
org.castor.ddlgen.engine.db2.Db2PrimaryKey
- All Implemented Interfaces:
SchemaObject
Primary key of DB2 database engine.
- 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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
toCreateDDL
(DDLWriter writer) Build create script for the schema object.Methods inherited from class org.castor.ddlgen.schemaobject.PrimaryKey
addField, equals, fieldNames, getField, getFieldCount, getTable, hashCode, setTable, toDropDDL
Methods inherited from class org.castor.ddlgen.schemaobject.AbstractSchemaObject
equals, getConfiguration, getName, setConfiguration, setName
-
Constructor Details
-
Db2PrimaryKey
public Db2PrimaryKey()
-
-
Method Details
-
toCreateDDL
Build create script for the schema object.- Parameters:
writer
- DDLWriter to write schema objects to.
-