KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > hibernate > annotations > FilterDef


1 //$Id: FilterDef.java,v 1.3 2005/05/05 09:49:04 epbernard Exp $
2
package org.hibernate.annotations;
3
4 import java.lang.annotation.Retention JavaDoc;
5 import java.lang.annotation.Target JavaDoc;
6
7 import static java.lang.annotation.ElementType.TYPE JavaDoc;
8 import static java.lang.annotation.ElementType.PACKAGE JavaDoc;
9 import static java.lang.annotation.RetentionPolicy.RUNTIME JavaDoc;
10
11 /**
12  * Filter definition
13  *
14  * @author Matthew Inger
15  * @author Emmanuel Bernard
16  */

17 @Target JavaDoc({TYPE,PACKAGE}) @Retention JavaDoc(RUNTIME)
18 public @interface FilterDef {
19     String JavaDoc name();
20     ParamDef[] parameters();
21 }
22
Popular Tags