com.uwyn.rife.site
Class AbstractValidationRule

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

public abstract class AbstractValidationRule
extends Object
implements ValidationRule


Constructor Summary
protected AbstractValidationRule()
           
 
Method Summary
 Object clone()
           
 Object getBean()
           
abstract  ValidationError getError()
           
 String getSubject()
           
<T extends ValidationRule>
T
setBean(Object bean)
           
abstract  boolean validate()
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractValidationRule

protected AbstractValidationRule()
Method Detail

validate

public abstract boolean validate()
Specified by:
validate in interface ValidationRule

getError

public abstract ValidationError getError()
Specified by:
getError in interface ValidationRule

getSubject

public String getSubject()
Specified by:
getSubject in interface ValidationRule

setBean

public <T extends ValidationRule> T setBean(Object bean)
Specified by:
setBean in interface ValidationRule

getBean

public Object getBean()
Specified by:
getBean in interface ValidationRule

clone

public Object clone()
Specified by:
clone in interface ValidationRule
Overrides:
clone in class Object


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