|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ValidationResults
Interface to be implemented by objects that hold a list of validation results for a specific object.
DefaultValidationResults
Method Summary | |
---|---|
boolean |
getHasErrors()
Returns true of there are any validation messages of
Severity.ERROR . |
boolean |
getHasInfo()
Returns true of there are any validation messages of
Severity.INFO . |
boolean |
getHasWarnings()
Returns true of there are any validation messages of
Severity.WARNING . |
int |
getMessageCount()
Returns the total number of validation messages. |
int |
getMessageCount(Severity severity)
Returns the total number of validation messages of the specified Severity. |
int |
getMessageCount(String propertyName)
Returns the total number of validation messages that apply to the specified property name. |
Set |
getMessages()
Returns a set holding all of the validation messages. |
Set |
getMessages(Severity severity)
Returns a set holding all of the validation messages of the specified Severity. |
Set |
getMessages(String propertyName)
Returns a set holding all of the validation messages that apply to the specified property name. |
Method Detail |
---|
boolean getHasErrors()
true
of there are any validation messages of
Severity.ERROR
.
boolean getHasWarnings()
true
of there are any validation messages of
Severity.WARNING
.
boolean getHasInfo()
true
of there are any validation messages of
Severity.INFO
.
int getMessageCount()
int getMessageCount(Severity severity)
int getMessageCount(String propertyName)
Set getMessages()
Set getMessages(Severity severity)
Set getMessages(String propertyName)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |