org.jreform.internal
Class ValidationResult<T>

java.lang.Object
  extended by org.jreform.internal.ValidationResult<T>

 class ValidationResult<T>
extends Object

The result of a validation operation by a ValueAttributeValidator.

Author:
armandino (at) gmail.com

Field Summary
private  String errorMessage
           
private  boolean isValid
           
private  T parsedValue
           
 
Constructor Summary
ValidationResult(T parsedValue, boolean isValid, String errorMessage)
           
 
Method Summary
(package private)  String getErrorMessage()
           
(package private)  T getParsedValue()
           
(package private)  boolean isValid()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

parsedValue

private T parsedValue

isValid

private boolean isValid

errorMessage

private String errorMessage
Constructor Detail

ValidationResult

ValidationResult(T parsedValue,
                 boolean isValid,
                 String errorMessage)
Method Detail

getParsedValue

T getParsedValue()

isValid

boolean isValid()

getErrorMessage

String getErrorMessage()


Copyright © 2007-2008 jReform