Method Summary |
|
public String | getErrorMessage() Get the error message that is displayed in case the
value is invalid. |
final public boolean | isNullAllowed() True if nulls are allowed. |
public boolean | isValid(Object value) True of the value is valid. |
public void | setErrorMessage(String errorMessage) Set the error message to be displayed on invalid
value. |
public void | setNullAllowed(boolean allowNull) Sets if nulls are to be allowed. |
public void | validate(Object value) Validate the data given in value. |