KickJava   Java API By Example, From Geeks To Geeks.

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


1 //$Id: Filters.java,v 1.1 2005/04/02 22:50:47 epbernard Exp $
2
package org.hibernate.annotations;
3
4 import static java.lang.annotation.ElementType.TYPE JavaDoc;
5
6 import static java.lang.annotation.ElementType.METHOD JavaDoc;
7
8 import static java.lang.annotation.ElementType.FIELD JavaDoc;
9
10 import static java.lang.annotation.RetentionPolicy.RUNTIME JavaDoc;
11
12 import java.lang.annotation.Target JavaDoc;
13 import java.lang.annotation.Retention JavaDoc;
14
15 /**
16  * Add multiple filters to an entity or a collection
17  *
18  * @author Emmanuel Bernard
19  * @author Matthew Inger
20  * @author Magnus Sandberg
21  */

22 @Target JavaDoc({TYPE, METHOD, FIELD}) @Retention JavaDoc(RUNTIME)
23 public @interface Filters {
24     Filter[] value();
25 }
26
Popular Tags