org.gcube.common.validator.annotations
Interface FieldValidator<T extends Annotation>

All Known Implementing Classes:
NotEmptyValidator, NotNullValidator

public interface FieldValidator<T extends Annotation>


Method Summary
 Class<T> annotation()
           
 String getErrorSuffix()
           
 boolean isValid(Object toValidate)
           
 

Method Detail

annotation

Class<T> annotation()

isValid

boolean isValid(Object toValidate)

getErrorSuffix

String getErrorSuffix()


Copyright © 2013. All Rights Reserved.