nl.openedge.baritus.validation
Interface ValidationRuleDependend

All Known Implementing Classes:
AbstractFieldValidator, AbstractFormValidator, AbstractValidator

public interface ValidationRuleDependend

FieldValidators that implement this interface can have their validation done optionaly. Whether or not the actual validation will be done, depends on the outcome of the registered rule

Author:
Eelco Hillenius

Method Summary
 ValidationActivationRule getValidationActivationRule()
          Get the registered validation rule.
 void removeValidationActivationRule()
          Remove the validation rule.
 void setValidationRule(ValidationActivationRule rule)
          Set the validation rule.
 

Method Detail

setValidationRule

public void setValidationRule(ValidationActivationRule rule)
Set the validation rule.

Parameters:
rule - the rule

removeValidationActivationRule

public void removeValidationActivationRule()
Remove the validation rule.


getValidationActivationRule

public ValidationActivationRule getValidationActivationRule()
Get the registered validation rule.

Returns:
the registered validation rule or null if none was registered


Copyright © 2003-2004 Open Edge. All Rights Reserved.