
org.hibernate.validator.Validator Maven / Gradle / Ivy
//$Id: Validator.java 7852 2005-08-11 19:45:28Z epbernard $
package org.hibernate.validator;
import java.lang.annotation.Annotation;
/**
* A constraint validator for a particular annotation
*
* @author Gavin King
*/
public interface Validator {
/**
* does the object/element pass the constraints
*/
public boolean isValid(Object value);
/**
* Take the annotations values
*
* @param parameters
*/
public void initialize(A parameters);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy