Package com.iizigo.validator
Class ValidationAdapter
- java.lang.Object
-
- com.iizigo.validator.ValidationAdapter
-
- All Implemented Interfaces:
IValidator
- Direct Known Subclasses:
ControlValidator
public abstract class ValidationAdapter extends java.lang.Object implements IValidator
Validation adapter.- Author:
- Christopher Mindus
-
-
Field Summary
Fields Modifier and Type Field Description protected boolean
hasBeenModified
-
Constructor Summary
Constructors Constructor Description ValidationAdapter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
hasBeenModified()
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
-
-
-
-
Method Detail
-
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
-
-