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

java.lang.Object
  extended by org.springmodules.validation.util.condition.AbstractCondition
      extended by 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

Constructor Summary
IsNullCondition()
           
 
Method Summary
 boolean doCheck(Object object)
          Checks whether the given object is null.
 
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

IsNullCondition

public IsNullCondition()
Method Detail

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.