KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > hibernate > validator > ValidatorClass


1 //$Id: ValidatorClass.java,v 1.1 2005/05/27 08:58:54 epbernard Exp $
2
package org.hibernate.validator;
3
4 import java.lang.annotation.Retention JavaDoc;
5 import java.lang.annotation.Target JavaDoc;
6 import static java.lang.annotation.ElementType.ANNOTATION_TYPE JavaDoc;
7 import static java.lang.annotation.RetentionPolicy.RUNTIME JavaDoc;
8
9
10 /**
11  * Link between an constraint annotation and it's validator implementation
12  * @author Gavin King
13  */

14 @Target JavaDoc({ANNOTATION_TYPE}) @Retention JavaDoc(RUNTIME)
15 public @interface ValidatorClass {
16     Class JavaDoc<? extends Validator> value();
17 }
18
Popular Tags