ca.sqlpower.architect.ddl
Class SQLServer2005DDLGenerator

java.lang.Object
  extended by ca.sqlpower.architect.ddl.GenericDDLGenerator
      extended by ca.sqlpower.architect.ddl.SQLServerDDLGenerator
          extended by ca.sqlpower.architect.ddl.SQLServer2005DDLGenerator
All Implemented Interfaces:
DDLGenerator

public class SQLServer2005DDLGenerator
extends SQLServerDDLGenerator


Field Summary
static java.lang.String GENERATOR_VERSION
           
 
Fields inherited from class ca.sqlpower.architect.ddl.GenericDDLGenerator
allowConnection, con, EOL, profileFunctionMap, targetCatalog, targetSchema, topLevelNames, typeMap, warnings
 
Constructor Summary
SQLServer2005DDLGenerator()
           
 
Method Summary
 java.lang.String getName()
          Returns the name of this DDL Generator, which should be a human-readable string with the vendor and/or product name (and version if the generator doesn't work with all versions) of the database platform this generator targets.
 boolean supportsDeleteAction(SQLRelationship r)
          Returns true if this DDL generator supports the given relationship's delete action.
 boolean supportsUpdateAction(SQLRelationship r)
          Returns true if this DDL generator supports the given relationship's update action.
 void writeHeader()
           
 
Methods inherited from class ca.sqlpower.architect.ddl.SQLServerDDLGenerator
addColumn, addIndex, columnType, createTypeMap, getCatalogTerm, getDeferrabilityClause, getSchemaTerm, getStatementTerminator, isReservedWord, makeDropForeignKeySQL, supportsDeferrabilityPolicy, toIdentifier, writeDDLTransactionBegin, writeDDLTransactionEnd
 
Methods inherited from class ca.sqlpower.architect.ddl.GenericDDLGenerator
addPrimaryKey, addPrimaryKeysToCreateTable, addRelationship, addTable, columnDefinition, columnNullability, createPhysicalName, createSeqPhysicalName, dropColumn, dropPrimaryKey, dropRelationship, dropTable, endStatement, failsafeGetTypeDescriptor, generateDDLScript, generateDDLStatements, getAllowConnection, getColumnDataTypeName, getCon, getDdlStatements, getDefaultType, getDeleteActionClause, getProfileFunctionMap, getTargetCatalog, getTargetSchema, getTypeMap, getUpdateActionClause, getWarnings, makeDropTableSQL, modifyColumn, print, println, setAllowConnection, setCon, setProfileFunctionMap, setTargetCatalog, setTargetSchema, setTypeMap, supportsRollback, toQualifiedName, toQualifiedName, toQualifiedName, writeCreateDB, writeExportedRelationships, writePrimaryKey
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

GENERATOR_VERSION

public static final java.lang.String GENERATOR_VERSION
See Also:
Constant Field Values
Constructor Detail

SQLServer2005DDLGenerator

public SQLServer2005DDLGenerator()
                          throws java.sql.SQLException
Throws:
java.sql.SQLException
Method Detail

writeHeader

public void writeHeader()
Overrides:
writeHeader in class SQLServerDDLGenerator

getName

public java.lang.String getName()
Description copied from interface: DDLGenerator
Returns the name of this DDL Generator, which should be a human-readable string with the vendor and/or product name (and version if the generator doesn't work with all versions) of the database platform this generator targets.

Specified by:
getName in interface DDLGenerator
Overrides:
getName in class SQLServerDDLGenerator

supportsDeleteAction

public boolean supportsDeleteAction(SQLRelationship r)
Description copied from class: GenericDDLGenerator
Returns true if this DDL generator supports the given relationship's delete action. The generic DDL generator claims to support all delete actions, so specific platforms that don't support all delete actions should override this method.

Overrides:
supportsDeleteAction in class GenericDDLGenerator

supportsUpdateAction

public boolean supportsUpdateAction(SQLRelationship r)
Description copied from class: GenericDDLGenerator
Returns true if this DDL generator supports the given relationship's update action. The generic DDL generator claims to support all update actions, so specific platforms that don't support all update actions should override this method.

Overrides:
supportsUpdateAction in class GenericDDLGenerator


Copyright © 2003-2007 SQL Power Group Inc. www.sqlpower.ca