BooleanValidationRule

Kind of class: public class
Package:
Inherits from:
Implements:
Classpath: org.asaplibrary.util.validation.rules.BooleanValidationRule
File last modified: Wednesday, 11 May 2011, 19:05:30
Validation rule that returns the value of target.getValue() as Boolean, so the value is valid if true

Summary

Constructor
Instance methods
Instance methods inherited from ValidationRuleBase

Constructor

BooleanValidationRule

function BooleanValidationRule(inTarget:IValidatable) : void

Constructor;

Parameters
inTarget:Ivalidatable object

Instance methods

isValid

function isValid() : Boolean
Returns
  • true if target.getValue() != null