Go to most recent revision | Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
33 | PointedEar | 1 | //$Id$ |
2 | package org.hibernate.annotations; |
||
3 | |||
4 | /** |
||
5 | * Represent a discriminator value associated to a given entity type |
||
6 | * @author Emmanuel Bernard |
||
7 | */ |
||
8 | public @interface MetaValue { |
||
9 | /** |
||
10 | * entity type |
||
11 | */ |
||
12 | Class targetEntity(); |
||
13 | |||
14 | /** |
||
15 | * discriminator value stored in database |
||
16 | */ |
||
17 | String value(); |
||
18 | } |