org.castor.ddlgen.schemaobject
Interface SchemaObject
- AbstractSchemaObject, Db2Field, Db2PrimaryKey, DefaultField, DefaultForeignKey, DefaultIndex, DefaultPrimaryKey, DefaultSchema, DefaultTable, DerbyField, Field, ForeignKey, HighLowKeyGenerator, HsqlField, HsqlPrimaryKey, HsqlTable, IdentityKeyGenerator, Index, KeyGenerator, MaxKeyGenerator, MssqlField, MssqlPrimaryKey, MysqlField, MysqlForeignKey, MysqlSchema, MysqlTable, PointBaseField, PointBasePrimaryKey, PostgresqlField, PrimaryKey, Schema, SequenceKeyGenerator, SybaseField, Table, UUIDKeyGenerator
public interface SchemaObject
Interface for all schema objects.
$Revision: 5951 $ $Date: 2006-04-25 16:09:10 -0600 (Tue, 25 Apr 2006) $
getConfiguration
public DDLGenConfiguration getConfiguration()
Get configuration of the schema object.
- Configuration of the schema object.
getName
public String getName()
Get name of the schema object.
- Name of the schema object.
setConfiguration
public void setConfiguration(DDLGenConfiguration config)
Set configuration of the schema object.
config
- Configuration to be used by the schema object.
setName
public void setName(String name)
Set name of the schema object.
name
- Name of the schema object.
toCreateDDL
public void toCreateDDL(DDLWriter writer)
throws GeneratorException
Build create script for the schema object.
writer
- DDLWriter to write schema objects to.
toDropDDL
public void toDropDDL(DDLWriter writer)
throws GeneratorException
Build drop script for the schema object.
writer
- DDLWriter to write schema objects to.
Intalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com