org.beanfabrics.model
Class MapPM.DefaultValidationRule

java.lang.Object
  extended by org.beanfabrics.model.MapPM.DefaultValidationRule
All Implemented Interfaces:
ValidationRule
Enclosing class:
MapPM<K,V extends PresentationModel>

public class MapPM.DefaultValidationRule
extends java.lang.Object
implements ValidationRule


Constructor Summary
MapPM.DefaultValidationRule()
           
 
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

MapPM.DefaultValidationRule

public MapPM.DefaultValidationRule()
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.


© 2010 by Michael Karneim, http://www.beanfabrics.org