ValidationError |
ValidationError.addKey(java.lang.String key) |
Adds a key to the list of keys that will be tried against IErrorMessageSource to
locate the error message string.
|
ValidationError |
ValidationError.addKey(IValidator<?> validator) |
Shortcut for adding a standard message key which is the simple name of the validator' class
|
ValidationError |
ValidationError.addKey(IValidator<?> validator,
java.lang.String variation) |
Shortcut for adding a standard message key variation which is the simple name of the
validator class followed by a dot and the variation
|
ValidationError |
ValidationError.setMessage(java.lang.String message) |
Sets message that will be used when no message could be located via message keys.
|
ValidationError |
ValidationError.setVariable(java.lang.String name,
java.lang.Object value) |
Sets a key and value in the variables map for use in substitution.
|
ValidationError |
ValidationError.setVariables(java.util.Map<java.lang.String,java.lang.Object> vars) |
Sets the variables map for this error.
|