public class ChecksNonNull extends Object implements ValidatesValue<Object>
| Modifier and Type | Field and Description |
|---|---|
static ChecksNonNull |
SINGLETON |
| Constructor and Description |
|---|
ChecksNonNull() |
| Modifier and Type | Method and Description |
|---|---|
String |
validate(Object object,
String message)
Return null for valid,
and String message for invalid.
|
public static final ChecksNonNull SINGLETON
public String validate(Object object, String message)
ValidatesValuevalidate in interface ValidatesValue<Object>object - - The object to validatemessage - - Some debug data to prepend to invalid messageCopyright © December 07, 2012–2015 The Internet Party. All rights reserved.