Package com.iizigo.validator
Class ValidationAdapter
java.lang.Object
com.iizigo.validator.ValidationAdapter
- All Implemented Interfaces:
IValidator
- Direct Known Subclasses:
ControlValidator
Validation adapter.
- Author:
- Christopher Mindus
Field Summary
Constructor Summary
Method Summary
Modifier and TypeMethodDescriptionboolean
Checks if the control has been modified.void
setModified
(boolean on) Sets the modified state.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.iizigo.validator.IValidator
getMessage, getMessageType, reset, validate
Field Details
hasBeenModified
protected boolean hasBeenModified
Constructor Details
ValidationAdapter
public ValidationAdapter()
Method Details
setModified
public void setModified(boolean on) Sets the modified state.- Specified by:
setModified
in interfaceIValidator
hasBeenModified
public boolean hasBeenModified()Checks if the control has been modified.- Specified by:
hasBeenModified
in interfaceIValidator