com.uwyn.rife.site
Class ValidationRuleLimitedDate

java.lang.Object
  extended by com.uwyn.rife.site.AbstractValidationRule
      extended by com.uwyn.rife.site.PropertyValidationRule
          extended by com.uwyn.rife.site.ValidationRuleLimitedDate
All Implemented Interfaces:
ValidationRule, Cloneable

public class ValidationRuleLimitedDate
extends PropertyValidationRule


Constructor Summary
ValidationRuleLimitedDate(String propertyName, Date min, Date max)
           
 
Method Summary
 ValidationError getError()
           
 boolean validate()
           
 
Methods inherited from class com.uwyn.rife.site.PropertyValidationRule
getLoadingErrors, getPropertyName, getSubject, setLoadingErrors, setPropertyName, setSubject
 
Methods inherited from class com.uwyn.rife.site.AbstractValidationRule
clone, getBean, setBean
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ValidationRuleLimitedDate

public ValidationRuleLimitedDate(String propertyName,
                                 Date min,
                                 Date max)
Method Detail

validate

public boolean validate()
Specified by:
validate in interface ValidationRule
Specified by:
validate in class AbstractValidationRule

getError

public ValidationError getError()
Specified by:
getError in interface ValidationRule
Specified by:
getError in class AbstractValidationRule


Copyright © 2001-2007 Uwyn sprl/bvba. All Rights Reserved.