org.apache.commons.validator
クラス ValidatorResult.ResultStatus

java.lang.Object
  拡張org.apache.commons.validator.ValidatorResult.ResultStatus
すべての実装インタフェース:
Serializable
含まれているクラス:
ValidatorResult

protected class ValidatorResult.ResultStatus
extends Object
implements Serializable

Contains the status of the validation.

関連項目:
直列化された形式

フィールドの概要
private  Object result
           
private  boolean valid
           
 
コンストラクタの概要
ValidatorResult.ResultStatus(boolean valid, Object result)
           
 
メソッドの概要
 Object getResult()
          Gets the result returned by a validation method.
 boolean getValid()
          Gets 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.
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

フィールドの詳細

valid

private boolean valid

result

private Object result
コンストラクタの詳細

ValidatorResult.ResultStatus

public ValidatorResult.ResultStatus(boolean valid,
                                    Object result)
メソッドの詳細

getValid

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


setValid

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


getResult

public Object getResult()
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 setResult(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.



このドキュメントは、Ja-Jakartaにより訳されました。 コメントがある場合は report@jajakarta.orgまでお願いします。
Translated into Japanese by jajakarta.org. The original page is here.
Copyright (c) 2002-2003 - Apache Software Foundation