Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
33 | PointedEar | 1 | //$Id$ |
2 | package org.hibernate.annotations; |
||
3 | |||
4 | import static java.lang.annotation.ElementType.PACKAGE; |
||
5 | import static java.lang.annotation.ElementType.TYPE; |
||
6 | import static java.lang.annotation.ElementType.METHOD; |
||
7 | import static java.lang.annotation.ElementType.FIELD; |
||
8 | import java.lang.annotation.Retention; |
||
9 | import static java.lang.annotation.RetentionPolicy.RUNTIME; |
||
10 | |||
11 | /** |
||
12 | * Defines @Any and @ManyToAny set of metadata. |
||
13 | * Can be defined at the entity level or the package level |
||
14 | * |
||
15 | * @author Emmanuel Bernard |
||
16 | */ |
||
17 | @java.lang.annotation.Target( { PACKAGE, TYPE } ) |
||
18 | @Retention( RUNTIME ) |
||
19 | public @interface AnyMetaDefs { |
||
20 | AnyMetaDef[] value(); |
||
21 | } |