net.sf.doolin.gui.validation.support
Class FalseObjectValidator

java.lang.Object
  extended by net.sf.doolin.gui.validation.support.TrueObjectValidator
      extended by net.sf.doolin.gui.validation.support.FalseObjectValidator
All Implemented Interfaces:
ObjectValidator

public class FalseObjectValidator
extends TrueObjectValidator

This validator checks that the object can be evaluated to false.

Author:
Damien Coraboeuf
See Also:
TrueObjectValidator

Constructor Summary
FalseObjectValidator()
           
 
Method Summary
 boolean validate(Object value)
          Validates the value.
 
Methods inherited from class net.sf.doolin.gui.validation.support.TrueObjectValidator
getMsgKey, getParams
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FalseObjectValidator

public FalseObjectValidator()
Method Detail

validate

public boolean validate(Object value)
Description copied from interface: ObjectValidator
Validates the value.

Specified by:
validate in interface ObjectValidator
Overrides:
validate in class TrueObjectValidator
Parameters:
value - Value to check
Returns:
Result of the validation (true if there is no validationerror)


Copyright © 2011. All Rights Reserved.