Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
33 | PointedEar | 1 | //$Id: DiscriminatorType.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 supported types of the discriminator column |
||
7 | * |
||
8 | * @author Emmanuel Bernard |
||
9 | */ |
||
10 | public enum DiscriminatorType { |
||
11 | /** |
||
12 | * String as the discriminator type |
||
13 | */ |
||
14 | STRING, |
||
15 | /** |
||
16 | * Single character as the discriminator type |
||
17 | */ |
||
18 | CHAR, |
||
19 | /** |
||
20 | * Integer as the discriminator type |
||
21 | */ |
||
22 | INTEGER |
||
23 | }; |