Subversion Repositories WebE

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
33 PointedEar 1
//$Id: Embedded.java 11282 2007-03-14 22:05:59Z epbernard $
2
//EJB Specification Copyright 2004 Sun Microsystems, Inc.
3
package javax.persistence;
4
 
5
import java.lang.annotation.Retention;
6
import java.lang.annotation.Target;
7
 
8
import static java.lang.annotation.ElementType.*;
9
import static java.lang.annotation.RetentionPolicy.*;
10
 
11
/**
12
 * Defines a persistent field or property of an entity whose value is an instance of
13
 * an embeddable class. The embeddable class must be annotated as Embeddable.
14
 *
15
 * @author Emmanuel Bernard
16
 */
17
@Target({METHOD, FIELD}) @Retention(RUNTIME)
18
public @interface Embedded {}