public abstract class Validator extends Object
Modifier and Type | Field and Description |
---|---|
protected String |
errorMessage |
protected boolean |
isValid |
protected Object |
value |
Constructor and Description |
---|
Validator() |
Modifier and Type | Method and Description |
---|---|
String |
getErrorMessage() |
Object |
getValue() |
boolean |
isValid() |
void |
setErrorMessage(String errorMessage) |
void |
setValue(Object value) |
abstract void |
validate() |