|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectca.sqlpower.architect.ddl.AbstractDDLWarning
public abstract class AbstractDDLWarning
| Field Summary | |
|---|---|
protected boolean |
fixed
|
protected java.util.List<? extends SQLObject> |
involvedObjects
|
protected boolean |
isQuickFixable
|
protected java.lang.String |
message
|
protected java.lang.String |
quickFixMesssage
|
protected java.lang.String |
quickFixPropertyName
The name of the Beans property of the object(s) involved in this warning that can be modified to fix the problem. |
protected SQLObject |
whichObjectQuickFixFixes
|
| Constructor Summary | |
|---|---|
AbstractDDLWarning(java.util.List<? extends SQLObject> involvedObjects,
java.lang.String message,
boolean isQuickFixable,
java.lang.String quickFixMesssage,
SQLObject whichObjectQuickFixFixes,
java.lang.String quickFixPropertyName)
|
|
| Method Summary | |
|---|---|
java.util.List<? extends SQLObject> |
getInvolvedObjects()
The subject(s) of this warning. |
java.lang.String |
getMessage()
Get the message associated with this warning, e.g., a string like "Primary Key Name is already in use" |
java.lang.String |
getQuickFixMessage()
If isQuickFixable(), then this gives the message about what will be done. |
java.lang.String |
getQuickFixPropertyName()
Returns the value of quickFixPropertyName. |
boolean |
isFixed()
Return true if the user has repaired or quickfixed the problem |
boolean |
isQuickFixable()
Tell whether the user can "quick fix" this problem |
boolean |
quickFix()
Dummy version for subclasses that are not quickfixable |
void |
setFixed(boolean fixed)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected java.util.List<? extends SQLObject> involvedObjects
protected java.lang.String message
protected boolean fixed
protected boolean isQuickFixable
protected java.lang.String quickFixMesssage
protected SQLObject whichObjectQuickFixFixes
protected java.lang.String quickFixPropertyName
| Constructor Detail |
|---|
public AbstractDDLWarning(java.util.List<? extends SQLObject> involvedObjects,
java.lang.String message,
boolean isQuickFixable,
java.lang.String quickFixMesssage,
SQLObject whichObjectQuickFixFixes,
java.lang.String quickFixPropertyName)
| Method Detail |
|---|
public java.util.List<? extends SQLObject> getInvolvedObjects()
DDLWarning
getInvolvedObjects in interface DDLWarningpublic java.lang.String getMessage()
DDLWarning
getMessage in interface DDLWarningpublic java.lang.String getQuickFixMessage()
DDLWarning
getQuickFixMessage in interface DDLWarningpublic boolean isFixed()
DDLWarning
isFixed in interface DDLWarningpublic void setFixed(boolean fixed)
setFixed in interface DDLWarningpublic boolean isQuickFixable()
DDLWarning
isQuickFixable in interface DDLWarningpublic boolean quickFix()
quickFix in interface DDLWarningpublic java.lang.String getQuickFixPropertyName()
quickFixPropertyName. Subclasses that support QuickFix
should initialize that value to the appropriate property name.
getQuickFixPropertyName in interface DDLWarning
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||