portal.comp.form
Class ValidatableModel

java.lang.Object
  extended byportal.comp.form.ValidatableModel
All Implemented Interfaces:
IValidatable, IValidatableUserInput, Model, java.io.Serializable

public class ValidatableModel
extends java.lang.Object
implements IValidatableUserInput

See Also:
Serialized Form

Constructor Summary
ValidatableModel()
           
 
Method Summary
 boolean isValid()
           
 void setValidationRule(IValidatable validationRule)
           
 void validate(IValidationContext validationContext)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ValidatableModel

public ValidatableModel()
Method Detail

setValidationRule

public final void setValidationRule(IValidatable validationRule)

isValid

public final boolean isValid()
Specified by:
isValid in interface IValidatableUserInput

validate

public final void validate(IValidationContext validationContext)
Specified by:
validate in interface IValidatable