|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.datatools.sqltools.sql.identifier.ValidatorMessage
public class ValidatorMessage
Validator message class
Field Summary | |
---|---|
static int |
ALL
All message including warning, error messenge |
static int |
ERROR
Error message,validator is not valid ERROR |
static int |
NO_ERROR
No error message NO |
static int |
WARNING
Warning message,just show warning message to user, user can go on WARNING |
Constructor Summary | |
---|---|
ValidatorMessage(int type,
java.lang.String message)
|
Method Summary | |
---|---|
java.lang.String |
getMessage()
|
int |
getType()
|
static boolean |
hasError(ValidatorMessage message,
int level)
Check whether the message has error or not |
static boolean |
hasWarning(ValidatorMessage message)
Check whether the message has error or not |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int NO_ERROR
NO
public static final int WARNING
WARNING
public static final int ERROR
ERROR
public static final int ALL
Constructor Detail |
---|
public ValidatorMessage(int type, java.lang.String message)
Method Detail |
---|
public java.lang.String getMessage()
public int getType()
public static boolean hasError(ValidatorMessage message, int level)
message
- level
- error message level
public static boolean hasWarning(ValidatorMessage message)
message
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |