org.gcube.common.validator.annotations.validators
Class NotNullValidator
java.lang.Object
org.gcube.common.validator.annotations.validators.NotNullValidator
- All Implemented Interfaces:
- FieldValidator<NotNull>
public class NotNullValidator
- extends Object
- implements FieldValidator<NotNull>
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NotNullValidator
public NotNullValidator()
getErrorSuffix
public String getErrorSuffix()
- Specified by:
getErrorSuffix in interface FieldValidator<NotNull>
annotation
public Class<NotNull> annotation()
- Specified by:
annotation in interface FieldValidator<NotNull>
isValid
public boolean isValid(Object toValidate)
- Specified by:
isValid in interface FieldValidator<NotNull>
Copyright © 2013. All Rights Reserved.