|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.commons.validator.ValidatorResult.ResultStatus
protected class ValidatorResult.ResultStatus
Contains the status of the validation.
| Field Summary | |
|---|---|
private java.lang.Object |
result
|
private boolean |
valid
|
| Constructor Summary | |
|---|---|
ValidatorResult.ResultStatus(boolean valid,
java.lang.Object result)
Construct a Result status. |
|
| Method Summary | |
|---|---|
java.lang.Object |
getResult()
Gets the result returned by a validation method. |
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 |
| Field Detail |
|---|
private boolean valid
private java.lang.Object result
| Constructor Detail |
|---|
public ValidatorResult.ResultStatus(boolean valid,
java.lang.Object result)
valid - Whether the validator passed or failed.result - Value returned by the validator.| Method Detail |
|---|
public boolean isValid()
public void setValid(boolean valid)
valid - Whether the validation passed.public java.lang.Object getResult()
public void setResult(java.lang.Object result)
result - The value returned by the validation.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||