JavaGantt 2011.1 API

eu.beesoft.gaia.validation
Class NotNullValidator

java.lang.Object
  extended by eu.beesoft.gaia.validation.Validator
      extended by eu.beesoft.gaia.validation.NotNullValidator

public class NotNullValidator
extends Validator

Validates that validated value is not null.


Constructor Summary
NotNullValidator()
           
 
Method Summary
static NotNullValidator getInstance()
           
protected  boolean validate(java.lang.Object value)
          Validates given value.
 
Methods inherited from class eu.beesoft.gaia.validation.Validator
getMessage, setMessage, validate, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NotNullValidator

public NotNullValidator()
Method Detail

getInstance

public static NotNullValidator getInstance()

validate

protected boolean validate(java.lang.Object value)
Description copied from class: Validator
Validates given value.

Specified by:
validate in class Validator
Parameters:
value - - a value to validate
Returns:
false if there is some error in validation

JavaGantt 2011.1 API