protected class ValidatorResult.ResultStatus
extends java.lang.Object
implements java.io.Serializable
| Modifier and Type | Field and Description |
|---|---|
private java.lang.Object |
result |
private boolean |
valid |
| Constructor and Description |
|---|
ValidatorResult.ResultStatus(boolean valid,
java.lang.Object result) |
| Modifier and Type | Method and Description |
|---|---|
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.
|
public ValidatorResult.ResultStatus(boolean valid,
java.lang.Object result)
public boolean getValid()
public boolean isValid()
public void setValid(boolean valid)
public java.lang.Object getResult()
public void setResult(java.lang.Object result)
Copyright (c) 2001-2004 Apache Software Foundation