org.apache.commons.validator
protected class ValidatorResult.ResultStatus extends Object implements Serializable
| Field Summary | |
|---|---|
| Object | result |
| boolean | valid |
| Constructor Summary | |
|---|---|
| ResultStatus(boolean valid, Object result) | |
| Method Summary | |
|---|---|
| Object | getResult()
Gets the result returned by a validation method.
|
| boolean | getValid()
Gets whether or not the validation passed. |
| boolean | isValid()
Tests whether or not the validation passed. |
| void | setResult(Object result)
Sets the result returned by a validation method.
|
| void | setValid(boolean valid)
Sets whether or not the validation passed. |
Deprecated: Use isValid() instead.
Gets whether or not the validation passed.