org.beanfabrics.model
Class IntegerPM.IntegerValidationRule

java.lang.Object
  extended by org.beanfabrics.model.IntegerPM.IntegerValidationRule
All Implemented Interfaces:
ValidationRule
Enclosing class:
IntegerPM

public class IntegerPM.IntegerValidationRule
extends java.lang.Object
implements ValidationRule


Constructor Summary
IntegerPM.IntegerValidationRule()
           
 
Method Summary
 ValidationState validate()
          Produces a fresh ValidationState.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IntegerPM.IntegerValidationRule

public IntegerPM.IntegerValidationRule()
Method Detail

validate

public ValidationState validate()
Description copied from interface: ValidationRule
Produces a fresh ValidationState. A null return value indicates that this rule has been successfully validated. A not- null value indicates that this rule has found an invalid state.

Specified by:
validate in interface ValidationRule
Returns:
the fresh validation result of this rule.