|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ObjectValidator
Definition of a validator.
| Method Summary | |
|---|---|
String |
getMsgKey()
Gets the string key of the validation error message |
Object[] |
getParams(String name)
Gets the parameters for the validation error message |
boolean |
validate(Object value)
Validates the value. |
| Method Detail |
|---|
boolean validate(Object value)
value.
value - Value to check
true if there is no
validationerror)String getMsgKey()
Object[] getParams(String name)
name - Name of the object that has been tested
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||