Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
33 | PointedEar | 1 | //$Id: FilterDef.java 11282 2007-03-14 22:05:59Z epbernard $ |
2 | package org.hibernate.annotations; |
||
3 | |||
4 | import static java.lang.annotation.ElementType.PACKAGE; |
||
5 | import static java.lang.annotation.ElementType.TYPE; |
||
6 | import java.lang.annotation.Retention; |
||
7 | import static java.lang.annotation.RetentionPolicy.RUNTIME; |
||
8 | import java.lang.annotation.Target; |
||
9 | |||
10 | /** |
||
11 | * Filter definition |
||
12 | * |
||
13 | * @author Matthew Inger |
||
14 | * @author Emmanuel Bernard |
||
15 | */ |
||
16 | @Target({TYPE, PACKAGE}) |
||
17 | @Retention(RUNTIME) |
||
18 | public @interface FilterDef { |
||
19 | String name(); |
||
20 | |||
21 | String defaultCondition() default ""; |
||
22 | |||
23 | ParamDef[] parameters() default {}; |
||
24 | } |