ca.sqlpower.architect.ddl
Class SetDefaultOnColumnWithNoDefaultWarning

java.lang.Object
  extended by ca.sqlpower.architect.ddl.AbstractDDLWarning
      extended by ca.sqlpower.architect.ddl.SetDefaultOnColumnWithNoDefaultWarning
All Implemented Interfaces:
DDLWarning

public class SetDefaultOnColumnWithNoDefaultWarning
extends AbstractDDLWarning

A DDL warning about relationship update or delete rule that tries to set default on a column with no default value. Some database platforms consider this an error, and others ignore it. In either case, we treat it as a mistake in the data model that the user should rectify.

There is no quick fix for this one, because we can't guess what a suitable default value would be.


Field Summary
 
Fields inherited from class ca.sqlpower.architect.ddl.AbstractDDLWarning
fixed, involvedObjects, isQuickFixable, message, quickFixMesssage, quickFixPropertyName, whichObjectQuickFixFixes
 
Constructor Summary
SetDefaultOnColumnWithNoDefaultWarning(SQLColumn fkcol)
           
 
Method Summary
 
Methods inherited from class ca.sqlpower.architect.ddl.AbstractDDLWarning
getInvolvedObjects, getMessage, getQuickFixMessage, getQuickFixPropertyName, isFixed, isQuickFixable, quickFix, setFixed
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SetDefaultOnColumnWithNoDefaultWarning

public SetDefaultOnColumnWithNoDefaultWarning(SQLColumn fkcol)


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