Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
33 | PointedEar | 1 | //$Id: $ |
2 | package org.hibernate.annotations; |
||
3 | |||
4 | import java.lang.annotation.Target; |
||
5 | import java.lang.annotation.Retention; |
||
6 | import java.lang.annotation.ElementType; |
||
7 | import java.lang.annotation.RetentionPolicy; |
||
8 | |||
9 | /** |
||
10 | * Add filters to a join table collection |
||
11 | * |
||
12 | * @author Emmanuel Bernard |
||
13 | */ |
||
14 | @Target({ElementType.TYPE, ElementType.METHOD, ElementType.FIELD}) |
||
15 | @Retention(RetentionPolicy.RUNTIME) |
||
16 | public @interface FilterJoinTable { |
||
17 | String name(); |
||
18 | |||
19 | String condition() default ""; |
||
20 | } |