|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.commons.validator.ValidatorResult.ResultStatus
Contains the status of the validation.
Constructor Summary | |
ValidatorResult.ResultStatus(boolean valid,
java.lang.Object result)
|
Method Summary | |
java.lang.Object |
getResult()
Gets the result returned by a validation method. |
boolean |
getValid()
Deprecated. Use isValid() instead. |
boolean |
isValid()
Tests whether or not the validation passed. |
void |
setResult(java.lang.Object result)
Sets the result returned by a validation method. |
void |
setValid(boolean valid)
Sets whether or not the validation passed. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ValidatorResult.ResultStatus(boolean valid, java.lang.Object result)
Method Detail |
public boolean getValid()
public boolean isValid()
public void setValid(boolean valid)
public java.lang.Object getResult()
public void setResult(java.lang.Object result)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |