1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17 package javax.jdo.annotations;
18
19 import java.lang.annotation.ElementType;
20 import java.lang.annotation.Retention;
21 import java.lang.annotation.RetentionPolicy;
22 import java.lang.annotation.Target;
23
24 /**
25 * Annotation for a group of joins.
26 *
27 * @version 2.1
28 * @since 2.1
29 */
30 @Target(ElementType.TYPE)
31 @Retention(RetentionPolicy.RUNTIME)
32 public @interface Joins
33 {
34 /**
35 * The join definitions used for the mapping of this type. Joins for
36 * secondary tables are usually defined at the type level and not the
37 * field or property level. This allows multiple fields and properties
38 * to share the same join definition and avoid redundancies.
39 * @return the join definitions
40 */
41 Join[] value();
42 }