org.sca4j.host.contribution
Class ValidationFailure<T>

java.lang.Object
  extended by org.sca4j.host.contribution.ValidationFailure<T>

public abstract class ValidationFailure<T>
extends java.lang.Object

Base class for validation failures.

Version:
$Rev: 4336 $ $Date: 2008-05-25 10:06:15 +0100 (Sun, 25 May 2008) $

Constructor Summary
protected ValidationFailure(T modelObject)
          Constructor specifying the validatable object associated with this failure.
 
Method Summary
 java.lang.String getMessage()
           
 T getValidatable()
          Returns the object that failed validation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ValidationFailure

protected ValidationFailure(T modelObject)
Constructor specifying the validatable object associated with this failure.

Parameters:
modelObject - the model object associated with this failure
Method Detail

getValidatable

public T getValidatable()
Returns the object that failed validation.

Returns:
the object that failed validation

getMessage

public java.lang.String getMessage()


Copyright © 2008-2011 Service Symphony. All Rights Reserved.