|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.doolin.gui.validation.support.NotNullObjectValidator
public class NotNullObjectValidator
This validator checks that the object is not null.
| Constructor Summary | |
|---|---|
NotNullObjectValidator()
|
|
| 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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NotNullObjectValidator()
| Method Detail |
|---|
public String getMsgKey()
ObjectValidator
getMsgKey in interface ObjectValidatorpublic Object[] getParams(String name)
ObjectValidator
getParams in interface ObjectValidatorname - Name of the object that has been tested
public boolean validate(Object value)
ObjectValidatorvalue.
validate in interface ObjectValidatorvalue - Value to check
true if there is no
validationerror)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||