KickJava   Java API By Example, From Geeks To Geeks.

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


1 package org.hibernate.annotations;
2
3 import static java.lang.annotation.ElementType.TYPE JavaDoc;
4 import static java.lang.annotation.ElementType.METHOD JavaDoc;
5 import static java.lang.annotation.ElementType.FIELD JavaDoc;
6 import static java.lang.annotation.RetentionPolicy.RUNTIME JavaDoc;
7
8 import java.lang.annotation.Target JavaDoc;
9 import java.lang.annotation.Retention JavaDoc;
10
11 /**
12  * Where clause to add to the element (Class or Collection)
13  * @author Emmanuel Bernard
14  */

15 @Target JavaDoc({TYPE, METHOD, FIELD}) @Retention JavaDoc(RUNTIME)
16 public @interface Where {
17     String JavaDoc clause();
18 }
19
Popular Tags