org.springmodules.validation.util.condition.common
Class AlwaysFalseCondition
java.lang.Object
org.springmodules.validation.util.condition.AbstractCondition
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
Method Summary |
boolean |
doCheck(Object object)
Always return false . |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AlwaysFalseCondition
public AlwaysFalseCondition()
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.