Subversion Repositories WebE

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
33 PointedEar 1
//$Id: InheritanceType.java 11282 2007-03-14 22:05:59Z epbernard $
2
//EJB3 Specification Copyright 2004-2006 Sun Microsystems, Inc.
3
package javax.persistence;
4
 
5
/**
6
 * Defines inheritance strategy options.
7
 *
8
 * @author Emmanuel Bernard
9
 */
10
public enum InheritanceType
11
{
12
        /**
13
         * A single table per class hierarchy
14
         */
15
        SINGLE_TABLE,
16
        /**
17
         * A table per concrete entity class
18
         */
19
        TABLE_PER_CLASS,
20
        /**
21
         * A strategy in which fields that are specific to a subclass are mapped to a separate
22
         * table than the fields that are common to the parent class, and a join is performed
23
         * to instantiate the subclass.
24
         */
25
        JOINED };