Class ValidatorResult.ResultStatus

java.lang.Object
  |
  +--

All Implemented Interfaces:
java.io.Serializable
Enclosing class:
ValidatorResult
protected class ValidatorResult.ResultStatus
extends java.lang.Object
implements java.io.Serializable

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)

           
 
Method Summary
 java.lang.Object getResult ()

          Gets the result returned by a validation method.
 boolean getValid ()

          Gets 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
 

valid

private boolean 

result

private java.lang.Object 

Constructor Detail

ValidatorResult.ResultStatus

public (boolean valid,
                                    java.lang.Object result)

Method Detail

getValid

public boolean ()
Gets whether or not the validation passed.

setValid

public void (boolean valid)
Sets whether or not the validation passed.

getResult

public java.lang.Object ()
Gets the result returned by a validation method. This can be used to retrieve to the correctly typed value of a date validation for example.

setResult

public void (java.lang.Object result)
Sets the result returned by a validation method. This can be used to retrieve to the correctly typed value of a date validation for example.

Copyright (c) 2001-2002 - Apache Software Foundation