org.springmodules.validation.util.condition.common
Class IsNullCondition
java.lang.Object
org.springmodules.validation.util.condition.AbstractCondition
org.springmodules.validation.util.condition.common.IsNullCondition
- All Implemented Interfaces:
- Condition
public class IsNullCondition
- extends AbstractCondition
A condition that checks whether the checked object is null
.
- Author:
- Uri Boness
Method Summary |
boolean |
doCheck(Object object)
Checks whether the given object is null . |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IsNullCondition
public IsNullCondition()
doCheck
public boolean doCheck(Object object)
- Checks whether the given object is
null
.
- Specified by:
doCheck
in class AbstractCondition
- Parameters:
object
- The object to be checked.
- Returns:
true
if the given object is null
, false
otherwise.
Copyright © 2009. All Rights Reserved.