ca.sqlpower.architect.ddl
Class InvalidNameDDLWarning

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

public class InvalidNameDDLWarning
extends AbstractDDLWarning

A DDLWarning for invalid name that can be fixed by calling setName() on one of the involved objects


Field Summary
protected  java.lang.String whatQuickFixShouldCallIt
           
 
Fields inherited from class ca.sqlpower.architect.ddl.AbstractDDLWarning
fixed, involvedObjects, isQuickFixable, message, quickFixMesssage, quickFixPropertyName, whichObjectQuickFixFixes
 
Constructor Summary
InvalidNameDDLWarning(java.lang.String message, java.util.List<SQLObject> involvedObjects, java.lang.String quickFixMesssage, SQLObject whichObjectQuickFixRenames, java.lang.String whatQuickFixShouldCallIt)
           
 
Method Summary
 boolean quickFix()
          Dummy version for subclasses that are not quickfixable
 
Methods inherited from class ca.sqlpower.architect.ddl.AbstractDDLWarning
getInvolvedObjects, getMessage, getQuickFixMessage, getQuickFixPropertyName, isFixed, isQuickFixable, setFixed
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

whatQuickFixShouldCallIt

protected java.lang.String whatQuickFixShouldCallIt
Constructor Detail

InvalidNameDDLWarning

public InvalidNameDDLWarning(java.lang.String message,
                             java.util.List<SQLObject> involvedObjects,
                             java.lang.String quickFixMesssage,
                             SQLObject whichObjectQuickFixRenames,
                             java.lang.String whatQuickFixShouldCallIt)
Method Detail

quickFix

public boolean quickFix()
Description copied from class: AbstractDDLWarning
Dummy version for subclasses that are not quickfixable

Specified by:
quickFix in interface DDLWarning
Overrides:
quickFix in class AbstractDDLWarning


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