Subversion Repositories WebE

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
33 PointedEar 1
//$Id:$
2
//EJB3 Specification Copyright 2004-2006 Sun Microsystems, Inc.
3
package javax.persistence;
4
 
5
import java.lang.annotation.Target;
6
import java.lang.annotation.Retention;
7
import static java.lang.annotation.RetentionPolicy.RUNTIME;
8
import static java.lang.annotation.ElementType.TYPE;
9
import static java.lang.annotation.ElementType.METHOD;
10
import static java.lang.annotation.ElementType.FIELD;
11
 
12
/**
13
 * This annotation is used to override mappings of multiple many-to-one
14
 * or one-to-one relationship properties or fields.
15
 *
16
 * @author Emmanuel Bernard
17
 */
18
@Target({TYPE, METHOD, FIELD}) @Retention(RUNTIME)
19
public @interface AssociationOverrides {
20
        /**
21
         * Mapping overrides of relationship properties or fields
22
         */
23
        AssociationOverride[] value();
24
}