org.codehaus.modello.generator.database.sql

Class AxionBuilder

public class AxionBuilder extends SqlBuilder

An SQL Builder for the Axion JDBC database.

Version: $Revision: 149 $

Author: James Strachan

Constructor Summary
AxionBuilder()
Method Summary
voidcreateColumn(Table table, Column column)
Outputs the DDL to add a column to a table.
protected StringgetNativeType(Column column)
protected StringgetSqlType(Column column)
protected voidprintAutoIncrementColumn(Table table, Column column)
protected voidprintNotNullable()
protected voidprintNullable()
protected voidwriteForeignKeys(Table table)
protected voidwritePrimaryKeys(Table table)

Constructor Detail

AxionBuilder

public AxionBuilder()

Method Detail

createColumn

public void createColumn(Table table, Column column)
Outputs the DDL to add a column to a table. Axion does not support default values so we are removing default from the Axion column builder.

getNativeType

protected String getNativeType(Column column)

getSqlType

protected String getSqlType(Column column)

printAutoIncrementColumn

protected void printAutoIncrementColumn(Table table, Column column)

printNotNullable

protected void printNotNullable()

printNullable

protected void printNullable()

writeForeignKeys

protected void writeForeignKeys(Table table)

writePrimaryKeys

protected void writePrimaryKeys(Table table)
Copyright © 2001-2008 Codehaus. All Rights Reserved.