Go to most recent revision | Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
33 | PointedEar | 1 | //$Id: EnumType.java 11282 2007-03-14 22:05:59Z epbernard $ |
2 | package javax.persistence; |
||
3 | |||
4 | /** |
||
5 | * Defines mapping for the enumerated types. The constants of this enumerated type specify how persistent |
||
6 | * property or field should be persisted as a enumerated type. |
||
7 | * |
||
8 | * @author Emmanuel Bernard |
||
9 | */ |
||
10 | public enum EnumType { |
||
11 | /** |
||
12 | * Persist enumerated type property or field as an integer |
||
13 | */ |
||
14 | ORDINAL, |
||
15 | /** |
||
16 | * Persist enumerated type property or field as a string |
||
17 | */ |
||
18 | STRING |
||
19 | } |