org.springmodules.validation.util.condition.common
Class AlwaysFalseCondition

java.lang.Object
  extended by org.springmodules.validation.util.condition.AbstractCondition
      extended by org.springmodules.validation.util.condition.common.AlwaysFalseCondition
All Implemented Interfaces:
Condition

public class AlwaysFalseCondition
extends AbstractCondition

An AbstractCondition implementation that always return false.

Author:
Uri Boness

Constructor Summary
AlwaysFalseCondition()
           
 
Method Summary
 boolean doCheck(Object object)
          Always return false.
 
Methods inherited from class org.springmodules.validation.util.condition.AbstractCondition
afterObjectChecked, and, beforeObjectChecked, check, or
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AlwaysFalseCondition

public AlwaysFalseCondition()
Method Detail

doCheck

public boolean doCheck(Object object)
Always return false.

Specified by:
doCheck in class AbstractCondition
Parameters:
object - The object to be checked.
Returns:
false


Copyright © 2009. All Rights Reserved.